Subversion Repositories shark

Rev

Rev 1296 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1294 giacomo 1
#
2
# util_linux -> compiles the tracer utilities under Linux
3
#
4
 
5
ifndef BASE
6
BASE=../../..
7
endif
8
 
9
.PHONY: util_dos util_linux clean
10
 
11
all:
12
	@echo Targets: util_dos util_linux clean
13
	@echo Note: udpdump is available only under linux
14
 
1301 giacomo 15
util_linux: udpdump list isolation
1294 giacomo 16
 
17
udpdump: udpdump.c
18
	gcc -Wimplicit-function-declaration -Wall -ggdb\
19
	-I$(BASE)/include/trace -I$(BASE)/oslib udpdump.c -o udpdump
20
 
1296 giacomo 21
list: list.c
22
	gcc -Wimplicit-function-declaration -Wall -ggdb\
23
        -I$(BASE)/include/trace -I$(BASE)/oslib list.c -o list
24
 
1301 giacomo 25
isolation: isolation.c
26
	gcc -Wimplicit-function-declaration -Wall -ggdb\
27
	-I$(BASE)/include/trace -I$(BASE)/oslib isolation.c -o isolation
28
 
1294 giacomo 29
clean:
1301 giacomo 30
	rm -rf *.o udpdump list isolation
1294 giacomo 31
 
32