Deleted Added
full compact
Makefile (67615) Makefile (72003)
1#
2# Copyright (C) 1993-2000 by Darren Reed.
3#
4# Redistribution and use in source and binary forms are permitted
5# provided that this notice is preserved and due credit is given
6# to the original author and the contributors.
7#
1#
2# Copyright (C) 1993-2000 by Darren Reed.
3#
4# Redistribution and use in source and binary forms are permitted
5# provided that this notice is preserved and due credit is given
6# to the original author and the contributors.
7#
8# $Id: Makefile,v 2.11.2.4 2000/10/19 15:42:56 darrenr Exp $
8# $Id: Makefile,v 2.11.2.6 2000/12/17 12:43:15 darrenr Exp $
9#
10BINDEST=/usr/local/bin
11SBINDEST=/sbin
12MANDIR=/usr/local/man
13#To test prototyping
14CC=gcc -Wstrict-prototypes -Wmissing-prototypes
15#CC=gcc
16#CC=cc -Dconst=

--- 85 unchanged lines hidden (view full) ---

102include:
103 if [ ! -f netinet/done ] ; then \
104 (cd netinet; ln -s ../*.h .; ln -s ../ip_ftp_pxy.c .; ln -s ../ip_rcmd_pxy.c .; ln -s ../ip_raudio_pxy.c .); \
105 (cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); \
106 touch netinet/done; \
107 fi
108
109sunos solaris: include
9#
10BINDEST=/usr/local/bin
11SBINDEST=/sbin
12MANDIR=/usr/local/man
13#To test prototyping
14CC=gcc -Wstrict-prototypes -Wmissing-prototypes
15#CC=gcc
16#CC=cc -Dconst=

--- 85 unchanged lines hidden (view full) ---

102include:
103 if [ ! -f netinet/done ] ; then \
104 (cd netinet; ln -s ../*.h .; ln -s ../ip_ftp_pxy.c .; ln -s ../ip_rcmd_pxy.c .; ln -s ../ip_raudio_pxy.c .); \
105 (cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); \
106 touch netinet/done; \
107 fi
108
109sunos solaris: include
110 ./buildsunos $(MFLAGS)
110 CC="$(CC)" ./buildsunos
111
112freebsd22: include
113 make setup "TARGOS=BSD" "CPUDIR=$(CPUDIR)"
114 -rm -f BSD/$(CPUDIR)/ioconf.h
115 @if [ -n $(IPFILKERN) ] ; then \
116 if [ -f /sys/compile/$(IPFILKERN)/ioconf.h ] ; then \
117 ln -s /sys/compile/$(IPFILKERN)/ioconf.h BSD/$(CPUDIR); \
118 else \

--- 45 unchanged lines hidden (view full) ---

164
165bsdi bsdos: include
166 make setup "TARGOS=BSD" "CPUDIR=$(CPUDIR)"
167 (cd BSD/$(CPUDIR); make build "CC=$(CC)" TOP=../.. $(MFLAGS) LKM= ; cd ..)
168 (cd BSD/$(CPUDIR); make -f Makefile.ipsend "CC=$(CC)" TOP=../.. $(MFLAGS); cd ..)
169
170irix IRIX: include
171 make setup "TARGOS=IRIX" "CPUDIR=$(CPUDIR)"
111
112freebsd22: include
113 make setup "TARGOS=BSD" "CPUDIR=$(CPUDIR)"
114 -rm -f BSD/$(CPUDIR)/ioconf.h
115 @if [ -n $(IPFILKERN) ] ; then \
116 if [ -f /sys/compile/$(IPFILKERN)/ioconf.h ] ; then \
117 ln -s /sys/compile/$(IPFILKERN)/ioconf.h BSD/$(CPUDIR); \
118 else \

--- 45 unchanged lines hidden (view full) ---

164
165bsdi bsdos: include
166 make setup "TARGOS=BSD" "CPUDIR=$(CPUDIR)"
167 (cd BSD/$(CPUDIR); make build "CC=$(CC)" TOP=../.. $(MFLAGS) LKM= ; cd ..)
168 (cd BSD/$(CPUDIR); make -f Makefile.ipsend "CC=$(CC)" TOP=../.. $(MFLAGS); cd ..)
169
170irix IRIX: include
171 make setup "TARGOS=IRIX" "CPUDIR=$(CPUDIR)"
172 -(SMAKE=`which smake >/dev/null 2>&1; if [ $$? -ne 0 ] ; then echo make -f Makefile.std; else echo smake; fi`; cd IRIX/$(CPUDIR); $${SMAKE} build TOP=../.. $(DEST) $(MFLAGS); cd ..)
173 -(SMAKE=`which smake >/dev/null 2>&1; if [ $$? -ne 0 ] ; then echo make -f Makefile.ipsend.std; else echo smake -f Makefile.ipsend; fi`; cd IRIX/$(CPUDIR); $${SMAKE} TOP=../.. $(DEST) $(MFLAGS); cd ..)
172 -(cd IRIX/$(CPUDIR); if [ $(MAKE) = make ] ; then make -f Makefile.std build TOP=../.. $(DEST) $(MFLAGS); else smake build TOP=../.. $(DEST) $(MFLAGS); fi;)
173 -(cd IRIX/$(CPUDIR); if [ $(MAKE) = make ] ; then make -f Makefile.ipsend.std TOP=../.. $(DEST) $(MFLAGS); else smake -f Makefile.ipsend TOP=../.. $(DEST) $(MFLAGS); fi)
174
175linux: include
176 make setup "TARGOS=Linux" "CPUDIR=$(CPUDIR)"
177 ./buildlinux
178
179linuxrev:
180 (cd Linux/$(CPUDIR); make build TOP=../.. $(DEST) $(MFLAGS) LKM= ; cd ..)
181 (cd Linux/$(CPUDIR); make -f Makefile.ipsend TOP=../.. $(DEST) $(MFLAGS); cd ..)

--- 104 unchanged lines hidden ---
174
175linux: include
176 make setup "TARGOS=Linux" "CPUDIR=$(CPUDIR)"
177 ./buildlinux
178
179linuxrev:
180 (cd Linux/$(CPUDIR); make build TOP=../.. $(DEST) $(MFLAGS) LKM= ; cd ..)
181 (cd Linux/$(CPUDIR); make -f Makefile.ipsend TOP=../.. $(DEST) $(MFLAGS); cd ..)

--- 104 unchanged lines hidden ---