Subversion Repositories shark

Rev

Rev 364 | 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
 
12
INCL += -I./include
13
 
14
OBJS_PATH     = $(BASE)/tracer
15
 
16
# Object files
17
 
18
ifeq ($(findstring NEW,$(TRACER)) , NEW)
497 giacomo 19
OBJS =  newtrace/FTrace.o newtrace/FTrace_OSD.c newtrace/FTrace_OSD_ll.o
352 giacomo 20
CFG_OPT += -D__NEW_TRACER__
21
endif
22
ifeq ($(findstring OLD,$(TRACER)) , OLD)
23
OBJS = oldtrace/oldtrace.o oldtrace/trccirc.o oldtrace/trcdfix.o \
24
	oldtrace/trcudp.o oldtrace/trcfixed.o oldtrace/trcdummy.o oldtrace/ctable.o
25
CFG_OPT += -D__OLD_TRACER__
26
endif
27
 
28
ifneq ($(findstring NO,$(TRACER)) , NO)
29
include $(BASE)/config/lib.mk
30
endif
31
 
32
install all clean cleanall depend::
33