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