$NetBSD: patch-ad,v 1.6 2000/08/30 23:53:12 jwise Exp $ --- Makefile.orig Mon Feb 10 08:56:48 1997 +++ Makefile Sun Sep 13 07:56:03 1998 @@ -1,9 +1,9 @@ ################################## # Common Area SHELL = /bin/sh -PREFIX = /usr/local +#PREFIX = /usr/pkg INCLUDE_DIR = -I$(PREFIX)/include -BINDIR= /usr/local/bin +BINDIR= $(PREFIX)/bin noentry: @echo "type 'make clean' followed by 'make SYSTEM' " @@ -44,10 +44,10 @@ netbsd: $(MAKE) \ LIBS='-lm' \ - TKLIBS='-L$(PREFIX)/lib -L/usr/X11/lib -ltk4.2 -ltcl7.6 -lX11' \ - INCLUDES='-I. $(INCLUDE_DIR) -I/usr/X11/include' \ + TKLIBS='-Wl,-R${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -L$(LOCALBASE)/lib -L${X11BASE}/lib -ltk83 -ltcl83 -lX11' \ + INCLUDES='-I. $(INCLUDE_DIR) -I${X11BASE}/include -I${LOCALBASE}/include -I${LOCALBASE}/include' \ SYSDEFS='-g -DSIG_T=int -DMULTICAST -DERROR_TEST' \ - CC=gcc \ + CC='cc -O2'\ all linux: @@ -61,7 +61,7 @@ ############## # common defines -INSTALL=cp +INSTALL=${INSTALL_PROGRAM} VERSION=36a1 EXECS=imm immserv mnm mdpsniff