Restructuring of declararations required because of include conflicts when
[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.16 2000/08/22 20:59:16 wylie Exp $
7 #
8
9 SUITE_NAME      = Dyninst
10 RELEASE_NUM     = 2.2
11 #BUILD_MARK should be (re-)defined in core/make.config.local rather than here!
12
13 TARGET = libdyninstAPI.lib
14
15 DEFINES      = -DBPATCH_LIBRARY -DBPATCH_SET_MUTATIONS_ACTIVE -DBPATCH_LIBRARY_F
16 CFLAGS       = $(CFLAGS) $(DEFINES)
17 CXXFLAGS     = $(CXXFLAGS) $(DEFINES)
18
19 IFLAGS       = $(IFLAGS) -I../h
20
21 SRCS         = $(SRCS) BPatch.C \
22                 BPatch_image.C \
23                 BPatch_function.C \
24                 BPatch_snippet.C \
25                 BPatch_templates.C \
26                 BPatch_thread.C \
27                 BPatch_type.C \
28                 BPatch_init.C \
29                 BPatch_module.C \
30                 BPatch_point.C \
31                 BPatch_collections.C \
32                 LineInformation.C \
33                 BPatch_sourceBlock.C \
34                 BPatch_basicBlock.C \
35                 BPatch_basicBlockLoop.C \
36                 BPatch_flowGraph.C \
37                 dummy.C \
38                 api_showerror.C \
39                 ast.C \
40                 CodeView.C \
41                 inst.C \
42                 Object.C \
43                 Object-nt.C \
44                 process.C \
45                 stats.C \
46                 symtab.C \
47                 util.C \
48                 sharedobject.C \
49                 ../../common/src/Dictionary.C \
50                 ../../common/src/Ident.C \
51                 ../../common/src/String.C \
52                 ../../common/src/Timer.C \
53                 ../../common/src/Types.C \
54                 ../../common/src/debugOstream.C \
55                 ../../common/src/lprintf.C \
56                 ../../common/src/pathName.C \
57                 ../../common/src/vectorSet.C \
58                 templates-nt.C
59
60 OBJS         = $(OBJS) BPatch.obj \
61                 BPatch_image.obj \
62                 BPatch_function.obj \
63                 BPatch_snippet.obj \
64                 BPatch_templates.obj \
65                 BPatch_thread.obj \
66                 BPatch_type.obj \
67                 BPatch_init.obj \
68                 BPatch_module.obj \
69                 BPatch_point.obj \
70                 BPatch_collections.obj \
71                 LineInformation.obj \
72                 BPatch_sourceBlock.obj \
73                 BPatch_basicBlock.obj \
74                 BPatch_basicBlockLoop.obj \
75                 BPatch_flowGraph.obj \
76                 dummy.obj \
77                 api_showerror.obj \
78                 ast.obj \
79                 CodeView.obj \
80                 inst.obj \
81                 Object.obj \
82                 Object-nt.obj \
83                 process.obj \
84                 stats.obj \
85                 symtab.obj \
86                 util.obj \
87                 sharedobject.obj \
88                 Dictionary.obj \
89                 Ident.obj \
90                 String.obj \
91                 Timer.obj \
92                 Types.obj \
93                 debugOstream.obj \
94                 lprintf.obj \
95                 pathName.obj \
96                 vectorSet.obj \
97                 templates-nt.obj
98
99 all: $(TARGET)
100
101 {..\..\common\src\}.C.obj:
102         $(CXX) $(CXXFLAGS) -c $<
103
104 {..\src\}.C.obj:
105         $(CXX) $(CXXFLAGS) -c $<