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