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