2 # Common makefile template for dyninst Tests. This file is not intended to
3 # be a useful Makefile in isolation; instead, it should be included
4 # from within an architecture-specific Makefile.
6 # $Id: make.module.tmpl,v 1.26 2008/02/20 08:31:02 jaw Exp $
11 #BUILD_MARK should be (re-)defined in core/make.config.local rather than here!
13 SRCS += ../$(TARGET).C
15 IFLAGS += -I$(TO_CORE)/dyninstAPI/h
16 IFLAGS += -I$(TO_CORE)/dyninstAPI/src
17 IFLAGS += -I$(TO_CORE)/symtabAPI/h
18 IFLAGS += -I$(TO_CORE)/dynutil/h
19 IFLAGS += -I$(TO_CORE)/commandAPI/h
20 IFLAGS += -I$(TO_CORE)/commandAPI/src
21 IFLAGS += -I$(TO_CORE)/instructionAPI/h
23 CXXFLAGS += $(BASICWARNINGS)
24 CFLAGS += $(BASICWARNINGS)
26 # GCC has a new mangled name squisher (-fsquangle) which can be
27 # set to "on" by default. This causes linker problems, so we
31 CFLAGS += -fno-squangle
32 CXXFLAGS += -fno-squangle
35 LIBS += -ldyninstAPI -lsymtabAPI -lcommon -L$(TO_CORE)/dynCAPI/$(PLATFORM) -ldynCAPI
37 SYSLIBS += -liberty -L$(TCLTK_LIB_DIR) $(TCL_LIB)