Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 57 lines (48 sloc) 1.504 kB
8714844 support .prepare file.
itojun authored
1 TARGET?= netbsd
2
5bd5efb warn if the user simply typed in "make".
itojun authored
3 all:
4 @(echo '**** WARNING: Read through INSTALL and platform/INSTALL, '; \
5 echo ' and follow the steps documented'.; \
6 exit 1)
7
8714844 support .prepare file.
itojun authored
8 prepare::
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored
9 (cd ${.CURDIR}; perl prepare.pl kame ${TARGET})
c8c621c add targets: bsdi3 and bsdi4
itojun authored
10
8806318 add clean target, which nukes symlinks.
itojun authored
11 clean::
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored
12 (cd ${.CURDIR}; find ${TARGET} -type l -print | perl -nle unlink)
8806318 add clean target, which nukes symlinks.
itojun authored
13
c8c621c add targets: bsdi3 and bsdi4
itojun authored
14 # only for developers
15 bsdi3:
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored
16 (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
17
18 bsdi4:
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored
19 (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
20
849878b include past CHANGELOG to update.
itojun authored
21 DOC= CHANGELOG CHANGELOG.1998 CHANGELOG.1997 CHANGELOG.1996 \
22 COPYRIGHT COPYRIGHT.jp IMPLEMENTATION INSTALL \
44ba07d add TODO.new-repository to DOCS
itojun authored
23 INSTALL.anoncvs Makefile PORTABILITY VERSION prepare.pl \
ed6ed2c add README and USAGE into DOCS.
itojun authored
24 TODO.new-repository RELNOTES README USAGE
f76ebe8 add bsdi3 and bsdi4 to platforms
itojun authored
25 PLAT= freebsd2 freebsd3 kame netbsd openbsd bsdi3 bsdi4
273f315 "update", "update-doc" and "update-plat" targets.
itojun authored
26
27 update: update-doc update-plat
28 update-doc:
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored
29 (cd ${.CURDIR}; cvs update -d -P ${DOC})
273f315 "update", "update-doc" and "update-plat" targets.
itojun authored
30 update-plat:
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored
31 (cd ${.CURDIR}; \
8806318 add clean target, which nukes symlinks.
itojun authored
32 for i in kame ${TARGET}; do \
659f88f "make update-plat" will update kame/kame and kame/TARGET.
itojun authored
33 if test -d $$i; then \
34 (cd $$i; cvs update -d -P); \
35 fi \
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored
36 done)
659f88f "make update-plat" will update kame/kame and kame/TARGET.
itojun authored
37 update-all: update-doc
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored
38 (cd ${.CURDIR}; \
8806318 add clean target, which nukes symlinks.
itojun authored
39 for i in ${PLAT}; do \
273f315 "update", "update-doc" and "update-plat" targets.
itojun authored
40 if test -d $$i; then \
41 (cd $$i; cvs update -d -P); \
42 fi \
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored
43 done)
a5f1873 "make tree" which ease the checkout process (as well as tar.gz genera…
itojun authored
44
45 # % cvs co kame/Makefile
46 # % cd kame
47 # % make TARGET=foo tree
48 tree:
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored
49 (cd ${.CURDIR}; \
50 $(MAKE) update-doc; \
a5f1873 "make tree" which ease the checkout process (as well as tar.gz genera…
itojun authored
51 if test $(TARGET) = bsdi3 -o $(TARGET) = bsdi4; then \
52 $(MAKE) $(TARGET); \
53 else \
54 cvs update -d -P $(TARGET); \
d536b60 add "cd .CURDIR" to all cvs operations-what a mess!
itojun authored
55 fi; \
56 cvs update -d -P kame)
Something went wrong with that request. Please try again.