Subversion Repositories shark

Rev

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

Rev Author Line No. Line
352 giacomo 1
# The Tracer Library
2
 
3
ifndef BASE
4
BASE=..
5
endif
6
 
7
include $(BASE)/config/config.mk
8
include $(BASE)/shark.cfg
9
 
10
LIBRARY       = tracer
11
 
637 giacomo 12
INCL += -I./include -I$(BASE)/drivers/net/include
352 giacomo 13
 
14
OBJS_PATH     = $(BASE)/tracer
15
 
16
# Object files
17
 
18
ifeq ($(findstring NEW,$(TRACER)) , NEW)
550 giacomo 19
OBJS =  newtrace/FTrace.o newtrace/FTrace_OSD.o newtrace/FTrace_OSD_ll.o\
1027 tullio 20
	newtrace/FTrace_udp.o newtrace/FTrace_disk.o
352 giacomo 21
CFG_OPT += -D__NEW_TRACER__
22
endif
23
ifeq ($(findstring OLD,$(TRACER)) , OLD)
24
OBJS = oldtrace/oldtrace.o oldtrace/trccirc.o oldtrace/trcdfix.o \
25
	oldtrace/trcudp.o oldtrace/trcfixed.o oldtrace/trcdummy.o oldtrace/ctable.o
26
CFG_OPT += -D__OLD_TRACER__
27
endif
28
 
29
ifneq ($(findstring NO,$(TRACER)) , NO)
30
include $(BASE)/config/lib.mk
31
endif
32
 
33
install all clean cleanall depend::
34