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 # $Log: make.module.tmpl,v $
7 # Revision 1.1 1997/03/18 19:44:52 buck
8 # first commit of dyninst library. Also includes:
9 # moving templates from paradynd to dyninstAPI
10 # converting showError into a function (in showerror.C)
11 # many ifdefs for BPATCH_LIBRARY in dyinstAPI/src.
17 TARGET2 = test1.mutatee
21 SRCS += ../src/test1.C
23 APP_DIR = '"$(PARADYN_ROOT)/bin/$(PLATFORM)"'
25 CXXFLAGS += -I../../h -DTEST_APP_DIR=$(APP_DIR)
26 CFLAGS += -I../../h -DTEST_APP_DIR=$(APP_DIR)
27 #LDFLAGS += -static $(TO_CORE)/../lib/$(PLATFORM)/libdyninstAPI_RT.o
29 LIBS += -ldyninstAPI -lpdutil -liberty
31 all: $(TARGET) $(TARGET2)