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