mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-22 14:10:39 +01:00
$(TOPDIR), make: Add support for mpatrol
This commit is contained in:
parent
1397d1ae52
commit
3b5bbad650
4 changed files with 9 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -4,6 +4,7 @@ MODDIR=.
|
||||||
SUBDIRS = inst/pre \
|
SUBDIRS = inst/pre \
|
||||||
make \
|
make \
|
||||||
doc \
|
doc \
|
||||||
|
contrib \
|
||||||
debug misc slog platform \
|
debug misc slog platform \
|
||||||
devutil \
|
devutil \
|
||||||
hash \
|
hash \
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@ COMPILE_DEBUG_CODE = true
|
||||||
USE_DMALLOC = true
|
USE_DMALLOC = true
|
||||||
#USE_MEMWATCH = true
|
#USE_MEMWATCH = true
|
||||||
#USE_EFENCE = true
|
#USE_EFENCE = true
|
||||||
|
USE_MPATROL = true
|
||||||
USE_COMPILER_DEBUG_OPTS = true
|
USE_COMPILER_DEBUG_OPTS = true
|
||||||
#USE_COMPILER_OPTIMIZATION = true
|
#USE_COMPILER_OPTIMIZATION = true
|
||||||
USE_TRACING = true
|
USE_TRACING = true
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@ LIBTYPE = shared
|
||||||
#USE_DMALLOC = true
|
#USE_DMALLOC = true
|
||||||
#USE_MEMWATCH = true
|
#USE_MEMWATCH = true
|
||||||
#USE_EFENCE = true
|
#USE_EFENCE = true
|
||||||
|
#USE_MPATROL = true
|
||||||
#USE_COMPILER_DEBUG_OPTS = true
|
#USE_COMPILER_DEBUG_OPTS = true
|
||||||
#USE_COMPILER_OPTIMIZATION = true
|
#USE_COMPILER_OPTIMIZATION = true
|
||||||
#USE_TRACING = true
|
#USE_TRACING = true
|
||||||
|
|
|
||||||
|
|
@ -182,6 +182,12 @@ CPPFLAGS += -fprofile-arcs -ftest-coverage
|
||||||
LDFLAGS += -fprofile-arcs -ftest-coverage
|
LDFLAGS += -fprofile-arcs -ftest-coverage
|
||||||
endif
|
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)
|
ifeq ($(USE_TIMER),true)
|
||||||
CFLAGS += -D_USE_TIMER_
|
CFLAGS += -D_USE_TIMER_
|
||||||
CPPFLAGS += -D_USE_TIMER_
|
CPPFLAGS += -D_USE_TIMER_
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue