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.
6 # $Id: make.module.tmpl,v 1.28 1998/04/01 02:50:01 wylie Exp $
9 CFLAGS += $(TCLFRIENDLYWARNINGS)
10 CXXFLAGS += $(TCLFRIENDLYWARNINGS)
11 TFLAGS += $(TCLFRIENDLYWARNINGS)
15 VPATH += ../../paradynd/src:../../paradyn/h:../../dyninstAPI/src:\
18 SRCS += ../src/association.C \
19 ../../dyninstAPI/src/ast.C \
25 ../../dyninstAPI/src/inst.C \
28 ../src/internalMetrics.C \
29 ../src/costmetrics.C \
30 ../src/metricDefs-critPath.C \
31 ../src/perfStream-def.C \
33 ../../dyninstAPI/src/process.C \
35 ../../dyninstAPI/src/stats.C \
36 ../../dyninstAPI/src/symtab.C \
37 ../../dyninstAPI/src/util.C \
38 ../../dyninstAPI/src/sharedobject.C \
41 ../../dyninstAPI/src/templates0.C \
42 ../../dyninstAPI/src/templates05.C \
43 ../../dyninstAPI/src/templates1.C \
44 ../src/templatesPD.C \
45 ../src/templatesIGEN.C \
47 ../../dyninstAPI/src/FunctionExpansionRecord.C \
49 ifdef INCLUDE_PVM_SUPPORT
50 SRCS += ../src/pvm_support.C \
51 ../src/host_support.C \
52 ../src/task_support.C \
55 CXXFLAGS += -DPARADYND_PVM -DPOWER_DEBUG
59 ifdef USES_SHM_SAMPLING
60 SRCS += ../src/fastInferiorHeap.C ../src/fastInferiorHeapHKs.C \
61 ../src/fastInferiorHeapMgr.C ../src/baseTable.C \
62 ../src/superTable.C ../src/superVector.C
63 CXXFLAGS += -DSHM_SAMPLING
64 TFLAGS += -DSHM_SAMPLING
65 CFLAGS += -DSHM_SAMPLING
68 IGEN_GEN_SRCS = dyninstRPC.xdr.SRVR.C \
71 IGEN_ISRCS = dyninstRPC.I
76 SYSLIBS += -liberty -lg++ -lstdc++ -lm
81 IFLAGS += -I../$(PLATFORM) -I../src
85 templates0.o: ../../dyninstAPI/src/templates0.C
86 $(CXX) $(TFLAGS) -c ../../dyninstAPI/src/templates0.C
88 templates05.o: ../../dyninstAPI/src/templates05.C
89 $(CXX) $(TFLAGS) -c ../../dyninstAPI/src/templates05.C
91 templates1.o: ../../dyninstAPI/src/templates1.C
92 $(CXX) $(TFLAGS) -c ../../dyninstAPI/src/templates1.C
94 templatesPD.o: ../src/templatesPD.C
95 $(CXX) $(TFLAGS) -c ../src/templatesPD.C
97 templatesIGEN.o: ../src/templatesIGEN.C
98 $(CXX) $(TFLAGS) -c ../src/templatesIGEN.C