source: trunk/lib/Makefile

Last change on this file was 18729, checked in by westram, 3 years ago
  • eliminate trailing whitespace from Makefiles.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 982 bytes
Line 
1help.make:
2        @echo   'options'
3        @echo   '       nameserver              create nameserver from template'
4        @echo   '       tcpdat                  create arb_tcp.dat from template'
5        @echo   ''
6        @echo   '   all             all above'
7        @echo   '   clean           cleanup'
8
9all: tcpdat nameserver
10
11# ----------------------------------------
12# READ THIS!
13#
14# Please be very careful here to NOT
15# touch the following files/directories if
16# they are links:
17#
18#       ./arb_tcp.dat
19#       ./nas
20#       ./pts
21#
22# ----------------------------------------
23
24tcpdat:
25        (       (test -e arb_tcp.dat || test -h arb_tcp.dat) \
26                && echo "lib/arb_tcp.dat is a link - skipped" ) \
27                || cp -p arb_tcp_org.dat arb_tcp.dat
28
29nameserver:
30        ( test -h nas && echo "lib/nas is a link - skipped" ) || (cd nas;$(MAKE) all)
31
32clean:
33        rm -f *.so
34        ( test -h nas && echo "lib/nas is a link - skipped" ) || (cd nas;$(MAKE) clean)
35        ( test -h pts && echo "lib/pts is a link - skipped" ) || rm -rf pts
36        ( test -h arb_tcp.dat && echo "lib/arb_tcp.dat is a link - skipped" ) || rm -f arb_tcp.dat
Note: See TracBrowser for help on using the repository browser.