125ee62429
dependencies.
85 lines
3 KiB
Text
85 lines
3 KiB
Text
$NetBSD: patch-aa,v 1.2 2004/04/14 15:09:11 ben Exp $
|
|
|
|
--- Makefile.orig 1997-05-19 14:03:59.000000000 -0700
|
|
+++ Makefile
|
|
@@ -157,8 +157,8 @@ PROJECTMINORRELEASE = 01
|
|
STD_CPP_DEFINES =
|
|
|
|
STD_INCLUDES = -I$(LOCALINCLUDEROOT)
|
|
- STD_DEFINES = -Dsun -DSVR4
|
|
- STD_LDLIBS = -lsocket -lnsl -lw
|
|
+ STD_DEFINES =
|
|
+ STD_LDLIBS =
|
|
STD_LDFLAGS = -L$(LOCALUSRLIBDIR)
|
|
|
|
# Project-specific include file directories, defines, etc.
|
|
@@ -170,7 +170,7 @@ PROJECTMINORRELEASE = 01
|
|
|
|
LOADERLIBPREFIX =
|
|
CDEBUGFLAGS = -O
|
|
- CCOPTIONS = -Xc
|
|
+ CCOPTIONS =
|
|
|
|
ALLINCLUDES = $(INCLUDES) $(PROJECT_INCLUDES) $(STD_INCLUDES)
|
|
ALLDEFINES = $(STD_DEFINES) $(PROJECT_DEFINES) $(DEFINES)
|
|
@@ -282,11 +282,11 @@ INSTUGIDPROGFLAGS = $(INSTCOPY) $(INSTOW
|
|
|
|
DEFINES = \
|
|
-DHAS_SYSCONF=1 \
|
|
- -DHAS_FLOCK=0 \
|
|
+ -DHAS_FLOCK=1 \
|
|
-DHAS_FCNTL=1 \
|
|
- -DHAS_SYS_DIR_H=0 \
|
|
+ -DHAS_SYS_DIR_H=1 \
|
|
-DHAS_DIRENT_H=1 \
|
|
- -DHAS_BCOPY=0
|
|
+ -DHAS_BCOPY=1
|
|
|
|
LIBSRCS = ato.c dir.c fd.c lock.c mem.c $(STRSRCS)
|
|
LIBOBJS = ato.o dir.o fd.o lock.o mem.o $(STROBJS)
|
|
@@ -474,7 +474,8 @@ all:: porttest
|
|
porttest:: porttest.sh
|
|
$(RM) $@
|
|
echo "#!"$(SHELL) > $@
|
|
- $(MSUB) porttest.sh >> $@
|
|
+ $(CAT) porttest.sh >> $@
|
|
+# $(MSUB) porttest.sh >> $@
|
|
$(CHMOD) a+x $@
|
|
|
|
clean::
|
|
@@ -600,26 +601,12 @@ Makefiles::
|
|
|
|
# DO NOT DELETE
|
|
|
|
-ato.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h
|
|
-ato.o: /usr/include/math.h /usr/include/floatingpoint.h
|
|
-ato.o: /usr/include/sys/ieeefp.h
|
|
-dir.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h
|
|
-dir.o: /usr/include/sys/types.h /usr/include/sys/isa_defs.h
|
|
-dir.o: /usr/include/sys/machtypes.h /usr/include/sys/select.h
|
|
-dir.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/dirent.h
|
|
-dir.o: /usr/include/sys/dirent.h portlib.h
|
|
-fd.o: portlib.h /usr/include/unistd.h /usr/include/sys/feature_tests.h
|
|
-fd.o: /usr/include/sys/types.h /usr/include/sys/isa_defs.h
|
|
-fd.o: /usr/include/sys/machtypes.h /usr/include/sys/select.h
|
|
-fd.o: /usr/include/sys/time.h /usr/include/time.h /usr/include/sys/unistd.h
|
|
-lock.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h
|
|
-lock.o: /usr/include/fcntl.h /usr/include/sys/types.h
|
|
-lock.o: /usr/include/sys/isa_defs.h /usr/include/sys/machtypes.h
|
|
-lock.o: /usr/include/sys/select.h /usr/include/sys/time.h /usr/include/time.h
|
|
-lock.o: /usr/include/sys/fcntl.h portlib.h
|
|
-mem.o: portlib.h /usr/include/string.h /usr/include/sys/feature_tests.h
|
|
-atotest.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h portlib.h
|
|
-dirtest.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h portlib.h
|
|
-fdtest.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h portlib.h
|
|
-locktest.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h portlib.h
|
|
-memtest.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h portlib.h
|
|
+dir.o: portlib.h
|
|
+fd.o: portlib.h
|
|
+lock.o: portlib.h
|
|
+mem.o: portlib.h
|
|
+atotest.o: portlib.h
|
|
+dirtest.o: portlib.h
|
|
+fdtest.o: portlib.h
|
|
+locktest.o: portlib.h
|
|
+memtest.o: portlib.h
|