$(TOPDIR), make: Add support for mpatrol

This commit is contained in:
Jan Lindemann 2002-10-06 15:48:05 +00:00 committed by Jan Lindemann
commit 3b5bbad650
4 changed files with 9 additions and 0 deletions

View file

@ -4,6 +4,7 @@ MODDIR=.
SUBDIRS = inst/pre \
make \
doc \
contrib \
debug misc slog platform \
devutil \
hash \

View file

@ -50,6 +50,7 @@ COMPILE_DEBUG_CODE = true
USE_DMALLOC = true
#USE_MEMWATCH = true
#USE_EFENCE = true
USE_MPATROL = true
USE_COMPILER_DEBUG_OPTS = true
#USE_COMPILER_OPTIMIZATION = true
USE_TRACING = true

View file

@ -48,6 +48,7 @@ LIBTYPE = shared
#USE_DMALLOC = true
#USE_MEMWATCH = true
#USE_EFENCE = true
#USE_MPATROL = true
#USE_COMPILER_DEBUG_OPTS = true
#USE_COMPILER_OPTIMIZATION = true
#USE_TRACING = true

View file

@ -182,6 +182,12 @@ CPPFLAGS += -fprofile-arcs -ftest-coverage
LDFLAGS += -fprofile-arcs -ftest-coverage
endif
ifeq ($(USE_MPATROL),true)
PROJECT_CFLAGS += -include $(MODDIR)/include/mpatrol.h
#PROJECT_CPPFLAGS += -include $(MODDIR)/include/mpatrol.h
PROJECT_LDFLAGS += -lmpatrolmt
endif
ifeq ($(USE_TIMER),true)
CFLAGS += -D_USE_TIMER_
CPPFLAGS += -D_USE_TIMER_