Subversion Repositories shark

Rev

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

#
# util_linux -> compiles the tracer utilities under Linux
#

ifndef BASE
BASE=../../..
endif

.PHONY: util_dos util_linux clean

all:
        @echo Targets: util_dos util_linux clean
        @echo Note: udpdump is available only under linux

util_linux: udpdump list isolation

udpdump: udpdump.c
        gcc -Wimplicit-function-declaration -Wall -ggdb\
        -I$(BASE)/include/trace -I$(BASE)/oslib udpdump.c -o udpdump

list: list.c
        gcc -Wimplicit-function-declaration -Wall -ggdb\
        -I$(BASE)/include/trace -I$(BASE)/oslib list.c -o list

isolation: isolation.c
        gcc -Wimplicit-function-declaration -Wall -ggdb\
        -I$(BASE)/include/trace -I$(BASE)/oslib isolation.c -o isolation

clean:
        rm -rf *.o udpdump list isolation