File: Makefile

package info (click to toggle)
maradns 1.2.12.04-1etch2
  • links: PTS
  • area: main
  • in suites: etch
  • size: 6,676 kB
  • ctags: 2,176
  • sloc: ansic: 26,137; sh: 3,657; perl: 703; makefile: 622; python: 593; sql: 106; awk: 11
file content (57 lines) | stat: -rw-r--r-- 1,707 bytes parent folder | download | duplicates (7)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
JOBJS=../libs/JsStr.o ../libs/JsStrOS.o ../libs/JsStrCP.o 
MHOBJS=../libs/MaraHash.o
DOBJECTS=../dns/Queries.o ../dns/Compress.o ../dns/bobbit.o \
         ../dns/Decompress.o ../server/timestamp.o
POBJECTS=../parse/ParseMaraRc.o ../parse/ParseCsv1.o ../parse/ParseIpAcl.o
ROBJECTS=../rng/rng-alg-fst.o ../rng/rng-api-fst.o
OBJECTS=$(JOBJS) $(MHOBJS) $(DOBJECTS) $(POBJECTS)
EXECS=rtest csv1test compress.test show.charnum ipacltest rngtest cst \
      timestamp compress_new.test test_zoneserver test_getzone duende-test 

FLAGS = -g $(DEBUG)
#FLAGS = -g $(DEBUG)

all: $(EXECS)

clean:
	rm -f core $(EXECS) 

libs/tests:
	cd libs ; make

duende-test: duende-test.c
	$(CC) $(FLAGS) -o duende-test duende-test.c -lpthread

rngtest: rngtest.c $(ROBJECTS)
	$(CC) $(FLAGS) -o rngtest rngtest.c $(ROBJECTS)

rtest: rtest.c $(OBJECTS)
	$(CC) $(FLAGS) -o rtest rtest.c $(OBJECTS)

csv1test: csv1test.c $(OBJECTS) 
	$(CC) $(FLAGS) -o csv1test csv1test.c $(OBJECTS)

compress.test: compress.test.c $(OBJECTS)
	$(CC) $(FLAGS) -o compress.test compress.test.c $(OBJECTS)

compress_new.test: compress_new.test.c $(OBJECTS)
	$(CC) $(FLAGS) -o compress_new.test compress_new.test.c $(OBJECTS)

show.charnum: show.charnum.c 
	$(CC) $(FLAGS) -o show.charnum show.charnum.c 

ipacltest: ipacltest.c $(OBJECTS)
	$(CC) $(FLAGS) -o ipacltest ipacltest.c $(OBJECTS)

cst: cst.c $(OBJECTS)
	$(CC) $(FLAGS) -o cst cst.c $(OBJECTS)

timestamp: timestamp.c $(OBJECTS)
	$(CC) $(FLAGS) -o timestamp timestamp.c $(OBJECTS)

test_zoneserver: test_zoneserver.c $(OBJECTS)
	$(CC) $(FLAGS) -o test_zoneserver test_zoneserver.c $(OBJECTS)

test_getzone: test_getzone.c $(OBJECTS)
	$(CC) $(FLAGS) -o test_getzone test_getzone.c $(OBJECTS)