added visi_PrintDataBuckets, changed the way data grid constructors are called
[dyninst.git] / visi / test / Makefile
1 IFLAGS          = -I. -I../.. 
2
3 SUFFIX          = .C:sC
4
5 VPATH         = ../src
6
7 LIBDIR          = -L../../../lib/$(PLATFORM) -L/p/paradyn/lib/$(PLATFORM)
8
9 YFLAGS          = -d -y
10 YACC            = bison
11
12 .SUFFIXES: .I .c .C .o
13
14 DEST          = .
15
16 CFLAGS          = $(IFLAGS) -g -Wall
17
18 CC              = g++
19
20 .C.o:
21         $(CC) -c $(CFLAGS) $<
22
23 LIBRARY       = visilib.a
24
25 SRVROBJ       = server1.o
26
27 CLNTOBJS      = client1.o visithread.o
28
29 CLNT2OBJS      = client2.o visithread.o
30
31 OBJS          = client1.o server1.o xtext.o \
32                 xtext2.o client2.o visithread.o
33
34 SRCS          = visi.xdr.C visi.xdr.CLNT.C visi.xdr.SRVR.C \
35                 client1.C server1.C xtext.C xtext2.C \
36                 client2.C visithread.C
37
38 PRINT         = pr
39
40 all:    visi.C client1 server1 xtext xtext2 client2 
41
42
43
44 server1:        $(SRVROBJ)
45         $(CC) -static $(CFLAGS) $(LIBDIR) -o server1 $(SRVROBJ) -lm $(LIBDIR) -lvisi -lutil
46
47 client1:        $(CLNTOBJS)
48         $(CC) -static $(CFLAGS) $(LIBDIR) -o client1 $(CLNTOBJS) -lm $(LIBDIR) -lvisi -lutil
49
50 client2:        $(CLNT2OBJS)
51         $(CC) -static $(CFLAGS) $(LIBDIR) -o client2 $(CLNT2OBJS) -lm $(LIBDIR) -lvisi -lutil
52
53 xtext: xtext.o
54         $(CC) xtext.o -o xtext -lXaw -lXmu -lXt -lX11 -lm $(LIBDIR) -lvisi -lutil
55
56 xtext2: xtext2.o
57         $(CC) xtext2.o -o xtext2 -lXaw -lXmu -lXt -lX11 -lm $(LIBDIR) -lvisi -lutil
58
59
60 clean:  
61         rm -f $(OBJS) server1 client1 client2 xtext xtext2 *pure* visi.*
62
63 depend: visi.C $(SRCS)
64         @echo "Building dependancies"
65         /usr/sup/X11/bin/makedepend $(SRCS) $(CFLAGS)
66
67 visi.C visi.CLNT.C visi.SRVR.C: ../h/visi.I
68         igen -xdr ../h/visi.I
69
70 library:        $(LIBRARY)
71
72 tags:           $(HDRS) $(SRCS); @ctags $(HDRS) $(SRCS)
73
74 update:         $(DEST)/$(LIBRARY)
75
76 # DO NOT DELETE THIS LINE -- make depend depends on it.
77
78 visi.xdr.o: visi.xdr.h ../../util/h/rpcUtil.h ../../util/h/headers.h
79 visi.xdr.o: ../../util/h/String.h ../../util/h/Vector.h
80 visi.xdr.CLNT.o: visi.xdr.CLNT.h visi.xdr.h ../../util/h/rpcUtil.h
81 visi.xdr.CLNT.o: ../../util/h/headers.h ../../util/h/String.h
82 visi.xdr.CLNT.o: ../../util/h/Vector.h ../../util/h/Queue.h
83 visi.xdr.SRVR.o: visi.xdr.SRVR.h visi.xdr.h ../../util/h/rpcUtil.h
84 visi.xdr.SRVR.o: ../../util/h/headers.h ../../util/h/String.h
85 visi.xdr.SRVR.o: ../../util/h/Vector.h ../../util/h/Queue.h
86 client1.o: /usr/include/stdio.h /usr/include/stdlib.h
87 client1.o: /usr/include/sys/stdtypes.h visi.xdr.CLNT.h visi.xdr.h
88 client1.o: ../../util/h/rpcUtil.h ../../util/h/headers.h
89 client1.o: ../../util/h/String.h ../../util/h/Vector.h ../../util/h/Queue.h
90 server1.o: ../h/visualization.h ../h/datagrid.h /usr/include/string.h
91 server1.o: /usr/include/sys/stdtypes.h /usr/include/math.h
92 server1.o: /usr/include/floatingpoint.h /usr/include/sys/ieeefp.h
93 server1.o: /usr/include/values.h ../h/visiTypes.h /usr/include/stdio.h
94 server1.o: ../../util/h/String.h /usr/include/assert.h ../../util/h/Vector.h
95 xtext.o: /usr/include/stdio.h /usr/include/X11/Intrinsic.h
96 xtext.o: /usr/include/X11/Xlib.h /usr/include/sys/types.h
97 xtext.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
98 xtext.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
99 xtext.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
100 xtext.o: /usr/include/X11/Xutil.h /usr/include/X11/Xresource.h
101 xtext.o: /usr/include/string.h /usr/include/X11/Core.h
102 xtext.o: /usr/include/X11/Composite.h /usr/include/X11/Constraint.h
103 xtext.o: /usr/include/X11/Object.h /usr/include/X11/RectObj.h
104 xtext.o: /usr/include/X11/StringDefs.h /usr/include/X11/Xaw/AsciiText.h
105 xtext.o: /usr/include/X11/Xaw/Text.h /usr/include/X11/Xaw/TextSink.h
106 xtext.o: /usr/include/X11/Xaw/TextSrc.h /usr/include/X11/Xaw/AsciiSrc.h
107 xtext.o: /usr/include/X11/Xaw/AsciiSink.h /usr/include/X11/Xaw/Command.h
108 xtext.o: /usr/include/X11/Xaw/Label.h /usr/include/X11/Xaw/Simple.h
109 xtext.o: /usr/include/X11/Xmu/Converters.h /usr/include/X11/Xaw/Paned.h
110 xtext.o: /usr/include/X11/Xaw/Cardinals.h ../h/visualization.h
111 xtext.o: ../h/datagrid.h /usr/include/math.h /usr/include/floatingpoint.h
112 xtext.o: /usr/include/sys/ieeefp.h /usr/include/values.h ../h/visiTypes.h
113 xtext.o: ../../util/h/String.h /usr/include/assert.h ../../util/h/Vector.h
114 xtext2.o: /usr/include/stdio.h /usr/include/X11/Intrinsic.h
115 xtext2.o: /usr/include/X11/Xlib.h /usr/include/sys/types.h
116 xtext2.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
117 xtext2.o: /usr/include/X11/X.h /usr/include/X11/Xfuncproto.h
118 xtext2.o: /usr/include/X11/Xosdefs.h /usr/include/stddef.h
119 xtext2.o: /usr/include/X11/Xutil.h /usr/include/X11/Xresource.h
120 xtext2.o: /usr/include/string.h /usr/include/X11/Core.h
121 xtext2.o: /usr/include/X11/Composite.h /usr/include/X11/Constraint.h
122 xtext2.o: /usr/include/X11/Object.h /usr/include/X11/RectObj.h
123 xtext2.o: /usr/include/X11/StringDefs.h /usr/include/X11/Xaw/AsciiText.h
124 xtext2.o: /usr/include/X11/Xaw/Text.h /usr/include/X11/Xaw/TextSink.h
125 xtext2.o: /usr/include/X11/Xaw/TextSrc.h /usr/include/X11/Xaw/AsciiSrc.h
126 xtext2.o: /usr/include/X11/Xaw/AsciiSink.h /usr/include/X11/Xaw/Command.h
127 xtext2.o: /usr/include/X11/Xaw/Label.h /usr/include/X11/Xaw/Simple.h
128 xtext2.o: /usr/include/X11/Xmu/Converters.h /usr/include/X11/Xaw/Paned.h
129 xtext2.o: /usr/include/X11/Xaw/Cardinals.h ../h/visualization.h
130 xtext2.o: ../h/datagrid.h /usr/include/math.h /usr/include/floatingpoint.h
131 xtext2.o: /usr/include/sys/ieeefp.h /usr/include/values.h ../h/visiTypes.h
132 xtext2.o: ../../util/h/String.h /usr/include/assert.h ../../util/h/Vector.h
133 client2.o: /usr/include/stdio.h /usr/include/stdlib.h
134 client2.o: /usr/include/sys/stdtypes.h visi.xdr.CLNT.h visi.xdr.h
135 client2.o: ../../util/h/rpcUtil.h ../../util/h/headers.h
136 client2.o: ../../util/h/String.h ../../util/h/Vector.h ../../util/h/Queue.h
137 visithread.o: /usr/include/stdio.h visi.xdr.CLNT.h visi.xdr.h
138 visithread.o: ../../util/h/rpcUtil.h ../../util/h/headers.h
139 visithread.o: ../../util/h/String.h ../../util/h/Vector.h
140 visithread.o: ../../util/h/Queue.h