Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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