Skip to content
Newer
Older
100644 64 lines (53 sloc) 1.5 KB
1f8d743 make default TARGET to "bogus" to raise errors on all platforms.
itojun authored Oct 30, 1999
1 TARGET?= bogus
8714844 support .prepare file.
itojun authored Aug 1, 1999
2
c0a2c52 non-developer should use anoncvs.kame.net (need more work for migrati…
itojun authored Feb 14, 2000
3 DEVELOPER= NO
4 .if ${DEVELOPER} == "YES"
5 CVSHOST= cvs.kame.net
6 .else
7 CVSHOST= anoncvs.kame.net
8 .endif
9
5bd5efb warn if the user simply typed in "make".
itojun authored Oct 30, 1999
10 all:
11 @(echo '**** WARNING: Read through INSTALL and platform/INSTALL, '; \
12 echo ' and follow the steps documented'.; \
13 exit 1)
14
8714844 support .prepare file.
itojun authored Aug 1, 1999
15 prepare::
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored Aug 26, 1999
16 (cd ${.CURDIR}; perl prepare.pl kame ${TARGET})
c8c621c add targets: bsdi3 and bsdi4
itojun authored Aug 9, 1999
17
8806318 add clean target, which nukes symlinks.
itojun authored Aug 12, 1999
18 clean::
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored Aug 26, 1999
19 (cd ${.CURDIR}; find ${TARGET} -type l -print | perl -nle unlink)
8806318 add clean target, which nukes symlinks.
itojun authored Aug 12, 1999
20
c8c621c add targets: bsdi3 and bsdi4
itojun authored Aug 9, 1999
21 # only for developers
22 bsdi3:
7f18c74 fix typo (in bsdi3/bsdi4 rule)
itojun authored Dec 21, 1999
23 (cd ${.CURDIR}; set CVSROOT=cvs.kame.net:/cvsroot/kame-local; export CVSROOT; cvs -d cvs.kame.net:/cvsroot/kame-local co -d bsdi3 -P kame/bsdi3)
c8c621c add targets: bsdi3 and bsdi4
itojun authored Aug 9, 1999
24
25 bsdi4:
7f18c74 fix typo (in bsdi3/bsdi4 rule)
itojun authored Dec 21, 1999
26 (cd ${.CURDIR}; set CVSROOT=cvs.kame.net:/cvsroot/kame-local; export CVSROOT; cvs -d cvs.kame.net:/cvsroot/kame-local co -d bsdi4 -P kame/bsdi4)
273f315 "update", "update-doc" and "update-plat" targets.
itojun authored Aug 12, 1999
27
7138d85 add freeebsd4 on PLAT.
sumikawa authored Mar 30, 2000
28 PLAT= freebsd2 freebsd3 freebsd4 kame netbsd openbsd bsdi3 bsdi4
b418f57 share definition of DOCS between top-level Makefile and platform/Make…
itojun authored Jan 2, 2000
29 # DOCS is defined in Makefile.inc
30 TOOLS= Makefile Makefile.inc prepare.pl
273f315 "update", "update-doc" and "update-plat" targets.
itojun authored Aug 12, 1999
31
32 update: update-doc update-plat
33 update-doc:
b418f57 share definition of DOCS between top-level Makefile and platform/Make…
itojun authored Jan 2, 2000
34 (cd ${.CURDIR}; cvs update -d -P ${DOCS} ${TOOLS})
273f315 "update", "update-doc" and "update-plat" targets.
itojun authored Aug 12, 1999
35 update-plat:
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored Aug 26, 1999
36 (cd ${.CURDIR}; \
8806318 add clean target, which nukes symlinks.
itojun authored Aug 12, 1999
37 for i in kame ${TARGET}; do \
659f88f "make update-plat" will update kame/kame and kame/TARGET.
itojun authored Aug 12, 1999
38 if test -d $$i; then \
39 (cd $$i; cvs update -d -P); \
40 fi \
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored Aug 26, 1999
41 done)
659f88f "make update-plat" will update kame/kame and kame/TARGET.
itojun authored Aug 12, 1999
42 update-all: update-doc
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored Aug 26, 1999
43 (cd ${.CURDIR}; \
8806318 add clean target, which nukes symlinks.
itojun authored Aug 12, 1999
44 for i in ${PLAT}; do \
273f315 "update", "update-doc" and "update-plat" targets.
itojun authored Aug 12, 1999
45 if test -d $$i; then \
46 (cd $$i; cvs update -d -P); \
47 fi \
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored Aug 26, 1999
48 done)
a5f1873 "make tree" which ease the checkout process (as well as tar.gz genera…
itojun authored Aug 13, 1999
49
aee47dc top-level "Makefile.inc" is required to be checked out.
itojun authored Jan 2, 2000
50 # % cvs co kame/Makefile kame/Makefile.inc
a5f1873 "make tree" which ease the checkout process (as well as tar.gz genera…
itojun authored Aug 13, 1999
51 # % cd kame
52 # % make TARGET=foo tree
53 tree:
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored Aug 26, 1999
54 (cd ${.CURDIR}; \
55 $(MAKE) update-doc; \
a5f1873 "make tree" which ease the checkout process (as well as tar.gz genera…
itojun authored Aug 13, 1999
56 if test $(TARGET) = bsdi3 -o $(TARGET) = bsdi4; then \
57 $(MAKE) $(TARGET); \
58 else \
59 cvs update -d -P $(TARGET); \
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored Aug 26, 1999
60 fi; \
61 cvs update -d -P kame)
b418f57 share definition of DOCS between top-level Makefile and platform/Make…
itojun authored Jan 2, 2000
62
63 .include "Makefile.inc"
Something went wrong with that request. Please try again.