some modifications for teh code to be compiled in
[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.11 2000/03/15 22:14:29 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                 dummy.C \
34                 api_showerror.C \
35                 ast.C \
36                 Codeview.C \
37                 inst.C \
38                 Object.C \
39                 Object-nt.C \
40                 process.C \
41                 stats.C \
42                 symtab.C \
43                 util.C \
44                 sharedobject.C \
45                 templates-nt.C
46
47 OBJS         = $(OBJS) BPatch.obj \
48                 BPatch_image.obj \
49                 BPatch_function.obj \
50                 BPatch_snippet.obj \
51                 BPatch_templates.obj \
52                 BPatch_thread.obj \
53                 BPatch_type.obj \
54                 BPatch_init.obj \
55                 BPatch_module.obj \
56                 BPatch_point.obj \
57                 BPatch_collections.obj \
58                 LineInformation.obj \
59                 dummy.obj \
60                 api_showerror.obj \
61                 ast.obj \
62                 Codeview.obj \
63                 inst.obj \
64                 Object.obj \
65                 Object-nt.obj \
66                 process.obj \
67                 stats.obj \
68                 symtab.obj \
69                 util.obj \
70                 sharedobject.obj \
71                 templates-nt.obj
72
73 all: $(TARGET)
74
75 {..\src\}.C.obj:
76         $(CXX) $(CXXFLAGS) -c $<