Addition of Control Flow Graph related implementation.
[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.12 2000/03/18 21:53:58 tikir Exp $
7 #
8
9 SUITE_NAME      = Dyninst
10 RELEASE_NUM     = 2.0beta
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                 templates-nt.C
50
51 OBJS         = $(OBJS) BPatch.obj \
52                 BPatch_image.obj \
53                 BPatch_function.obj \
54                 BPatch_snippet.obj \
55                 BPatch_templates.obj \
56                 BPatch_thread.obj \
57                 BPatch_type.obj \
58                 BPatch_init.obj \
59                 BPatch_module.obj \
60                 BPatch_point.obj \
61                 BPatch_collections.obj \
62                 LineInformation.obj \
63                 BPatch_sourceBlock.obj \
64                 BPatch_basicBlock.obj \
65                 BPatch_basicBlockLoop.obj \
66                 BPatch_flowGraph.obj \
67                 dummy.obj \
68                 api_showerror.obj \
69                 ast.obj \
70                 Codeview.obj \
71                 inst.obj \
72                 Object.obj \
73                 Object-nt.obj \
74                 process.obj \
75                 stats.obj \
76                 symtab.obj \
77                 util.obj \
78                 sharedobject.obj \
79                 templates-nt.obj
80
81 all: $(TARGET)
82
83 {..\src\}.C.obj:
84         $(CXX) $(CXXFLAGS) -c $<