summaryrefslogtreecommitdiffstats
path: root/net/nettest/files/patch-aa
blob: fd16c80ee55a9a149b960427cb514c84b6308e0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
*** Makefile.orig	Thu Nov  5 16:03:14 1992
--- Makefile	Mon Oct 20 12:50:14 1997
***************
*** 3,12 ****
  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`; \
  	else \
  		echo You must specify what machine you are on,;\
  		echo e.g. \"make sun\", \"make cray2\", \"make pyramid\", \"make xmp\";\
--- 3,10 ----
  FILES=README Makefile nettest.h nettest.c nettestd.c nettest.8
  
  all:
! 	@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\";\
***************
*** 32,37 ****
--- 30,41 ----
  		INCLUDE="-I." \
  		DEFINES="-DWAIT3CODE -DNO_ISO" \
  		LIBS="" OPT="-O"
+ 
+ FreeBSD:
+ 	$(MAKE) objs \
+ 		INCLUDE="" \
+ 		DEFINES="-DWAIT3CODE -DBSD44 -DNAMEDPIPES -DNO_ISO" \
+ 		OPT="-O" LIBS="-lcompat"
  
  4.4alpha:
  	$(MAKE) objs \
OpenPOWER on IntegriCloud