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