2004-08-23 01:30:18 +02:00
|
|
|
$NetBSD: patch-aa,v 1.3 2004/08/22 23:30:18 jschauma Exp $
|
2003-04-11 19:07:23 +02:00
|
|
|
|
2004-08-23 01:24:56 +02:00
|
|
|
--- Makefile.orig 1992-11-05 17:03:14.000000000 -0500
|
|
|
|
+++ Makefile 2004-08-22 18:59:36.000000000 -0400
|
|
|
|
@@ -3,10 +3,8 @@
|
2003-04-11 19:07:23 +02:00
|
|
|
FILES=README Makefile nettest.h nettest.c nettestd.c nettest.8
|
|
|
|
|
|
|
|
all:
|
|
|
|
- @if [ -f /bin/hostname -o -f /usr/bin/hostname ]; then \
|
|
|
|
- $(MAKE) `hostname`; \
|
|
|
|
- elif [ -f /bin/uname ]; then \
|
|
|
|
- $(MAKE) `uname -n`; \
|
|
|
|
+ @if [ -f /bin/uname -o -f /usr/bin/uname ]; then \
|
|
|
|
+ $(MAKE) `uname -s`; \
|
|
|
|
else \
|
|
|
|
echo You must specify what machine you are on,;\
|
|
|
|
echo e.g. \"make sun\", \"make cray2\", \"make pyramid\", \"make xmp\";\
|
2004-08-23 01:24:56 +02:00
|
|
|
@@ -33,6 +31,24 @@
|
2003-04-11 19:07:23 +02:00
|
|
|
DEFINES="-DWAIT3CODE -DNO_ISO" \
|
|
|
|
LIBS="" OPT="-O"
|
|
|
|
|
2004-08-23 01:24:56 +02:00
|
|
|
+IRIX IRIX64:
|
|
|
|
+ $(MAKE) objs \
|
|
|
|
+ INCLUDE="-I." \
|
2004-08-23 01:30:18 +02:00
|
|
|
+ DEFINES="-DWAIT3CODE -DNONVOID_SETPGRP -DNAMEDPIPES -DNO_ISO" \
|
2004-08-23 01:24:56 +02:00
|
|
|
+ LIBS="" OPT="-O"
|
|
|
|
+
|
|
|
|
+Linux:
|
|
|
|
+ $(MAKE) objs \
|
|
|
|
+ INCLUDE="-I." \
|
|
|
|
+ DEFINES="-DWAIT3CODE -DNAMEDPIPES -DNO_ISO" \
|
|
|
|
+ LIBS="" OPT="-O"
|
|
|
|
+
|
2003-04-11 19:07:23 +02:00
|
|
|
+NetBSD:
|
|
|
|
+ $(MAKE) objs \
|
|
|
|
+ INCLUDE="" \
|
|
|
|
+ DEFINES="-DWAIT3CODE -DBSD44 -DNAMEDPIPES -DNO_ISO -DNONVOID_SETPGRP" \
|
|
|
|
+ OPT="-O" LIBS="-lcompat"
|
|
|
|
+
|
|
|
|
4.4alpha:
|
|
|
|
$(MAKE) objs \
|
|
|
|
INCLUDE="" \
|