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