Rev 364 | Blame | Compare with Previous | Last modification | View Log | RSS feed
# The Tracer Library
ifndef BASE
BASE=..
endif
include $(BASE)/config/config.mk
include $(BASE)/shark.cfg
LIBRARY = tracer
INCL += -I./include
OBJS_PATH = $(BASE)/tracer
# Object files
ifeq ($(findstring NEW,$(TRACER)) , NEW)
OBJS = newtrace/FTrace.o newtrace/FTrace_OSD.c newtrace/FTrace_OSD_ll.o
CFG_OPT += -D__NEW_TRACER__
endif
ifeq ($(findstring OLD,$(TRACER)) , OLD)
OBJS = oldtrace/oldtrace.o oldtrace/trccirc.o oldtrace/trcdfix.o \
oldtrace/trcudp.o oldtrace/trcfixed.o oldtrace/trcdummy.o oldtrace/ctable.o
CFG_OPT += -D__OLD_TRACER__
endif
ifneq ($(findstring NO,$(TRACER)) , NO)
include $(BASE)/config/lib.mk
endif
install all clean cleanall depend::