beefed up warnings; the shm sampling commit; split templates0.C file.
[dyninst.git] / paradynd / make.module.tmpl
1
2 # Common makefile template for paradynd.  This file is not intended to
3 # be a useful Makefile in isolation; instead, it should be included
4 # from within an architecture-specific Makefile.
5 #
6 # make.module.tmpl,v
7 # Revision 1.5  1995/05/30  22:16:30  krisna
8 # moved arch-os specific sources to appropriate directory
9 #
10 # Revision 1.4  1995/05/18  10:46:08  markc
11 # Added new source files
12 #
13 # Revision 1.3  1995/03/11  06:03:52  krisna
14 # libutil name change
15 #
16 # Revision 1.2  1995/02/16  08:26:31  markc
17 # New support for templates
18 #
19 # Revision 1.1  1995/01/30  18:10:31  jcargill
20 # Major build system reorganization
21 #
22 #
23
24 CFLAGS               += $(TCLFRIENDLYWARNINGS)
25 CXXFLAGS             += $(TCLFRIENDLYWARNINGS)
26 TFLAGS               += $(TCLFRIENDLYWARNINGS)
27
28 TARGET        = paradynd
29
30 VPATH        += ../../paradynd/src:../../paradyn/h
31
32 SRCS         += ../src/association.C \
33                 ../src/ast.C \
34                 ../src/comm.C \
35                 ../src/context.C \
36                 ../src/debugger.C \
37                 ../src/dynrpc.C \
38                 ../src/init.C \
39                 ../src/inst.C \
40                 ../src/main.C \
41                 ../src/metric.C \
42                 ../src/internalMetrics.C \
43                 ../src/costmetrics.C \
44                 ../src/metricDefs-critPath.C \
45                 ../src/perfStream-def.C \
46                 ../src/perfStream.C \
47                 ../src/primitives.C \
48                 ../src/process.C \
49                 ../src/resource.C \
50                 ../src/stats.C \
51                 ../src/symtab.C \
52                 ../src/util.C \
53                 ../src/mdl.C \
54                 ../src/templates0.C \
55                 ../src/templates05.C \
56                 ../src/templates1.C \
57                 ../src/templatesIGEN.C
58
59
60 ifdef USES_PVM
61 SRCS         += ../src/pvm_support.C \
62                 ../src/host_support.C \
63                 ../src/task_support.C \
64                 ../src/templatesPVM.C
65
66 CXXFLAGS     += -DPARADYND_PVM
67 LIBS         += -lpvm3
68
69 endif
70
71 ifdef USES_SHM_SAMPLING
72 SRCS            += ../src/fastInferiorHeap.C ../src/fastInferiorHeapHKs.C
73 CXXFLAGS        += -DSHM_SAMPLING
74 TFLAGS          += -DSHM_SAMPLING
75 CFLAGS          += -DSHM_SAMPLING
76 endif
77
78 IGEN_GEN_SRCS = dyninstRPC.xdr.SRVR.C \
79                 dyninstRPC.xdr.C
80
81 IGEN_ISRCS    = dyninstRPC.I
82
83 LIBS            += -lpdutil
84 SYSLIBS         += -liberty
85
86 IFLAGS       += -I../$(PLATFORM) -I../src
87
88 all:    $(TARGET)
89
90 templates0.o: ../src/templates0.C
91         $(CXX) $(TFLAGS) -c ../src/templates0.C
92
93 templates05.o: ../src/templates05.C
94         $(CXX) $(TFLAGS) -c ../src/templates05.C
95
96 templates1.o: ../src/templates1.C
97         $(CXX) $(TFLAGS) -c ../src/templates1.C
98
99 templatesIGEN.o: ../src/templatesIGEN.C
100         $(CXX) $(TFLAGS) -c ../src/templatesIGEN.C