2 # $Id: Makefile,v 1.19 2002/06/17 17:04:04 gaburici Exp $
5 # Define any symbols needed to invoke configuration changes in make.config
7 # Include standard make configuration stuff that applies to everything
10 include ../../nmake.config
11 DEFCFLAGS = $(DEFCFLAGS) -MD # ccw 12 july 2001
13 # Now make any necessary architecture specific changes to variables:
15 # we require an uncommon link
17 LDFLAGS = -DLL -debug -pdb:none -export:V_libdyninstAPI /NODEFAULTLIB:libc.lib # ccw 20 june 2001
20 SRCS = ../src/pdwinnt.C \
24 ../src/LocalAlteration.C \
25 ../src/LocalAlteration-x86.C \
26 ../src/FunctionExpansionRecord.C \
29 ../src/InstrucIter-x86.C
39 LocalAlteration-x86.obj \
40 FunctionExpansionRecord.obj \
46 LIBS = imagehlp.lib advapi32.lib
48 CXXFLAGS = $(CXXFLAGS) -DNO_MDL_PRINT -DBPATCH_DLL_BUILD
50 # Include the module-specific Makefile, which defines everything about
51 # the module that is common across architectures.
53 include ../nmake.module.tmpl
55 # Include the "standard library template". This defines all the
56 # common targets like "clean", "install", etc.
58 include ../../nmake.library.tmpl
60 # override target rule to force link to happen
63 $(LD) $(LDFLAGS) -out:$(TARGET) $(VOUCHER).obj $(OBJS) $(LIBS)
66 $(CP) $(TARGET) $(DEST)
67 $(CP) libdyninstAPI.lib $(DEST)