1998-06-04 04:18:53 +00:00
|
|
|
--- Makefile.orig Wed Jun 3 15:19:51 1998
|
|
|
|
+++ Makefile Wed Jun 3 15:20:59 1998
|
|
|
|
@@ -13,12 +13,12 @@
|
1997-07-15 14:09:19 +00:00
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
# For NEXTSTEP/OPENSTEP:
|
|
|
|
-CFLAGS = -Wall -O2 -traditional-cpp -g
|
|
|
|
+#CFLAGS = -Wall -O2 -traditional-cpp -g
|
1998-06-04 04:18:53 +00:00
|
|
|
INCLUDES = $(MYINCL) $(INCL)
|
1997-07-15 14:09:19 +00:00
|
|
|
# put your architecture here:
|
|
|
|
-ARCH = -arch i386
|
|
|
|
-THE_CC = cc
|
1998-06-04 04:18:53 +00:00
|
|
|
-RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
|
1997-07-15 14:09:19 +00:00
|
|
|
+#ARCH = -arch i386
|
|
|
|
+#THE_CC = cc
|
1998-06-04 04:18:53 +00:00
|
|
|
+#RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
|
1997-07-15 14:09:19 +00:00
|
|
|
|
|
|
|
# For Linux:
|
|
|
|
#CFLAGS = -Wall -O2 -g
|
1998-06-04 04:18:53 +00:00
|
|
|
@@ -26,10 +26,10 @@
|
|
|
|
#RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
|
|
|
|
|
|
|
|
# For FreeBSD
|
|
|
|
-#CFLAGS = -Wall -O2
|
|
|
|
-#INCLUDES = $(MYINCL) $(INCL)
|
|
|
|
-#THE_CC = cc
|
|
|
|
-#RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
|
|
|
|
+CFLAGS += -Wall
|
|
|
|
+INCLUDES = $(MYINCL) $(INCL)
|
1997-07-15 14:09:19 +00:00
|
|
|
+THE_CC = cc
|
1998-06-04 04:18:53 +00:00
|
|
|
+RPC_WARNFLAGS = -Wno-unused -Wno-switch -Wno-uninitialized
|
|
|
|
|
|
|
|
# For NetBsd
|
|
|
|
#CFLAGS = -Wall -O2 -DNETBSD
|
|
|
|
@@ -67,7 +67,7 @@
|
1997-07-15 14:09:19 +00:00
|
|
|
OFILES = proc.o sock.o rumba.o psinode.o kernel.o smb_abstraction.o fo_nfs.o
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
- $(CC) $(CFLAGS) $(ARCH) -c -o $*.o $<
|
|
|
|
+ $(CC) $(CFLAGS) -c -o $*.o $<
|
|
|
|
|
|
|
|
all: $(NAME)
|
|
|
|
|
1998-06-04 04:18:53 +00:00
|
|
|
@@ -75,7 +75,7 @@
|
|
|
|
(cd nfs; $(MAKE) "CFLAGS=$(CFLAGS)" "CC=$(THE_CC)" "ARCH=$(ARCH)" "RPC_WARNFLAGS=$(RPC_WARNFLAGS)")
|
1997-07-15 14:09:19 +00:00
|
|
|
|
|
|
|
$(NAME): $(OFILES) nfs_dir
|
1998-06-04 04:18:53 +00:00
|
|
|
- $(CC) $(ARCH) -o $(NAME) $(OFILES) nfs/nfs.o $(LIBS)
|
|
|
|
+ $(CC) -o $(NAME) $(OFILES) nfs/nfs.o $(LIBS)
|
1997-07-15 14:09:19 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OFILES)
|