2 # Common makefile template for paradyn. 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 # $Log: make.module.tmpl,v $
7 # Revision 1.29 1996/05/12 04:41:20 tamches
8 # added templatesUIWASHG.C (split off from templatesUI.C), since our
9 # aix 4.1 machines barfed when assembling what was templatesUI.C
11 # Revision 1.28 1996/05/02 19:51:39 karavan
12 # added new cost server class, two new files, PCcostServer.C and PCcostServer.h
14 # Revision 1.27 1996/02/27 17:30:40 karavan
15 # removed PC debug printing flag
17 # Revision 1.26 1996/02/22 18:34:23 karavan
20 # Revision 1.25 1996/02/11 18:20:47 tamches
21 # templatesDMPCV.C to templatesDM.C
23 # Revision 1.24 1996/02/07 00:05:27 tamches
24 # added templatesPCV.C
26 # Revision 1.23 1996/02/06 16:27:43 mjrg
27 # Invoke tcl2c with perl, to avoid problems on HP.
30 CFLAGS += $(TCLFRIENDLYWARNINGS)
31 #CXXFLAGS += $(TCLFRIENDLYWARNINGS) -DPCDEBUG
32 CXXFLAGS += $(TCLFRIENDLYWARNINGS)
33 TFLAGS += $(TCLFRIENDLYWARNINGS)
37 VPATH += ../h:$(wildcard ../src/*thread):\
38 ../src/pdMain:../src/met
40 # We don't want to force the user to have "visi" checked out in order
42 VPATH += $(shell if [ -d $(TO_CORE)/visi ]; then echo ":../../visi/h"; else echo ":/p/paradyn/core/visi/h"; fi )
44 SRCS += ../src/DMthread/DMpublic.C \
45 ../src/DMthread/DMdaemon.C \
46 ../src/DMthread/DMmetric.C \
47 ../src/DMthread/DMmain.C \
48 ../src/DMthread/DMperfstream.C \
49 ../src/DMthread/DMresource.C \
50 ../src/DMthread/DMabstractions.C \
51 ../src/DMthread/DMcritPath.C \
52 ../src/DMthread/DMphase.C \
53 ../src/pdMain/main.C \
54 ../src/VMthread/VMmain.C \
55 ../src/VISIthread/VISIthreadmain.C \
56 ../src/VISIthread/VISIthreadpublic.C \
57 ../src/PCthread/PCdata.C \
58 ../src/PCthread/PCfocus.C \
59 ../src/PCthread/PCsearch.C \
60 ../src/PCthread/PCpublic.C \
61 ../src/PCthread/PCmain.C \
62 ../src/PCthread/PCconstants.C \
63 ../src/PCthread/PCfilter.C \
64 ../src/PCthread/PCmetric.C \
65 ../src/PCthread/PCwhy.C \
66 ../src/PCthread/PCexperiment.C \
67 ../src/PCthread/PCrules.C \
68 ../src/PCthread/PCshg.C \
69 ../src/PCthread/PCmetricInst.C \
70 ../src/PCthread/PCcostServer.C \
71 ../src/UIthread/tclTunable.C \
72 ../src/UIthread/Status.C \
73 ../src/UIthread/uimpd.tcl.C \
74 ../src/UIthread/UImain.C \
75 ../src/UIthread/UIpublic.C \
76 ../src/UIthread/UIwhere.C \
77 ../src/UIthread/paradyn.tcl.C \
78 ../src/UIthread/whereAxis.C \
79 ../src/UIthread/abstractions.C \
80 ../src/UIthread/where4treeConstants.C \
81 ../src/UIthread/rootNode.C \
82 ../src/UIthread/scrollbar.C \
83 ../src/UIthread/whereAxisTcl.C \
84 ../src/UIthread/shg.C \
85 ../src/UIthread/shgRootNode.C \
86 ../src/UIthread/shgPhases.C \
87 ../src/UIthread/shgConsts.C \
88 ../src/UIthread/shgTcl.C \
89 ../src/UIthread/tkTools.C \
90 ../src/UIthread/pdLogo.C \
91 ../src/TCthread/TCmain.C \
92 ../src/TCthread/tunableConst.C \
93 ../src/met/metMain.C \
96 ../src/met/metClass.C \
97 ../src/templatesIGENMDL.C \
98 ../src/templatesDM.C \
99 ../src/templatesPCV.C \
100 ../src/templatesUI.C \
101 ../src/templatesUIWASHG.C \
104 IGEN_GEN_SRCS = dataManager.thread.C \
105 dataManager.thread.CLNT.C \
106 dataManager.thread.SRVR.C \
107 performanceConsultant.thread.C \
108 performanceConsultant.thread.CLNT.C \
109 performanceConsultant.thread.SRVR.C \
111 dyninstRPC.xdr.CLNT.C \
114 VISIthread.thread.C \
115 VISIthread.thread.SRVR.C \
116 VISIthread.thread.CLNT.C \
126 IGEN_ISRCS = dataManager.I \
127 performanceConsultant.I \
135 TCL_SRCS = $(wildcard ../tcl/*.tcl)
138 SRCS += $(TCL2C_GEN_SRCS)
143 LIBS += -lpdutil -lpdthread
144 #SYSLIBS += -ltix -ltk -ltcl -lX11 -lm -lfl
145 SYSLIBS += -ltk -ltcl -lX11 -lm -lfl
147 CFLAGS += -DNO_MDL_PRINT
148 CXXFLAGS += -DNO_MDL_PRINT
149 TFLAGS += -DNO_MDL_PRINT
153 metTester: metParser.o metTester.o metScanner.o metTemplates.o metClass.o
154 $(CXX) $(LIBDIR) -o metTester metTemplates.o metParser.o metTester.o \
155 metScanner.o metClass.o -lfl
157 templatesIGENMDL.o: ../src/templatesIGENMDL.C
158 $(CXX) $(TFLAGS) -c ../src/templatesIGENMDL.C
159 templatesDM.o: ../src/templatesDM.C
160 $(CXX) $(TFLAGS) -c ../src/templatesDM.C
161 templatesPCV.o: ../src/templatesPCV.C
162 $(CXX) $(TFLAGS) -c ../src/templatesPCV.C
163 templatesUI.o: ../src/templatesUI.C
164 $(CXX) $(TFLAGS) -c ../src/templatesUI.C
166 $(TCL2C_GEN_SRCS): $(TCL_SRCS)
167 perl $(TCL2C) $^ > $@