This commit enables arbitrary instrumentation points at the last instruction
[dyninst.git] / dyninstAPI / nmake.module.tmpl
1 #
2 # Common makefile template for dyninstAPI library.  This file is not
3 # intended to be a useful Makefile in isolation; instead, it should be
4 # included from within an architecture-specific Makefile.
5 #
6 # $Id: nmake.module.tmpl,v 1.26 2003/03/02 22:03:18 schendel Exp $
7 #
8
9 SUITE_NAME      = Dyninst
10 RELEASE_NUM     = 3.0
11 #BUILD_MARK should be (re-)defined in core/make.config.local rather than here!
12
13 TARGET = libdyninstAPI.dll
14
15 # building as a DLL is not the common case
16 UNCOMMON_LINK           = true
17 UNCOMMON_INSTALL        = true
18
19
20
21 DEFINES      = -DBPATCH_LIBRARY -DBPATCH_SET_MUTATIONS_ACTIVE -DBPATCH_LIBRARY_F -DNEW_TIME_TYPES
22 CFLAGS       = $(CFLAGS) $(DEFINES)
23 CXXFLAGS     = $(CXXFLAGS) $(DEFINES)
24
25 IFLAGS       = $(IFLAGS) -I../h
26
27 SRCS         = $(SRCS) BPatch.C \
28                 BPatch_image.C \
29                 BPatch_function.C \
30                 BPatch_snippet.C \
31                 BPatch_templates.C \
32                 BPatch_thread.C \
33                 BPatch_type.C \
34                 BPatch_init.C \
35                 BPatch_module.C \
36                 BPatch_point.C \
37                 BPatch_collections.C \
38                 LineInformation.C \
39                 BPatch_sourceBlock.C \
40                 BPatch_basicBlock.C \
41                 BPatch_basicBlockLoop.C \
42                 BPatch_flowGraph.C \
43                 MemoryAccess.C \
44                 dummy.C \
45                 api_showerror.C \
46                 ast.C \
47                 CodeView.C \
48                 inst.C \
49                 Object.C \
50                 Object-nt.C \
51                 process.C \
52                 dyn_thread.C \
53                 dyn_lwp.C \
54       rpcMgr.C \
55                 installed_miniTramps_list.C \
56                 stats.C \
57                 symtab.C \
58                 util.C \
59                 sharedobject.C \
60                 ../../common/src/Dictionary.C \
61                 ../../common/src/Ident.C \
62                 ../../common/src/String.C \
63                 ../../common/src/Timer.C \
64                 ../../common/src/Types.C \
65                 ../../common/src/debugOstream.C \
66                 ../../common/src/lprintf.C \
67                 ../../common/src/pathName.C \
68                 ../../common/src/vectorSet.C \
69                 ../../common/src/int64iostream.C \
70                 ../../common/src/timing.C \
71                 ../../common/src/Time.C \
72                 ../../common/src/fraction.C \
73                 ../../common/src/timing-nt.C \
74                 templates-nt.C
75
76 OBJS         = $(OBJS) BPatch.obj \
77                 BPatch_image.obj \
78                 BPatch_function.obj \
79                 BPatch_snippet.obj \
80                 BPatch_templates.obj \
81                 BPatch_thread.obj \
82                 BPatch_type.obj \
83                 BPatch_init.obj \
84                 BPatch_module.obj \
85                 BPatch_point.obj \
86                 BPatch_collections.obj \
87                 LineInformation.obj \
88                 BPatch_sourceBlock.obj \
89                 BPatch_basicBlock.obj \
90                 BPatch_basicBlockLoop.obj \
91                 BPatch_flowGraph.obj \\r
92                 MemoryAccess.obj \
93                 dummy.obj \
94                 api_showerror.obj \
95                 ast.obj \
96                 CodeView.obj \
97                 inst.obj \
98                 Object.obj \
99                 Object-nt.obj \
100                 process.obj \
101                 dyn_thread.obj \
102                 dyn_lwp.obj \
103       rpcMgr.obj \
104                 installed_miniTramps_list.obj \
105                 stats.obj \
106                 symtab.obj \
107                 util.obj \
108                 sharedobject.obj \
109                 Dictionary.obj \
110                 Ident.obj \
111                 String.obj \
112                 Timer.obj \
113                 Types.obj \
114                 debugOstream.obj \
115                 lprintf.obj \
116                 pathName.obj \
117                 vectorSet.obj \
118                 int64iostream.obj \
119                 timing.obj \
120                 Time.obj \
121                 fraction.obj \
122                 timing-nt.obj \
123                 templates-nt.obj
124
125 all: $(TARGET)
126
127 {..\..\common\src\}.C.obj:
128         $(CXX) $(CXXFLAGS) -c $<
129
130 {..\src\}.C.obj:
131         $(CXX) $(CXXFLAGS) -c $<
132
133 $(DEST)\libdyninstAPI.dll:      libdyninstAPI.dll
134         $(CP) libdyninstAPI.dll $(DEST)
135