Files
ports/graphics/xmorph/files/patch-aa
T
1996-11-15 13:28:09 +00:00

62 lines
1.5 KiB
Plaintext

--- Makefile.orig Wed Oct 2 11:28:18 1996
+++ Makefile Thu Nov 7 15:26:58 1996
@@ -64,12 +64,12 @@
# You must use an ANSI C compiler.
#
-CC=ucbcc
-CC=apcc -DANSI
-CC=gcc -W -Wunused -Wuninitialized -Wshadow -DANSI
-CC=gcc -DANSI
-CC=cc
-CC=cc -DANSI -fullwarn
+#CC=ucbcc
+#CC=apcc -DANSI
+#CC=gcc -W -Wunused -Wuninitialized -Wshadow -DANSI
+#CC=gcc -DANSI
+#CC=cc
+#CC=cc -DANSI -fullwarn
##
@@ -89,10 +89,10 @@
#
#CFLAGS=-g +Ns4000
-CFLAGS=-O
-CFLAGS=-g -O -I/usr/openwin/include -DSUNOS
-CFLAGS=-g -O -I/usr/openwin/include
-CFLAGS=-g
+CFLAGS+=-O -I/usr/X11R6/include
+#CFLAGS=-g -O -I/usr/openwin/include -DSUNOS
+#CFLAGS=-g -O -I/usr/openwin/include
+#CFLAGS=-g
##
@@ -117,9 +117,9 @@
#
# SOLARIS: To link to openwin libraries, add -L/usr/openwin/lib
#
-LIBS=-L/usr/openwin/lib -lXaw -lXmu -lXext -lXt -lX11 -lm /usr/lib/debug/malloc.o
-LIBS=-L/usr/openwin/lib -lXaw -lXmu -lXext -lXt -lX11 -lm
-LIBS=-lXaw -lXmu -lXext -lXt -lX11 -lm
+#LIBS=-L/usr/openwin/lib -lXaw -lXmu -lXext -lXt -lX11 -lm /usr/lib/debug/malloc.o
+#LIBS=-L/usr/openwin/lib -lXaw -lXmu -lXext -lXt -lX11 -lm
+LIBS=-L/usr/X11R6/lib -lXaw -lXmu -lXext -lXt -lX11 -lm
#### ===========================
@@ -180,6 +180,11 @@
*.[ch] *.xbm xmorph.man warp.param
all: xmorph
+
+install:
+ install -cs xmorph ${PREFIX}/bin
+ install -c -m 644 xmorph.man ${PREFIX}/man/man1/xmorph.1
+ gzip -9nf ${PREFIX}/man/man1/xmorph.1
xmorph: $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)