--- 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