summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd/Makefile.UNIX
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1996-01-23 01:35:04 +0000
committerpst <pst@FreeBSD.org>1996-01-23 01:35:04 +0000
commitaccc2aa38fbbf04568a6d3941e897dc34aee7930 (patch)
tree9d4d2f644df6a63fbb148e0952fdf7f3ae9aebf5 /libexec/bootpd/Makefile.UNIX
parent6b42e1664561f04b1d3f497ecd5ccad48fd8c3b4 (diff)
downloadFreeBSD-src-accc2aa38fbbf04568a6d3941e897dc34aee7930.zip
FreeBSD-src-accc2aa38fbbf04568a6d3941e897dc34aee7930.tar.gz
Import bootpd-2.4.3 from ftp.mc.com
Diffstat (limited to 'libexec/bootpd/Makefile.UNIX')
-rw-r--r--libexec/bootpd/Makefile.UNIX33
1 files changed, 26 insertions, 7 deletions
diff --git a/libexec/bootpd/Makefile.UNIX b/libexec/bootpd/Makefile.UNIX
index e333ce5..701eb2b 100644
--- a/libexec/bootpd/Makefile.UNIX
+++ b/libexec/bootpd/Makefile.UNIX
@@ -44,9 +44,7 @@ CFLAGS= $(OPTDEFS) $(SYSDEFS) $(FILEDEFS) $(MOREDEFS)
PROGS= bootpd bootpef bootpgw bootptest
TESTS= trylook trygetif trygetea
-all: $(PROGS)
-
-tests: $(TESTS)
+all: $(PROGS) $(TESTS)
system: install
@@ -76,7 +74,8 @@ distclean:
-rm -f *.BAK *.CKP *~ .emacs*
#
-# Handy targets for individual systems:
+# Handy targets for systems needing special treatment:
+# (Most POSIX systems should work with just "make all")
#
# DEC/OSF1 on the Alpha
@@ -96,9 +95,13 @@ epix211:
SYSDEFS="-DSVR4" \
SYSLIBS="-lsocket -lnsl"
-# Silicon Graphics IRIX (no <sys/sockio.h>, so not SVR4)
+# IRIX 5.X (Silicon Graphics)
irix:
- $(MAKE) SYSDEFS="-DSYSV -DIRIX"
+ $(MAKE) SYSDEFS= SYSLIBS=
+
+# Linux 1.1.80+ on [34]86
+linux:
+ $(MAKE) SYSDEFS="-O6 -Wall -fomit-frame-pointer"
# SunOS 4.X
sunos4:
@@ -110,11 +113,27 @@ sunos5:
$(MAKE) SYSDEFS="-DSVR4 -DETC_ETHERS" \
SYSLIBS="-lsocket -lnsl"
-# UNIX System V Rel. 4 (also: IRIX 5.X, others)
+# Solaris 2.X (i.e. SunOS 5.X) with GCC. Note that GCC normally
+# defines __STDC__=1 which breaks many Solaris header files...
+sunos5gcc:
+ $(MAKE) SYSDEFS="-DSVR4 -DETC_ETHERS -D__STDC__=0" \
+ SYSLIBS="-lsocket -lnsl" CC="gcc -Wall"
+
+# UNIX System V Rel. 3
+svr3:
+ $(MAKE) SYSDEFS="-DSYSV"
+
+# UNIX System V Rel. 4
svr4:
$(MAKE) SYSDEFS="-DSVR4" \
SYSLIBS="-lsocket -lnsl"
+# AT&T/GIS - Both AT&T StarServer and NCR 3000
+# may work for others using Wollongong's WIN-TCP
+wollongong gis :
+ $(MAKE) SYSDEFS="-DSVR4 -DWIN_TCP" \
+ SYSLIBS="-lsocket -lnsl"
+
#
# How to build each program:
#
OpenPOWER on IntegriCloud