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