2000-05-23 01:02:39 +00:00
|
|
|
--- Makefile.orig Sat Dec 20 10:57:08 1997
|
|
|
|
+++ Makefile Mon May 22 18:38:56 2000
|
|
|
|
@@ -74,8 +74,9 @@
|
1999-03-23 11:30:35 +00:00
|
|
|
#CC=cc
|
|
|
|
#COPT=-O -DNOT_ANSI_C -DPROTOTYPES=0
|
|
|
|
# for gcc, use
|
|
|
|
-CC=gcc
|
2000-05-23 01:02:39 +00:00
|
|
|
-COPT=-O2 -DPROTOTYPES=1
|
1999-03-23 11:30:35 +00:00
|
|
|
+CC?=gcc
|
|
|
|
+CFLAGS?=-O2
|
2000-05-23 01:02:39 +00:00
|
|
|
+CFLAGS+=-DPROTOTYPES=1
|
1999-03-23 11:30:35 +00:00
|
|
|
|
|
|
|
#1B: paths:
|
2000-05-23 01:02:39 +00:00
|
|
|
#some peple like /usr/local/sbin instead of /usr/local/etc
|
|
|
|
@@ -217,12 +218,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.
|
|
|
|
|