removed 4 no-longer-used .C files from SRCS
[dyninst.git] / paradyn / make.module.tmpl
1
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.
5 #
6 # $Log: make.module.tmpl,v $
7 # Revision 1.17  1995/10/18 00:52:32  tamches
8 # removed 4 no-longer-used .C files from SRCS
9 #
10 # Revision 1.16  1995/10/17 20:39:19  tamches
11 # Added whereAxis.C, abstractions.C, shg.C, shgRootNode.C,
12 # shgPhases.C, shgConsts.C, shgTcl.C
13 #
14 # Revision 1.15  1995/10/05 04:50:56  karavan
15 # added shgDisplay.C
16 #
17 # Revision 1.14  1995/09/20  01:32:01  tamches
18 # Added tkTools.C; added /s/flex/lib (for -fl on instructional solaris machines)
19 #
20 # Revision 1.13  1995/08/24  15:01:52  hollings
21 # AIX/SP-2 port (including option for split instruction/data heaps)
22 # Tracing of rexec (correctly spawns a paradynd if needed)
23 # Added rtinst function to read getrusage stats (can now be used in metrics)
24 # Critical Path
25 # Improved Error reporting in MDL sematic checks
26 # Fixed MDL Function call statement
27 # Fixed bugs in TK usage (strings passed where UID expected)
28 #
29 # Revision 1.12  1995/07/18  19:14:12  krisna
30 # changes to convert Tcl sources to C
31 #
32 # Revision 1.11  1995/07/17 05:02:52  tamches
33 # Additions for new where axis code (actually, certain files, such as
34 # where4tree.C, have been left out, since templates.C 'compiles' them
35 # just fine)
36 #
37 # Revision 1.10  1995/06/02  20:59:22  newhall
38 # changes for new dataManager interface
39 #
40 # Revision 1.9  1995/05/18  10:53:47  markc
41 # added define to quiet mdl error printing
42 #
43 # Revision 1.8  1995/05/18  10:50:05  markc
44 # Added mdl.C and define for mdl code
45 #
46 # Revision 1.7  1995/03/15  19:16:15  jcargill
47 # Removed -lresolv for all architectures, and added it back for Sunos
48 # and Solaris; libresolv.a causes trouble for hppa.
49 #
50 # Revision 1.6  1995/03/11  06:02:54  krisna
51 # libthread, libutil name change
52 #
53 # Revision 1.5  1995/02/27  18:32:30  tamches
54 # Changes to reflect the new TCthread.
55 #
56 # Revision 1.4  1995/02/26  02:14:39  newhall
57 # added source file DMphase.C
58 #
59 # Revision 1.3  1995/02/16  08:03:56  markc
60 # Added rule for templates file.
61 #
62 # Revision 1.2  1995/01/31  15:16:56  jcargill
63 # Fixed minor glitch: CC++ instead of CXX
64 #
65 # Revision 1.1  1995/01/30  18:10:07  jcargill
66 # Major build system reorganization
67 #
68 #
69
70 TARGET        = paradyn
71
72 VPATH        += ../h:$(wildcard ../src/*thread):\
73                 ../src/pdMain:../src/met:../../visi/h:
74
75 SRCS         += ../src/DMthread/DMpublic.C \
76                 ../src/DMthread/DMdaemon.C \
77                 ../src/DMthread/DMmetric.C \
78                 ../src/DMthread/DMmain.C \
79                 ../src/DMthread/DMperfstream.C \
80                 ../src/DMthread/DMresource.C \
81                 ../src/DMthread/DMabstractions.C \
82                 ../src/DMthread/DMcritPath.C \
83                 ../src/DMthread/DMphase.C \
84                 ../src/pdMain/main.C \
85                 ../src/VMthread/VMmain.C \
86                 ../src/VISIthread/VISIthreadmain.C \
87                 ../src/VISIthread/VISIthreadpublic.C \
88                 ../src/PCthread/PCauto.C \
89                 ../src/PCthread/PCpublic.C \
90                 ../src/PCthread/PCevalTest.C \
91                 ../src/PCthread/PCmetric.C \
92                 ../src/PCthread/PCrules.C \
93                 ../src/PCthread/PCshg.C \
94                 ../src/PCthread/PCwhen.C \
95                 ../src/PCthread/PCwhere.C \
96                 ../src/PCthread/PCwhy.C \
97                 ../src/PCthread/PCmain.C \
98                 ../src/UIthread/tclTunable.C \
99                 ../src/UIthread/Status.C \
100                 ../src/UIthread/uimpd.tcl.C \
101                 ../src/UIthread/UImain.C \
102                 ../src/UIthread/UIpublic.C \
103                 ../src/UIthread/UIwhere.C \
104                 ../src/UIthread/paradyn.tcl.C \
105                 ../src/UIthread/whereAxis.C \
106                 ../src/UIthread/abstractions.C \
107                 ../src/UIthread/where4treeConstants.C \
108                 ../src/UIthread/rootNode.C \
109                 ../src/UIthread/scrollbar.C \
110                 ../src/UIthread/whereAxisTcl.C \
111                 ../src/UIthread/shg.C \
112                 ../src/UIthread/shgRootNode.C \
113                 ../src/UIthread/shgPhases.C \
114                 ../src/UIthread/shgConsts.C \
115                 ../src/UIthread/shgTcl.C \
116                 ../src/UIthread/tkTools.C \
117                 ../src/TCthread/TCmain.C \
118                 ../src/TCthread/tunableConst.C \
119                 ../src/met/metMain.C \
120                 metParser.C \
121                 metScanner.C \
122                 ../src/met/metClass.C \
123                 ../src/templates.C  \
124                 ../src/met/mdl.C
125
126 IGEN_GEN_SRCS = dataManager.thread.C \
127                 dataManager.thread.CLNT.C \
128                 dataManager.thread.SRVR.C \
129                 performanceConsultant.thread.C \
130                 performanceConsultant.thread.CLNT.C \
131                 performanceConsultant.thread.SRVR.C \
132                 dyninstRPC.xdr.C \
133                 dyninstRPC.xdr.CLNT.C \
134                 visi.xdr.CLNT.C \
135                 visi.xdr.C \
136                 VISIthread.thread.C \
137                 VISIthread.thread.SRVR.C \
138                 VISIthread.thread.CLNT.C \
139                 UI.thread.C \
140                 UI.thread.CLNT.C \
141                 UI.thread.SRVR.C \
142                 VM.thread.C \
143                 VM.thread.SRVR.C \
144                 VM.thread.CLNT.C 
145
146         
147
148 IGEN_ISRCS    = dataManager.I \
149                 performanceConsultant.I \
150                 dyninstRPC.I \
151                 visi.I \
152                 VISIthread.I \
153                 UI.I \
154                 VM.I
155
156
157 TCL2C           = tcl2c
158 TCL2C_GEN_SRCS  = tcl2c.C
159 TCL_SRCS        = $(wildcard ../tcl/*.tcl)
160 SRCS            += $(TCL2C_GEN_SRCS)
161
162
163 IFLAGS       += -DPARADYN
164 LIBDIR       += -L/usr/psup/lib -L/s/flex/lib
165
166 LIBS         += -lpdutil -lpdthread
167 SYSLIBS      += -ltk -ltcl -lX11 -lm -lfl
168
169 CFLAGS       += -DNO_MDL_PRINT
170 CXXFLAGS     += -DNO_MDL_PRINT
171 TFLAGS       += -DNO_MDL_PRINT
172
173 all:    $(TARGET) 
174
175 metTester: metParser.o metTester.o metScanner.o metTemplates.o metClass.o
176         $(CXX) $(LIBDIR) -o metTester metTemplates.o metParser.o metTester.o \
177         metScanner.o metClass.o -lfl
178
179 templates.o: ../src/templates.C
180         $(CXX) $(TFLAGS) -c ../src/templates.C
181
182 $(TCL2C_GEN_SRCS):      $(TCL_SRCS)
183         $(TCL2C) $^ > $@