update to set up make variables for compiling modules with libhrtime
[dyninst.git] / pdutil / 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 # $Id: nmake.module.tmpl,v 1.15 2000/10/17 17:42:42 schendel Exp $
7 #
8
9 TARGET        = libpdutil.lib
10
11 CFLAGS       = $(CFLAGS) -DNEW_TIME_TYPES
12 CXXFLAGS     = $(CXXFLAGS) -DNEW_TIME_TYPES
13 TFLAGS       = $(TFLAGS) -DNEW_TIME_TYPES
14
15 SRCS         = $(SRCS) \
16                 ../../common/src/String.C \
17                 ../../common/src/Dictionary.C \
18                 ../../common/src/lprintf.C \
19                 ../../common/src/Timer.C \
20                 ../../common/src/Ident.C \
21                 ../../common/src/pathName.C \
22                 ../../common/src/vectorSet.C \
23                 ../../common/src/debugOstream.C \
24                 ../../pdutil/src/templates.C \
25                 ../../pdutil/src/ByteArray.C \
26                 ../../pdutil/src/rpcUtil.C \
27                 ../../pdutil/src/aggregateSample.C \
28                 ../../pdutil/src/stringPool.C \
29                 ../../pdutil/src/hist.C \
30                 ../../pdutil/src/Types.C \
31                 ../../pdutil/src/makenan.C \
32                 ../../pdutil/src/PriorityQueue.C \
33                 ../../pdutil/src/odometer.C \
34                 ../../pdutil/src/CircularBuffer.C \
35                 ../../common/src/timing.C \
36                 ../../common/src/timing-nt.C \
37                 ../../pdutil/src/pdDebugOstream.C \
38                 ../../pdutil/src/pdSample.C \
39                 ../../pdutil/src/airtStreambuf.C \
40                 ../../common/src/Time.C \
41                 ../../common/src/fraction.C
42
43 OBJS         = $(OBJS) \
44                 aggregateSample.obj \
45                 ByteArray.obj \
46                 CircularBuffer.obj \
47                 debugOstream.obj \
48                 Dictionary.obj \
49                 hist.obj \
50                 Ident.obj \
51                 int64iostream.obj \
52                 lprintf.obj \
53                 makenan.obj \
54                 odometer.obj \
55                 pathName.obj \
56                 PriorityQueue.obj \
57                 rpcUtil.obj \
58                 String.obj \
59                 stringPool.obj \
60                 Timer.obj \
61                 Types.obj \
62                 timing.obj \
63                 timing-nt.obj \
64                 vectorSet.obj \
65                 pdDebugOstream.obj \
66                 pdSample.obj  \
67                 airtStreambuf.obj \
68                 Time.obj \
69                 fraction.obj
70
71
72 all: $(TARGET)
73
74 {..\src\}.C.obj:
75         $(CXX) $(CXXFLAGS) -c $<
76
77 {..\..\common\src\}.C.obj:
78         $(CXX) $(CXXFLAGS) -c $<
79