1999-03-23 11:30:35 +00:00
|
|
|
--- Makefile.orig Wed Dec 25 15:43:50 1996
|
|
|
|
+++ Makefile Mon Mar 22 23:12:48 1999
|
|
|
|
@@ -71,8 +71,9 @@
|
|
|
|
#CC=cc
|
|
|
|
#COPT=-O -DNOT_ANSI_C -DPROTOTYPES=0
|
|
|
|
# for gcc, use
|
|
|
|
-CC=gcc
|
|
|
|
-COPT=-O2 -DPROTOTYPES=1 -DNOTDEF
|
|
|
|
+CC?=gcc
|
|
|
|
+CFLAGS?=-O2
|
|
|
|
+CFLAGS+=-DPROTOTYPES=1 -DNOTDEF
|
|
|
|
|
|
|
|
#1B: paths:
|
|
|
|
BINDIR=/usr/local/bin
|
|
|
|
@@ -193,12 +194,18 @@
|
1997-07-30 22:10:23 +00:00
|
|
|
## not sure what to do for NeXT. I think this works:
|
|
|
|
#CFLAGS=$(COPT) -posix -D_BSD -DANYPORT -I$(RINCLUDES)
|
|
|
|
|
|
|
|
+## use these for FreeBSD
|
1999-03-23 11:30:35 +00:00
|
|
|
+CFLAGS+=-DBSD44 -DANYPORT -DSHORTLINKS
|
1997-07-30 22:10:23 +00:00
|
|
|
+LIBS=-lrpcsvc
|
|
|
|
+COMPAT=-lcompat
|
|
|
|
+RPCOPTS=
|
|
|
|
+
|
|
|
|
|
|
|
|
#==========================================================================
|
|
|
|
# (3/3) CONFIGURE: one last thing
|
|
|
|
#==========================================================================
|
|
|
|
# finally, comment out the next line:
|
|
|
|
-CC=you_forgot_to_edit_the_makefile
|
|
|
|
+#CC=you_forgot_to_edit_the_makefile
|
|
|
|
|
|
|
|
# now you're done with local configuration.
|
|
|
|
|