Changes to template files to be able to compile paradyn with -O3 - naim
[dyninst.git] / dyninstAPI / nmake.module.tmpl
1 #
2 # Common makefile template for util 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 #
7
8 TARGET = libdyninstAPI.lib
9
10 CFLAGS       = $(CFLAGS) -DBPATCH_LIBRARY -DBPATCH_SET_MUTATIONS_ACTIVE
11 CXXFLAGS     = $(CXXFLAGS) -DBPATCH_LIBRARY -DBPATCH_SET_MUTATIONS_ACTIVE
12
13 IFLAGS       = $(IFLAGS) -I../h
14
15 SRCS         = $(SRCS) BPatch.C \
16                 BPatch_image.C \
17                 BPatch_snippet.C \
18                 BPatch_templates.C \
19                 BPatch_thread.C \
20                 BPatch_type.C \
21                 BPatch_init.C \
22                 BPatch_module.C \
23                 BPatch_point.C \
24                 dummy.C \
25                 api_showerror.C \
26                 ast.C \
27                 inst.C \
28                 process.C \
29                 stats.C \
30                 symtab.C \
31                 util.C \
32                 sharedobject.C \
33                 templates-nt.C
34
35 OBJS         = $(OBJS) BPatch.obj \
36                 BPatch_image.obj \
37                 BPatch_snippet.obj \
38                 BPatch_templates.obj \
39                 BPatch_thread.obj \
40                 BPatch_type.obj \
41                 BPatch_init.obj \
42                 BPatch_module.obj \
43                 BPatch_point.obj \
44                 dummy.obj \
45                 api_showerror.obj \
46                 ast.obj \
47                 inst.obj \
48                 process.obj \
49                 stats.obj \
50                 symtab.obj \
51                 util.obj \
52                 sharedobject.obj \
53                 templates-nt.obj
54
55 all: $(TARGET)
56
57 {..\src\}.C.obj:
58         $(CXX) $(CXXFLAGS) -c $<