Additions for new where axis code (actually, certain files, such as
[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.11  1995/07/17 05:02:52  tamches
8 # Additions for new where axis code (actually, certain files, such as
9 # where4tree.C, have been left out, since templates.C 'compiles' them
10 # just fine)
11 #
12 # Revision 1.10  1995/06/02  20:59:22  newhall
13 # changes for new dataManager interface
14 #
15 # Revision 1.9  1995/05/18  10:53:47  markc
16 # added define to quiet mdl error printing
17 #
18 # Revision 1.8  1995/05/18  10:50:05  markc
19 # Added mdl.C and define for mdl code
20 #
21 # Revision 1.7  1995/03/15  19:16:15  jcargill
22 # Removed -lresolv for all architectures, and added it back for Sunos
23 # and Solaris; libresolv.a causes trouble for hppa.
24 #
25 # Revision 1.6  1995/03/11  06:02:54  krisna
26 # libthread, libutil name change
27 #
28 # Revision 1.5  1995/02/27  18:32:30  tamches
29 # Changes to reflect the new TCthread.
30 #
31 # Revision 1.4  1995/02/26  02:14:39  newhall
32 # added source file DMphase.C
33 #
34 # Revision 1.3  1995/02/16  08:03:56  markc
35 # Added rule for templates file.
36 #
37 # Revision 1.2  1995/01/31  15:16:56  jcargill
38 # Fixed minor glitch: CC++ instead of CXX
39 #
40 # Revision 1.1  1995/01/30  18:10:07  jcargill
41 # Major build system reorganization
42 #
43 #
44
45 TARGET        = paradyn
46
47 VPATH        += ../h:$(wildcard ../src/*thread):\
48                 ../src/pdMain:../src/met:../../visi/h:
49
50 SRCS         += ../src/DMthread/DMpublic.C \
51                 ../src/DMthread/DMdaemon.C \
52                 ../src/DMthread/DMmetric.C \
53                 ../src/DMthread/DMmain.C \
54                 ../src/DMthread/DMperfstream.C \
55                 ../src/DMthread/DMresource.C \
56                 ../src/DMthread/DMabstractions.C \
57                 ../src/DMthread/DMphase.C \
58                 ../src/pdMain/main.C \
59                 ../src/VMthread/VMmain.C \
60                 ../src/VISIthread/VISIthreadmain.C \
61                 ../src/VISIthread/VISIthreadpublic.C \
62                 ../src/PCthread/PCauto.C \
63                 ../src/PCthread/PCpublic.C \
64                 ../src/PCthread/PCevalTest.C \
65                 ../src/PCthread/PCmetric.C \
66                 ../src/PCthread/PCrules.C \
67                 ../src/PCthread/PCshg.C \
68                 ../src/PCthread/PCwhen.C \
69                 ../src/PCthread/PCwhere.C \
70                 ../src/PCthread/PCwhy.C \
71                 ../src/PCthread/PCmain.C \
72                 ../src/UIthread/tclTunable.C \
73                 ../src/UIthread/Status.C \
74                 ../src/UIthread/uimpd.tcl.C \
75                 ../src/UIthread/UImain.C \
76                 ../src/UIthread/UIpublic.C \
77                 ../src/UIthread/UIwhere.C \
78                 ../src/UIthread/dagCompute.C \
79                 ../src/UIthread/dag.C \
80                 ../src/UIthread/paradyn.tcl.C \
81                 ../src/UIthread/where4treeConstants.C \
82                 ../src/UIthread/rootNode.C \
83                 ../src/UIthread/scrollbar.C \
84                 ../src/UIthread/whereAxisMisc.C \
85                 ../src/UIthread/whereAxisTcl.C \
86                 ../src/TCthread/TCmain.C \
87                 ../src/TCthread/tunableConst.C \
88                 ../src/met/metMain.C \
89                 metParser.C \
90                 metScanner.C \
91                 ../src/met/metClass.C \
92                 ../src/templates.C  \
93                 ../src/met/mdl.C
94
95 IGEN_GEN_SRCS = dataManager.thread.C \
96                 dataManager.thread.CLNT.C \
97                 dataManager.thread.SRVR.C \
98                 performanceConsultant.thread.C \
99                 performanceConsultant.thread.CLNT.C \
100                 performanceConsultant.thread.SRVR.C \
101                 dyninstRPC.xdr.C \
102                 dyninstRPC.xdr.CLNT.C \
103                 visi.xdr.CLNT.C \
104                 visi.xdr.C \
105                 VISIthread.thread.C \
106                 VISIthread.thread.SRVR.C \
107                 VISIthread.thread.CLNT.C \
108                 UI.thread.C \
109                 UI.thread.CLNT.C \
110                 UI.thread.SRVR.C \
111                 VM.thread.C \
112                 VM.thread.SRVR.C \
113                 VM.thread.CLNT.C 
114
115         
116
117 IGEN_ISRCS    = dataManager.I \
118                 performanceConsultant.I \
119                 dyninstRPC.I \
120                 visi.I \
121                 VISIthread.I \
122                 UI.I \
123                 VM.I
124
125 IFLAGS       += -DPARADYN
126 LIBDIR       += -L/usr/psup/lib
127
128 LIBS         += -lpdutil -lpdthread
129 SYSLIBS      += -ltk -ltcl -lX11 -lm -lfl
130
131 CFLAGS       += -DNO_MDL_PRINT
132 CXXFLAGS     += -DNO_MDL_PRINT
133 TFLAGS       += -DNO_MDL_PRINT
134
135 all:    $(TARGET) 
136
137 metTester: metParser.o metTester.o metScanner.o metTemplates.o metClass.o
138         $(CXX) $(LIBDIR) -o metTester metTemplates.o metParser.o metTester.o \
139         metScanner.o metClass.o -lfl
140
141 templates.o: ../src/templates.C
142         $(CXX) $(TFLAGS) -c ../src/templates.C