update to set up make variables for compiling modules with libhrtime
[dyninst.git] / pdutil / make.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: make.module.tmpl,v 1.31 2000/10/17 17:42:42 schendel Exp $
7 #
8
9 TARGET        = libpdutil.a
10
11 CFLAGS               += -DNEW_TIME_TYPES
12 CXXFLAGS             += -DNEW_TIME_TYPES
13 TFLAGS               += -DNEW_TIME_TYPES
14
15 ifdef USES_LIBDYNINST_SO
16 CXXFLAGS      += -fPIC
17 KFLAGS        += -fPIC
18 endif
19
20 VPATH         += ../../common/src
21
22 SRCS         += ../../common/src/String.C \
23                 ../src/ByteArray.C \
24                 ../../common/src/Dictionary.C \
25                 ../../common/src/lprintf.C \
26                 ../src/rpcUtil.C \
27                 ../src/aggregateSample.C \
28                 ../src/stringPool.C \
29                 ../src/hist.C \
30                 ../../common/src/timing.C \
31                 ../../common/src/Timer.C \
32                 ../../common/src/Types.C \
33                 ../../common/src/Ident.C \
34                 ../src/makenan.C \
35                 ../../common/src/pathName.C \
36                 ../src/PriorityQueue.C \
37                 ../src/odometer.C \
38                 ../src/CircularBuffer.C \
39                 ../../common/src/vectorSet.C \
40                 ../../common/src/debugOstream.C \
41                 ../src/pdDebugOstream.C \
42                 ../src/pdSample.C \
43                 ../../pdutil/src/airtStreambuf.C \
44                 ../../common/src/Time.C \
45                 ../../common/src/fraction.C \
46                 ../src/templates.C
47
48 all: $(TARGET)