File: Makefile

package info (click to toggle)
arb 6.0.6-8
  • links: PTS, VCS
  • area: non-free
  • in suites: sid, trixie
  • size: 66,204 kB
  • sloc: ansic: 394,911; cpp: 250,290; makefile: 19,644; sh: 15,879; perl: 10,473; fortran: 6,019; ruby: 683; xml: 503; python: 53; awk: 32
file content (36 lines) | stat: -rw-r--r-- 984 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
help.make:
	@echo	'options'
	@echo	'	nameserver		create nameserver from template'
	@echo	'	tcpdat			create arb_tcp.dat from template'
	@echo	''
	@echo	'   all             all above'
	@echo	'   clean           cleanup'

all: tcpdat nameserver

# ----------------------------------------
# READ THIS!
# 
# Please be very careful here to NOT
# touch the following files/directories if
# they are links:
# 
#	./arb_tcp.dat
#	./nas
#	./pts
#
# ----------------------------------------

tcpdat:
	(	(test -e arb_tcp.dat || test -h arb_tcp.dat) \
		&& echo "lib/arb_tcp.dat is a link - skipped" ) \
		|| cp -p arb_tcp_org.dat arb_tcp.dat

nameserver:
	( test -h nas && echo "lib/nas is a link - skipped" ) || (cd nas;$(MAKE) all)

clean:
	rm -f *.so
	( test -h nas && echo "lib/nas is a link - skipped" ) || (cd nas;$(MAKE) clean)
	( test -h pts && echo "lib/pts is a link - skipped" ) || rm -rf pts
	( test -h arb_tcp.dat && echo "lib/arb_tcp.dat is a link - skipped" ) || rm -f arb_tcp.dat