2000-01-24 01:35:42 +00:00
|
|
|
--- Makefile.orig Mon Jan 17 13:33:15 2000
|
|
|
|
+++ Makefile Mon Jan 17 13:36:11 2000
|
|
|
|
@@ -8,27 +8,27 @@
|
1999-09-30 03:42:43 +00:00
|
|
|
###################
|
|
|
|
|
|
|
|
# change this to your favorite ANSI C compiler
|
|
|
|
-CC = gcc
|
|
|
|
+CC? = gcc
|
1998-01-25 22:29:34 +00:00
|
|
|
|
|
|
|
# change this to the directory where you want the xtris binaries installed
|
|
|
|
-BINDIR = /usr/local/bin
|
|
|
|
+BINDIR = ${PREFIX}/bin
|
|
|
|
|
|
|
|
# change this to the directory where you want the xtris manpages installed
|
|
|
|
-MANDIR = /usr/local/man
|
|
|
|
+MANDIR = ${PREFIX}/man
|
|
|
|
|
|
|
|
# change according to taste and local custom...
|
2000-01-24 01:35:42 +00:00
|
|
|
-CFLAGS = -O3 -D__USE_FIXED_PROTOTYPES__ $(IPV6_CFLAGS) $(XCFLAGS)
|
|
|
|
+CFLAGS += -D__USE_FIXED_PROTOTYPES__ $(IPV6_CFLAGS) $(XCFLAGS)
|
1998-01-25 22:29:34 +00:00
|
|
|
|
|
|
|
# on Solaris and similar systems, you'll need to uncomment this:
|
2000-01-24 01:35:42 +00:00
|
|
|
EXTRALIBS = $(IPV6_LDFLAGS) #-lnsl -lsocket
|
1998-01-25 22:29:34 +00:00
|
|
|
|
2000-01-24 01:35:42 +00:00
|
|
|
# specify X11 cflags and libdir if your system needs it
|
|
|
|
-XCFLAGS = #-I/usr/X11/include
|
|
|
|
-XLIBDIR = #-L/usr/X11/lib
|
|
|
|
+XCFLAGS = -I${PREFIX}/include
|
1998-01-25 22:29:34 +00:00
|
|
|
+XLIBDIR = -L${PREFIX}/lib
|
|
|
|
|
2000-01-24 01:35:42 +00:00
|
|
|
# IPv6 Settings
|
|
|
|
-IPV6_CFLAGS = #-DINET6 #-I/usr/inet6/include
|
|
|
|
-IPV6_LDFLAGS = #-L/usr/local/v6/lib -linet6
|
|
|
|
+#IPV6_CFLAGS = #-DINET6 #-I/usr/inet6/include
|
|
|
|
+#IPV6_LDFLAGS = #-L/usr/local/v6/lib -linet6
|
1998-01-25 22:29:34 +00:00
|
|
|
|
|
|
|
###########################################################################
|
2000-01-24 01:35:42 +00:00
|
|
|
## You shouldn't need to change anything past this. ##
|