aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/sendip/files/patch-Makefile
blob: a3a0a455f5e153de910e2df5096e8ba7af8514ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- Makefile.orig	Tue Jan 28 13:03:48 2003
+++ Makefile	Tue Jan 28 13:04:35 2003
@@ -1,23 +1,23 @@
 #configureable stuff
-PREFIX ?= /usr/local
-BINDIR ?= $(PREFIX)/bin
-MANDIR ?= $(PREFIX)/share/man/man1
-LIBDIR ?= $(PREFIX)/lib/sendip
+#PREFIX ?= /usr/local
+BINDIR=${PREFIX}/bin
+MANDIR=${PREFIX}/man/man1
+LIBDIR=${PREFIX}/lib/sendip
 #For most systems, this works
-INSTALL ?= install
+INSTALL?=install
 #For Solaris, you may need
 #INSTALL=/usr/ucb/install
 
 CFLAGS=	-fPIC -fsigned-char -pipe -Wall -Wpointer-arith -Wwrite-strings \
 			-Wstrict-prototypes -Wnested-externs -Winline -Werror -g -Wcast-align \
-			-DSENDIP_LIBS=\"$(LIBDIR)\"
+			-DSENDIP_LIBS=\"${LIBDIR}\"
 #-Wcast-align causes problems on solaris, but not serious ones
 LDFLAGS=	-g -rdynamic -lm
 #LDFLAGS_SOLARIS= -g -lsocket -lnsl -lm
 LDFLAGS_SOLARIS= -g -lsocket -lnsl -lm -ldl
 LDFLAGS_LINUX= -g  -rdynamic -ldl -lm
 LIBCFLAGS= -shared
-CC=	gcc
+#CC=	gcc
 
 PROGS= sendip
 BASEPROTOS= ipv4.so ipv6.so