090bc50deefd05108b1ff0311f8803a6d9ab3d69
[ira/wip.git] / source3 / lib / netapi / examples / Makefile.in
1 GTK_FLAGS=`pkg-config gtk+-2.0 --cflags`
2 GTK_LIBS=`pkg-config gtk+-2.0 --libs`
3
4 KRB5LIBS=@KRB5_LIBS@
5 LDAP_LIBS=@LDAP_LIBS@
6 LIBS=@LIBS@ -lnetapi -ltdb -ltalloc
7 DEVELOPER_CFLAGS=@DEVELOPER_CFLAGS@
8 CCFLAGS=-I../ -L../../../bin @CFLAGS@ $(GTK_FLAGS)
9 CC=@CC@
10 PICFLAG=@PICFLAG@
11 LDFLAGS=@PIE_LDFLAGS@ @LDFLAGS@
12 DYNEXP=@DYNEXP@
13 NETAPI_LIBS=$(LIBS) $(KRB5LIBS) $(LDAP_LIBS)
14 CMDLINE_LIBS=$(NETAPI_LIBS) @POPTLIBS@
15
16 # Compile a source file.
17 COMPILE_CC = $(CC) -I. $(CCFLAGS) $(PICFLAG) -c $< -o $@
18 COMPILE = $(COMPILE_CC)
19
20 PROGS = bin/getdc@EXEEXT@ \
21         bin/dsgetdc@EXEEXT@ \
22         bin/netdomjoin@EXEEXT@ \
23         bin/netdomjoin-gui@EXEEXT@ \
24         bin/getjoinableous@EXEEXT@ \
25         bin/rename_machine@EXEEXT@ \
26         bin/user_add@EXEEXT@ \
27         bin/user_del@EXEEXT@ \
28         bin/user_enum@EXEEXT@ \
29         bin/user_dispinfo@EXEEXT@ \
30         bin/user_chgpwd@EXEEXT@ \
31         bin/user_getinfo@EXEEXT@ \
32         bin/user_setinfo@EXEEXT@ \
33         bin/user_modalsget@EXEEXT@ \
34         bin/user_modalsset@EXEEXT@ \
35         bin/user_getgroups@EXEEXT@ \
36         bin/user_setgroups@EXEEXT@ \
37         bin/user_getlocalgroups@EXEEXT@ \
38         bin/group_add@EXEEXT@ \
39         bin/group_del@EXEEXT@ \
40         bin/group_enum@EXEEXT@ \
41         bin/group_setinfo@EXEEXT@ \
42         bin/group_getinfo@EXEEXT@ \
43         bin/group_adduser@EXEEXT@ \
44         bin/group_deluser@EXEEXT@ \
45         bin/group_getusers@EXEEXT@ \
46         bin/group_setusers@EXEEXT@ \
47         bin/localgroup_add@EXEEXT@ \
48         bin/localgroup_del@EXEEXT@ \
49         bin/localgroup_getinfo@EXEEXT@ \
50         bin/localgroup_setinfo@EXEEXT@ \
51         bin/localgroup_enum@EXEEXT@ \
52         bin/localgroup_addmembers@EXEEXT@ \
53         bin/localgroup_delmembers@EXEEXT@ \
54         bin/localgroup_setmembers@EXEEXT@ \
55         bin/localgroup_getmembers@EXEEXT@ \
56         bin/remote_tod@EXEEXT@ \
57         bin/server_getinfo@EXEEXT@ \
58         bin/share_add@EXEEXT@ \
59         bin/share_del@EXEEXT@ \
60         bin/share_enum@EXEEXT@ \
61         bin/share_getinfo@EXEEXT@ \
62         bin/share_setinfo@EXEEXT@ \
63         bin/file_close@EXEEXT@ \
64         bin/file_getinfo@EXEEXT@ \
65         bin/file_enum@EXEEXT@
66
67 all: $(PROGS)
68
69 MAKEDIR = || exec false; \
70           if test -d "$$dir"; then :; else \
71           echo mkdir "$$dir"; \
72           mkdir -p "$$dir" >/dev/null 2>&1 || \
73           test -d "$$dir" || \
74           mkdir "$$dir" || \
75           exec false; fi || exec false
76
77 BINARY_PREREQS = bin/.dummy
78
79 bin/.dummy:
80         @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
81           dir=bin $(MAKEDIR); fi
82         @: >> $@ || : > $@ # what a fancy emoticon!
83
84 .c.o:
85         @if (: >> $@ || : > $@) >/dev/null 2>&1; then rm -f $@; else \
86          dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR); fi
87         @echo Compiling $*.c
88         @$(COMPILE) && exit 0;\
89                 echo "The following command failed:" 1>&2;\
90                 echo "$(COMPILE_CC)" 1>&2;\
91                 $(COMPILE_CC) >/dev/null 2>&1
92
93 CMDLINE_OBJ = common.o
94 GETDC_OBJ = getdc/getdc.o $(CMDLINE_OBJ)
95 DSGETDC_OBJ = dsgetdc/dsgetdc.o $(CMDLINE_OBJ)
96 NETDOMJOIN_OBJ = join/netdomjoin.o $(CMDLINE_OBJ)
97 NETDOMJOIN_GUI_OBJ = netdomjoin-gui/netdomjoin-gui.o
98 GETJOINABLEOUS_OBJ = join/getjoinableous.o $(CMDLINE_OBJ)
99 RENAMEMACHINE_OBJ = join/rename_machine.o $(CMDLINE_OBJ)
100 USERADD_OBJ = user/user_add.o $(CMDLINE_OBJ)
101 USERDEL_OBJ = user/user_del.o $(CMDLINE_OBJ)
102 USERENUM_OBJ = user/user_enum.o $(CMDLINE_OBJ)
103 USERDISPINFO_OBJ = user/user_dispinfo.o $(CMDLINE_OBJ)
104 USERCHGPWD_OBJ = user/user_chgpwd.o $(CMDLINE_OBJ)
105 USERGETINFO_OBJ = user/user_getinfo.o $(CMDLINE_OBJ)
106 USERSETINFO_OBJ = user/user_setinfo.o $(CMDLINE_OBJ)
107 USERMODALSGET_OBJ = user/user_modalsget.o $(CMDLINE_OBJ)
108 USERMODALSSET_OBJ = user/user_modalsset.o $(CMDLINE_OBJ)
109 USERGETGROUPS_OBJ = user/user_getgroups.o $(CMDLINE_OBJ)
110 USERSETGROUPS_OBJ = user/user_setgroups.o $(CMDLINE_OBJ)
111 USERGETLOCALGROUPS_OBJ = user/user_getlocalgroups.o $(CMDLINE_OBJ)
112 GROUPADD_OBJ = group/group_add.o $(CMDLINE_OBJ)
113 GROUPDEL_OBJ = group/group_del.o $(CMDLINE_OBJ)
114 GROUPENUM_OBJ = group/group_enum.o $(CMDLINE_OBJ)
115 GROUPSETINFO_OBJ = group/group_setinfo.o $(CMDLINE_OBJ)
116 GROUPGETINFO_OBJ = group/group_getinfo.o $(CMDLINE_OBJ)
117 GROUPADDUSER_OBJ = group/group_adduser.o $(CMDLINE_OBJ)
118 GROUPDELUSER_OBJ = group/group_deluser.o $(CMDLINE_OBJ)
119 GROUPGETUSERS_OBJ = group/group_getusers.o $(CMDLINE_OBJ)
120 GROUPSETUSERS_OBJ = group/group_setusers.o $(CMDLINE_OBJ)
121 LOCALGROUPADD_OBJ = localgroup/localgroup_add.o $(CMDLINE_OBJ)
122 LOCALGROUPDEL_OBJ = localgroup/localgroup_del.o $(CMDLINE_OBJ)
123 LOCALGROUPGETINFO_OBJ = localgroup/localgroup_getinfo.o $(CMDLINE_OBJ)
124 LOCALGROUPSETINFO_OBJ = localgroup/localgroup_setinfo.o $(CMDLINE_OBJ)
125 LOCALGROUPENUM_OBJ = localgroup/localgroup_enum.o $(CMDLINE_OBJ)
126 LOCALGROUPADDMEMBERS_OBJ = localgroup/localgroup_addmembers.o $(CMDLINE_OBJ)
127 LOCALGROUPDELMEMBERS_OBJ = localgroup/localgroup_delmembers.o $(CMDLINE_OBJ)
128 LOCALGROUPSETMEMBERS_OBJ = localgroup/localgroup_setmembers.o $(CMDLINE_OBJ)
129 LOCALGROUPGETMEMBERS_OBJ = localgroup/localgroup_getmembers.o $(CMDLINE_OBJ)
130 REMOTETOD_OBJ = server/remote_tod.o $(CMDLINE_OBJ)
131 SERVERGETINFO_OBJ = server/server_getinfo.o $(CMDLINE_OBJ)
132 SHAREADD_OBJ = share/share_add.o $(CMDLINE_OBJ)
133 SHAREDEL_OBJ = share/share_del.o $(CMDLINE_OBJ)
134 SHAREENUM_OBJ = share/share_enum.o $(CMDLINE_OBJ)
135 SHAREGETINFO_OBJ = share/share_getinfo.o $(CMDLINE_OBJ)
136 SHARESETINFO_OBJ = share/share_setinfo.o $(CMDLINE_OBJ)
137 FILECLOSE_OBJ = file/file_close.o $(CMDLINE_OBJ)
138 FILEGETINFO_OBJ = file/file_getinfo.o $(CMDLINE_OBJ)
139 FILEENUM_OBJ = file/file_enum.o $(CMDLINE_OBJ)
140
141 bin/getdc@EXEEXT@: $(BINARY_PREREQS) $(GETDC_OBJ)
142         @echo Linking $@
143         @$(CC) $(CCFLAGS) -o $@ $(GETDC_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
144
145 bin/dsgetdc@EXEEXT@: $(BINARY_PREREQS) $(DSGETDC_OBJ)
146         @echo Linking $@
147         @$(CC) $(CCFLAGS) -o $@ $(DSGETDC_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
148
149 bin/getjoinableous@EXEEXT@: $(BINARY_PREREQS) $(GETJOINABLEOUS_OBJ)
150         @echo Linking $@
151         @$(CC) $(CCFLAGS) -o $@ $(GETJOINABLEOUS_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
152
153 bin/rename_machine@EXEEXT@: $(BINARY_PREREQS) $(RENAMEMACHINE_OBJ)
154         @echo Linking $@
155         @$(CC) $(CCFLAGS) -o $@ $(RENAMEMACHINE_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
156
157 bin/netdomjoin@EXEEXT@: $(BINARY_PREREQS) $(NETDOMJOIN_OBJ)
158         @echo Linking $@
159         @$(CC) $(CCFLAGS) -o $@ $(NETDOMJOIN_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
160
161 bin/netdomjoin-gui@EXEEXT@: $(BINARY_PREREQS) $(NETDOMJOIN_GUI_OBJ)
162         @echo Linking $@
163         @$(CC) $(CCFLAGS) $(GTK_FLAGS) -o $@ $(NETDOMJOIN_GUI_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(GTK_LIBS)
164
165 bin/user_add@EXEEXT@: $(BINARY_PREREQS) $(USERADD_OBJ)
166         @echo Linking $@
167         @$(CC) $(CCFLAGS) -o $@ $(USERADD_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
168
169 bin/user_del@EXEEXT@: $(BINARY_PREREQS) $(USERDEL_OBJ)
170         @echo Linking $@
171         @$(CC) $(CCFLAGS) -o $@ $(USERDEL_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
172
173 bin/user_enum@EXEEXT@: $(BINARY_PREREQS) $(USERENUM_OBJ)
174         @echo Linking $@
175         @$(CC) $(CCFLAGS) -o $@ $(USERENUM_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
176
177 bin/user_dispinfo@EXEEXT@: $(BINARY_PREREQS) $(USERDISPINFO_OBJ)
178         @echo Linking $@
179         @$(CC) $(CCFLAGS) -o $@ $(USERDISPINFO_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
180
181 bin/user_chgpwd@EXEEXT@: $(BINARY_PREREQS) $(USERCHGPWD_OBJ)
182         @echo Linking $@
183         @$(CC) $(CCFLAGS) -o $@ $(USERCHGPWD_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
184
185 bin/user_getinfo@EXEEXT@: $(BINARY_PREREQS) $(USERGETINFO_OBJ)
186         @echo Linking $@
187         @$(CC) $(CCFLAGS) -o $@ $(USERGETINFO_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
188
189 bin/user_setinfo@EXEEXT@: $(BINARY_PREREQS) $(USERSETINFO_OBJ)
190         @echo Linking $@
191         @$(CC) $(CCFLAGS) -o $@ $(USERSETINFO_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
192
193 bin/user_modalsget@EXEEXT@: $(BINARY_PREREQS) $(USERMODALSGET_OBJ)
194         @echo Linking $@
195         @$(CC) $(CCFLAGS) -o $@ $(USERMODALSGET_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
196
197 bin/user_modalsset@EXEEXT@: $(BINARY_PREREQS) $(USERMODALSSET_OBJ)
198         @echo Linking $@
199         @$(CC) $(CCFLAGS) -o $@ $(USERMODALSSET_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
200
201 bin/user_getgroups@EXEEXT@: $(BINARY_PREREQS) $(USERGETGROUPS_OBJ)
202         @echo Linking $@
203         @$(CC) $(CCFLAGS) -o $@ $(USERGETGROUPS_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
204
205 bin/user_setgroups@EXEEXT@: $(BINARY_PREREQS) $(USERSETGROUPS_OBJ)
206         @echo Linking $@
207         @$(CC) $(CCFLAGS) -o $@ $(USERSETGROUPS_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
208
209 bin/user_getlocalgroups@EXEEXT@: $(BINARY_PREREQS) $(USERGETLOCALGROUPS_OBJ)
210         @echo Linking $@
211         @$(CC) $(CCFLAGS) -o $@ $(USERGETLOCALGROUPS_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
212
213 bin/group_add@EXEEXT@: $(BINARY_PREREQS) $(GROUPADD_OBJ)
214         @echo Linking $@
215         @$(CC) $(CCFLAGS) -o $@ $(GROUPADD_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
216
217 bin/group_del@EXEEXT@: $(BINARY_PREREQS) $(GROUPDEL_OBJ)
218         @echo Linking $@
219         @$(CC) $(CCFLAGS) -o $@ $(GROUPDEL_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
220
221 bin/group_enum@EXEEXT@: $(BINARY_PREREQS) $(GROUPENUM_OBJ)
222         @echo Linking $@
223         @$(CC) $(CCFLAGS) -o $@ $(GROUPENUM_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
224
225 bin/group_setinfo@EXEEXT@: $(BINARY_PREREQS) $(GROUPSETINFO_OBJ)
226         @echo Linking $@
227         @$(CC) $(CCFLAGS) -o $@ $(GROUPSETINFO_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
228
229 bin/group_getinfo@EXEEXT@: $(BINARY_PREREQS) $(GROUPGETINFO_OBJ)
230         @echo Linking $@
231         @$(CC) $(CCFLAGS) -o $@ $(GROUPGETINFO_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
232
233 bin/group_adduser@EXEEXT@: $(BINARY_PREREQS) $(GROUPADDUSER_OBJ)
234         @echo Linking $@
235         @$(CC) $(CCFLAGS) -o $@ $(GROUPADDUSER_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
236
237 bin/group_deluser@EXEEXT@: $(BINARY_PREREQS) $(GROUPDELUSER_OBJ)
238         @echo Linking $@
239         @$(CC) $(CCFLAGS) -o $@ $(GROUPDELUSER_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
240
241 bin/group_getusers@EXEEXT@: $(BINARY_PREREQS) $(GROUPGETUSERS_OBJ)
242         @echo Linking $@
243         @$(CC) $(CCFLAGS) -o $@ $(GROUPGETUSERS_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
244
245 bin/group_setusers@EXEEXT@: $(BINARY_PREREQS) $(GROUPSETUSERS_OBJ)
246         @echo Linking $@
247         @$(CC) $(CCFLAGS) -o $@ $(GROUPSETUSERS_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
248
249 bin/localgroup_add@EXEEXT@: $(BINARY_PREREQS) $(LOCALGROUPADD_OBJ)
250         @echo Linking $@
251         @$(CC) $(CCFLAGS) -o $@ $(LOCALGROUPADD_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
252
253 bin/localgroup_del@EXEEXT@: $(BINARY_PREREQS) $(LOCALGROUPDEL_OBJ)
254         @echo Linking $@
255         @$(CC) $(CCFLAGS) -o $@ $(LOCALGROUPDEL_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
256
257 bin/localgroup_getinfo@EXEEXT@: $(BINARY_PREREQS) $(LOCALGROUPGETINFO_OBJ)
258         @echo Linking $@
259         @$(CC) $(CCFLAGS) -o $@ $(LOCALGROUPGETINFO_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
260
261 bin/localgroup_setinfo@EXEEXT@: $(BINARY_PREREQS) $(LOCALGROUPSETINFO_OBJ)
262         @echo Linking $@
263         @$(CC) $(CCFLAGS) -o $@ $(LOCALGROUPSETINFO_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
264
265 bin/localgroup_enum@EXEEXT@: $(BINARY_PREREQS) $(LOCALGROUPENUM_OBJ)
266         @echo Linking $@
267         @$(CC) $(CCFLAGS) -o $@ $(LOCALGROUPENUM_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
268
269 bin/localgroup_addmembers@EXEEXT@: $(BINARY_PREREQS) $(LOCALGROUPADDMEMBERS_OBJ)
270         @echo Linking $@
271         @$(CC) $(CCFLAGS) -o $@ $(LOCALGROUPADDMEMBERS_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
272
273 bin/localgroup_delmembers@EXEEXT@: $(BINARY_PREREQS) $(LOCALGROUPDELMEMBERS_OBJ)
274         @echo Linking $@
275         @$(CC) $(CCFLAGS) -o $@ $(LOCALGROUPDELMEMBERS_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
276
277 bin/localgroup_setmembers@EXEEXT@: $(BINARY_PREREQS) $(LOCALGROUPSETMEMBERS_OBJ)
278         @echo Linking $@
279         @$(CC) $(CCFLAGS) -o $@ $(LOCALGROUPSETMEMBERS_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
280
281 bin/localgroup_getmembers@EXEEXT@: $(BINARY_PREREQS) $(LOCALGROUPGETMEMBERS_OBJ)
282         @echo Linking $@
283         @$(CC) $(CCFLAGS) -o $@ $(LOCALGROUPGETMEMBERS_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
284
285 bin/remote_tod@EXEEXT@: $(BINARY_PREREQS) $(REMOTETOD_OBJ)
286         @echo Linking $@
287         @$(CC) $(CCFLAGS) -o $@ $(REMOTETOD_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
288
289 bin/server_getinfo@EXEEXT@: $(BINARY_PREREQS) $(SERVERGETINFO_OBJ)
290         @echo Linking $@
291         @$(CC) $(CCFLAGS) -o $@ $(SERVERGETINFO_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
292
293 bin/share_add@EXEEXT@: $(BINARY_PREREQS) $(SHAREADD_OBJ)
294         @echo Linking $@
295         @$(CC) $(CCFLAGS) -o $@ $(SHAREADD_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
296
297 bin/share_del@EXEEXT@: $(BINARY_PREREQS) $(SHAREDEL_OBJ)
298         @echo Linking $@
299         @$(CC) $(CCFLAGS) -o $@ $(SHAREDEL_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
300
301 bin/share_enum@EXEEXT@: $(BINARY_PREREQS) $(SHAREENUM_OBJ)
302         @echo Linking $@
303         @$(CC) $(CCFLAGS) -o $@ $(SHAREENUM_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
304
305 bin/share_getinfo@EXEEXT@: $(BINARY_PREREQS) $(SHAREGETINFO_OBJ)
306         @echo Linking $@
307         @$(CC) $(CCFLAGS) -o $@ $(SHAREGETINFO_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
308
309 bin/share_setinfo@EXEEXT@: $(BINARY_PREREQS) $(SHARESETINFO_OBJ)
310         @echo Linking $@
311         @$(CC) $(CCFLAGS) -o $@ $(SHARESETINFO_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
312
313 bin/file_close@EXEEXT@: $(BINARY_PREREQS) $(FILECLOSE_OBJ)
314         @echo Linking $@
315         @$(CC) $(CCFLAGS) -o $@ $(FILECLOSE_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
316
317 bin/file_getinfo@EXEEXT@: $(BINARY_PREREQS) $(FILEGETINFO_OBJ)
318         @echo Linking $@
319         @$(CC) $(CCFLAGS) -o $@ $(FILEGETINFO_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
320
321 bin/file_enum@EXEEXT@: $(BINARY_PREREQS) $(FILEENUM_OBJ)
322         @echo Linking $@
323         @$(CC) $(CCFLAGS) -o $@ $(FILEENUM_OBJ) $(LDFLAGS) $(DYNEXP) $(CMDLINE_LIBS)
324
325 clean:
326         -rm -f $(PROGS)
327         -rm -f core */*~ *~ \
328                 */*.o */*/*.o */*/*/*.o