$NetBSD: patch-ap,v 1.2 2000/09/08 18:58:06 jwise Exp $ --- sdr/solaris/Makefile.solaris.orig Mon Mar 13 16:11:46 2000 +++ sdr/solaris/Makefile.solaris Mon Mar 13 16:13:20 2000 @@ -1,7 +1,8 @@ CC = gcc -INCLUDES = -I/usr/openwin/include -I../../tcl-8.0/generic -I../../tk-8.0/generic -I../../common -LIBS = ../../tk-8.0/unix/libtk8.0.a ../../tcl-8.0/unix/libtcl8.0.a ../../common/libcommon.a \ - -L/usr/openwin/lib -lX11 -lm -lnsl -ldl -lsocket -lresolv +INCLUDES = -I${X11BASE}/include -I${LOCALBASE}/include -I${LOCALBASE}/include/tk/generic -I${LOCALBASE}/include/tcl/generic -I../../common +LIBS = -L${LOCALBASE}/lib -ltk83 -ltcl83 ../../common/libcommon.a \ + -lm -L${X11BASE}/lib -lX11 -lz -lnsl -ldl -lsocket -lresolv \ + -Wl,-R${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -CFLAGS = -g -O -Wall -Wno-implicit-int $(INCLUDES) -DSOLARIS -DCANT_MCAST_BIND -DNORANDPROTO -DAUTH -DSYSV -DSolaris +CFLAGS = -g -O -Wall -Wno-implicit-int $(INCLUDES) -DSOLARIS -DCANT_MCAST_BIND -DNORANDPROTO -DAUTH -DSYSV -DSolaris -DHAVE_ZLIB all:: sdr