456e3b24f9d42c445116ec4bbfb25c03f517d244
[openafs.git] / src / tviced / Makefile.in
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10
11 CC=${MT_CC}
12 CFLAGS=${COMMON_CFLAGS} -I.. -DNINTERFACE ${MT_CFLAGS} -DRXDEBUG
13
14 CCRULE=${CC} ${CFLAGS} -c $?
15
16 VICED=../viced
17 VLSERVER=../vlserver
18 LWP=../lwp
19 LIBACL=../libacl
20 UTIL=../util
21 DIR=../dir
22 VOL=../vol
23 FSINT=../fsint
24
25 VICEDOBJS=viced.o afsfileprocs.o host.o physio.o callback.o     
26
27 VLSERVEROBJS=vldbint.cs.o vldbint.xdr.o
28
29 LWPOBJS=lock.o fasttime.o threadname.o
30
31 LIBACLOBJS=aclprocs.o netprocs.o
32
33 UTILOBJS=assert.o uuid.o serverLog.o fileutil.o netutils.o dirpath.o volparse.o flipbase64.o
34
35 DIROBJS=buffer.o dir.o salvage.o
36
37 VOLOBJS= vnode.o volume.o vutil.o partition.o fssync.o purge.o \
38          clone.o devname.o common.o ihandle.o listinodes.o namei_ops.o
39
40 FSINTOBJS= afsaux.o afscbint.cs.o afsint.ss.o afsint.xdr.o
41
42 objects= ${VICEDOBJS} ${VLSERVEROBJS} ${LWPOBJS} ${LIBACLOBJS} \
43          ${UTILOBJS} ${DIROBJS} ${VOLOBJS} ${FSINTOBJS}
44
45 LIBS=${TOP_LIBDIR}/libafsauthent.a ${TOP_LIBDIR}/libafsrpc.a ${TOP_LIBDIR}/util.a
46
47 all: fileserver
48
49 viced.o: ${VICED}/viced.c
50         ${CCRULE}
51
52 afsfileprocs.o: ${VICED}/afsfileprocs.c
53         ${CCRULE}
54
55 host.o: ${VICED}/host.c
56         ${CCRULE}
57
58 physio.o: ${VICED}/physio.c
59         ${CCRULE}
60
61 callback.o: ${VICED}/callback.c
62         ${CCRULE}
63
64 assert.o: ${UTIL}/assert.c
65         ${CCRULE}
66
67 uuid.o: ${UTIL}/uuid.c
68         ${CCRULE}
69
70 serverLog.o: ${UTIL}/serverLog.c
71         ${CCRULE}
72
73 fileutil.o: ${UTIL}/fileutil.c
74         ${CCRULE}
75
76 volparse.o: ${UTIL}/volparse.c
77         ${CCRULE}
78
79 flipbase64.o: ${UTIL}/flipbase64.c
80         ${CCRULE}
81
82 netutils.o: ${UTIL}/netutils.c
83         ${CCRULE}
84
85 dirpath.o: ${UTIL}/dirpath.c
86         ${CCRULE}
87
88 lock.o: ${LWP}/lock.c
89         ${CCRULE}
90
91 fasttime.o: ${LWP}/fasttime.c
92         ${CCRULE}
93
94 threadname.o: ${LWP}/threadname.c
95         ${CCRULE}
96
97 aclprocs.o: ${LIBACL}/aclprocs.c
98         ${CCRULE}
99
100 netprocs.o: ${LIBACL}/netprocs.c
101         ${CCRULE}
102
103 vldbint.cs.o: ${VLSERVER}/vldbint.cs.c
104         ${CCRULE}
105
106 vldbint.xdr.o: ${VLSERVER}/vldbint.xdr.c
107         ${CCRULE}
108
109 buffer.o: ${DIR}/buffer.c
110         ${CCRULE}
111
112 dir.o: ${DIR}/dir.c
113         ${CCRULE}
114
115 salvage.o: ${DIR}/salvage.c
116         ${CCRULE}
117
118 vnode.o: ${VOL}/vnode.c
119         ${CCRULE}
120
121 volume.o: ${VOL}/volume.c
122         ${CCRULE}
123
124 vutil.o: ${VOL}/vutil.c
125         ${CCRULE}
126
127 partition.o: ${VOL}/partition.c
128         ${CCRULE}
129
130 fssync.o: ${VOL}/fssync.c
131         ${CCRULE}
132
133 purge.o: ${VOL}/purge.c
134         ${CCRULE}
135
136 clone.o: ${VOL}/clone.c
137         ${CCRULE}
138
139 nuke.o: ${VOL}/nuke.c
140         ${CCRULE}
141
142 devname.o: ${VOL}/devname.c
143         ${CCRULE}
144
145 common.o: ${VOL}/common.c
146         ${CCRULE}
147
148 listinodes.o: ${VOL}/listinodes.c
149         ${CCRULE}
150
151 ihandle.o: ${VOL}/ihandle.c
152         ${CCRULE}
153
154 namei_ops.o: ${VOL}/namei_ops.c
155         ${CCRULE}
156
157 afsaux.o: ${FSINT}/afsaux.c
158         ${CCRULE}
159
160 afscbint.cs.o: ${FSINT}/afscbint.cs.c
161         ${CCRULE}
162
163 afscbint.ss.o: ${FSINT}/afscbint.ss.c
164         ${CCRULE}
165
166 afsint.cs.o: ${FSINT}/afsint.cs.c
167         ${CCRULE}
168
169 afsint.ss.o: ${FSINT}/afsint.ss.c
170         ${CCRULE}
171
172 afsint.xdr.o: ${FSINT}/afsint.xdr.c
173         ${CCRULE}
174
175 fileserver: ${objects} ${LIBS}
176         ${CC} ${LDFLAGS} -o fileserver ${objects} ${LIBS} ${MT_LIBS} ${XLIBS}
177
178 ${DEST}/root.server/usr/afs/bin/fileserver: fileserver
179         ${INSTALL} -ns $? $@
180
181 install: ${DESTDIR}${afssrvlibexecdir}/fileserver
182
183 clean:
184         $(RM) -f *.o fileserver core AFS_component_version_number.c
185
186 include ../config/Makefile.version
187
188 ${DESTDIR}${afssrvlibexecdir}/fileserver: fileserver
189         ${INSTALL} -ns $? $@
190
191 dest: ${DEST}/root.server/usr/afs/bin/fileserver
192