]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/ipfilter/lib/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / ipfilter / lib / Makefile
1 #
2 # Copyright (C) 2012 by Darren Reed.
3 #
4 # See the IPFILTER.LICENCE file for details on licencing.
5 #
6 # $Id$
7 #
8 INCDEP=$(TOP)/ip_compat.h $(TOP)/ip_fil.h $(TOP)/ipf.h
9
10 LIBOBJS=$(DEST)/addicmp.o \
11      $(DEST)/addipopt.o \
12      $(DEST)/alist_free.o \
13      $(DEST)/alist_new.o \
14      $(DEST)/allocmbt.o \
15      $(DEST)/assigndefined.o \
16      $(DEST)/bcopywrap.o \
17      $(DEST)/binprint.o \
18      $(DEST)/buildopts.o \
19      $(DEST)/checkrev.o \
20      $(DEST)/connecttcp.o \
21      $(DEST)/count6bits.o \
22      $(DEST)/count4bits.o \
23      $(DEST)/debug.o \
24      $(DEST)/dupmbt.o \
25      $(DEST)/familyname.o \
26      $(DEST)/facpri.o \
27      $(DEST)/fill6bits.o \
28      $(DEST)/findword.o \
29      $(DEST)/flags.o \
30      $(DEST)/freembt.o \
31      $(DEST)/ftov.o \
32      $(DEST)/genmask.o \
33      $(DEST)/gethost.o \
34      $(DEST)/geticmptype.o \
35      $(DEST)/getifname.o \
36      $(DEST)/getnattype.o \
37      $(DEST)/getport.o \
38      $(DEST)/getportproto.o \
39      $(DEST)/getproto.o \
40      $(DEST)/getsumd.o \
41      $(DEST)/hostname.o \
42      $(DEST)/icmpcode.o \
43      $(DEST)/icmptypename.o \
44      $(DEST)/icmptypes.o \
45      $(DEST)/initparse.o \
46      $(DEST)/interror.o \
47      $(DEST)/ionames.o \
48      $(DEST)/ipf_dotuning.o \
49      $(DEST)/ipf_perror.o \
50      $(DEST)/ipft_hx.o \
51      $(DEST)/ipft_pc.o \
52      $(DEST)/ipft_tx.o \
53      $(DEST)/ipoptsec.o \
54      $(DEST)/kmem.o \
55      $(DEST)/kmemcpywrap.o \
56      $(DEST)/kvatoname.o \
57      $(DEST)/load_file.o \
58      $(DEST)/load_dstlist.o \
59      $(DEST)/load_dstlistnode.o \
60      $(DEST)/load_hash.o \
61      $(DEST)/load_hashnode.o \
62      $(DEST)/load_http.o \
63      $(DEST)/load_pool.o \
64      $(DEST)/load_poolnode.o \
65      $(DEST)/load_url.o \
66      $(DEST)/msgdsize.o \
67      $(DEST)/mutex_emul.o \
68      $(DEST)/nametokva.o \
69      $(DEST)/nat_setgroupmap.o \
70      $(DEST)/ntomask.o \
71      $(DEST)/optname.o \
72      $(DEST)/optprint.o \
73      $(DEST)/optprintv6.o \
74      $(DEST)/optvalue.o \
75      $(DEST)/parsefields.o \
76      $(DEST)/parseipfexpr.o \
77      $(DEST)/parsewhoisline.o \
78      $(DEST)/poolio.o \
79      $(DEST)/portname.o \
80      $(DEST)/print_toif.o \
81      $(DEST)/printactiveaddr.o \
82      $(DEST)/printactivenat.o \
83      $(DEST)/printaddr.o \
84      $(DEST)/printaps.o \
85      $(DEST)/printbuf.o \
86      $(DEST)/printdstlist.o \
87      $(DEST)/printdstlistdata.o \
88      $(DEST)/printdstlistnode.o \
89      $(DEST)/printdstlistpolicy.o \
90      $(DEST)/printdstl_live.o \
91      $(DEST)/printfieldhdr.o \
92      $(DEST)/printfr.o \
93      $(DEST)/printfraginfo.o \
94      $(DEST)/printhash.o \
95      $(DEST)/printhashdata.o \
96      $(DEST)/printhashnode.o \
97      $(DEST)/printhash_live.o \
98      $(DEST)/printhost.o \
99      $(DEST)/printhostmap.o \
100      $(DEST)/printhostmask.o \
101      $(DEST)/printifname.o \
102      $(DEST)/printip.o \
103      $(DEST)/printipfexpr.o \
104      $(DEST)/printlog.o \
105      $(DEST)/printlookup.o \
106      $(DEST)/printmask.o \
107      $(DEST)/printnat.o \
108      $(DEST)/printnataddr.o \
109      $(DEST)/printnatfield.o \
110      $(DEST)/printnatside.o \
111      $(DEST)/printpool.o \
112      $(DEST)/printpooldata.o \
113      $(DEST)/printpoolfield.o \
114      $(DEST)/printpoolnode.o \
115      $(DEST)/printpool_live.o \
116      $(DEST)/printproto.o \
117      $(DEST)/printportcmp.o \
118      $(DEST)/printpacket.o \
119      $(DEST)/printpacket6.o \
120      $(DEST)/printsbuf.o \
121      $(DEST)/printstate.o \
122      $(DEST)/printstatefields.o \
123      $(DEST)/printtcpflags.o \
124      $(DEST)/printtqtable.o \
125      $(DEST)/printtunable.o \
126      $(DEST)/printunit.o \
127      $(DEST)/remove_hash.o \
128      $(DEST)/remove_hashnode.o \
129      $(DEST)/remove_pool.o \
130      $(DEST)/remove_poolnode.o \
131      $(DEST)/resetlexer.o \
132      $(DEST)/rwlock_emul.o \
133      $(DEST)/save_execute.o \
134      $(DEST)/save_file.o \
135      $(DEST)/save_nothing.o \
136      $(DEST)/save_syslog.o \
137      $(DEST)/save_v1trap.o \
138      $(DEST)/save_v2trap.o \
139      $(DEST)/tcpflags.o \
140      $(DEST)/var.o \
141      $(DEST)/verbose.o \
142      $(DEST)/vtof.o \
143      $(DEST)/v6ionames.o \
144      $(DEST)/v6optvalue.o
145
146 $(DEST)/libipf.a: $(LIBOBJS)
147         /bin/rm -f $@
148         ar $(AROPTS) $@ $(LIBOBJS)
149         $(RANLIB) $@
150
151 $(DEST)/addicmp.o: $(LIBSRC)/addicmp.c $(INCDEP)
152         $(CC) $(CCARGS) -c $(LIBSRC)/addicmp.c -o $@
153 $(DEST)/addipopt.o: $(LIBSRC)/addipopt.c $(INCDEP)
154         $(CC) $(CCARGS) -c $(LIBSRC)/addipopt.c -o $@
155 $(DEST)/alist_free.o: $(LIBSRC)/alist_free.c $(INCDEP)
156         $(CC) $(CCARGS) -c $(LIBSRC)/alist_free.c -o $@
157 $(DEST)/alist_new.o: $(LIBSRC)/alist_new.c $(INCDEP)
158         $(CC) $(CCARGS) -c $(LIBSRC)/alist_new.c -o $@
159 $(DEST)/allocmbt.o: $(LIBSRC)/allocmbt.c $(INCDEP)
160         $(CC) $(CCARGS) -c $(LIBSRC)/allocmbt.c -o $@
161 $(DEST)/assigndefined.o: $(LIBSRC)/assigndefined.c $(INCDEP)
162         $(CC) $(CCARGS) -c $(LIBSRC)/assigndefined.c -o $@
163 $(DEST)/bcopywrap.o: $(LIBSRC)/bcopywrap.c $(INCDEP)
164         $(CC) $(CCARGS) -c $(LIBSRC)/bcopywrap.c -o $@
165 $(DEST)/binprint.o: $(LIBSRC)/binprint.c $(INCDEP)
166         $(CC) $(CCARGS) -c $(LIBSRC)/binprint.c -o $@
167 $(DEST)/buildopts.o: $(LIBSRC)/buildopts.c $(INCDEP)
168         $(CC) $(CCARGS) -c $(LIBSRC)/buildopts.c -o $@
169 $(DEST)/connecttcp.o: $(LIBSRC)/connecttcp.c $(INCDEP)
170         $(CC) $(CCARGS) -c $(LIBSRC)/connecttcp.c -o $@
171 $(DEST)/count6bits.o: $(LIBSRC)/count6bits.c $(INCDEP)
172         $(CC) $(CCARGS) -c $(LIBSRC)/count6bits.c -o $@
173 $(DEST)/checkrev.o: $(LIBSRC)/checkrev.c $(INCDEP) $(TOP)/ipl.h
174         $(CC) $(CCARGS) -c $(LIBSRC)/checkrev.c -o $@
175 $(DEST)/count4bits.o: $(LIBSRC)/count4bits.c $(INCDEP)
176         $(CC) $(CCARGS) -c $(LIBSRC)/count4bits.c -o $@
177 $(DEST)/debug.o: $(LIBSRC)/debug.c $(INCDEP)
178         $(CC) $(CCARGS) -c $(LIBSRC)/debug.c -o $@
179 $(DEST)/dupmbt.o: $(LIBSRC)/dupmbt.c $(INCDEP)
180         $(CC) $(CCARGS) -c $(LIBSRC)/dupmbt.c -o $@
181 $(DEST)/facpri.o: $(LIBSRC)/facpri.c $(INCDEP)
182         $(CC) $(CCARGS) -c $(LIBSRC)/facpri.c -o $@
183 $(DEST)/familyname.o: $(LIBSRC)/familyname.c $(INCDEP)
184         $(CC) $(CCARGS) -c $(LIBSRC)/familyname.c -o $@
185 $(DEST)/fill6bits.o: $(LIBSRC)/fill6bits.c $(INCDEP)
186         $(CC) $(CCARGS) -c $(LIBSRC)/fill6bits.c -o $@
187 $(DEST)/findword.o: $(LIBSRC)/findword.c $(INCDEP)
188         $(CC) $(CCARGS) -c $(LIBSRC)/findword.c -o $@
189 $(DEST)/flags.o: $(LIBSRC)/flags.c $(INCDEP)
190         $(CC) $(CCARGS) -c $(LIBSRC)/flags.c -o $@
191 $(DEST)/freembt.o: $(LIBSRC)/freembt.c $(INCDEP)
192         $(CC) $(CCARGS) -c $(LIBSRC)/freembt.c -o $@
193 $(DEST)/ftov.o: $(LIBSRC)/ftov.c $(INCDEP)
194         $(CC) $(CCARGS) -c $(LIBSRC)/ftov.c -o $@
195 $(DEST)/genmask.o: $(LIBSRC)/genmask.c $(INCDEP)
196         $(CC) $(CCARGS) -c $(LIBSRC)/genmask.c -o $@
197 $(DEST)/gethost.o: $(LIBSRC)/gethost.c $(INCDEP)
198         $(CC) $(CCARGS) -c $(LIBSRC)/gethost.c -o $@
199 $(DEST)/geticmptype.o: $(LIBSRC)/geticmptype.c $(INCDEP)
200         $(CC) $(CCARGS) -c $(LIBSRC)/geticmptype.c -o $@
201 $(DEST)/getifname.o: $(LIBSRC)/getifname.c $(INCDEP)
202         $(CC) $(CCARGS) -c $(LIBSRC)/getifname.c -o $@
203 $(DEST)/getnattype.o: $(LIBSRC)/getnattype.c $(INCDEP) $(TOP)/ip_nat.h
204         $(CC) $(CCARGS) -c $(LIBSRC)/getnattype.c -o $@
205 $(DEST)/getport.o: $(LIBSRC)/getport.c $(INCDEP)
206         $(CC) $(CCARGS) -c $(LIBSRC)/getport.c -o $@
207 $(DEST)/getportproto.o: $(LIBSRC)/getportproto.c $(INCDEP)
208         $(CC) $(CCARGS) -c $(LIBSRC)/getportproto.c -o $@
209 $(DEST)/getproto.o: $(LIBSRC)/getproto.c $(INCDEP)
210         $(CC) $(CCARGS) -c $(LIBSRC)/getproto.c -o $@
211 $(DEST)/getsumd.o: $(LIBSRC)/getsumd.c $(INCDEP)
212         $(CC) $(CCARGS) -c $(LIBSRC)/getsumd.c -o $@
213 $(DEST)/hostname.o: $(LIBSRC)/hostname.c $(INCDEP)
214         $(CC) $(CCARGS) -c $(LIBSRC)/hostname.c -o $@
215 $(DEST)/icmpcode.o: $(LIBSRC)/icmpcode.c $(INCDEP)
216         $(CC) $(CCARGS) -c $(LIBSRC)/icmpcode.c -o $@
217 $(DEST)/icmptypename.o: $(LIBSRC)/icmptypename.c $(INCDEP)
218         $(CC) $(CCARGS) -c $(LIBSRC)/icmptypename.c -o $@
219 $(DEST)/icmptypes.o: $(LIBSRC)/icmptypes.c $(INCDEP)
220         $(CC) $(CCARGS) -c $(LIBSRC)/icmptypes.c -o $@
221 $(DEST)/interror.o: $(LIBSRC)/interror.c $(INCDEP)
222         $(CC) $(CCARGS) -c $(LIBSRC)/interror.c -o $@
223 $(DEST)/ipoptsec.o: $(LIBSRC)/ipoptsec.c $(INCDEP)
224         $(CC) $(CCARGS) -c $(LIBSRC)/ipoptsec.c -o $@
225 $(DEST)/initparse.o: $(LIBSRC)/initparse.c $(INCDEP)
226         $(CC) $(CCARGS) -c $(LIBSRC)/initparse.c -o $@
227 $(DEST)/ionames.o: $(LIBSRC)/ionames.c $(INCDEP)
228         $(CC) $(CCARGS) -c $(LIBSRC)/ionames.c -o $@
229 $(DEST)/ipf_dotuning.o: $(LIBSRC)/ipf_dotuning.c $(INCDEP)
230         $(CC) $(CCARGS) -c $(LIBSRC)/ipf_dotuning.c -o $@
231 $(DEST)/ipf_perror.o: $(LIBSRC)/ipf_perror.c $(INCDEP)
232         $(CC) $(CCARGS) -c $(LIBSRC)/ipf_perror.c -o $@
233 $(DEST)/ipft_hx.o: $(LIBSRC)/ipft_hx.c $(INCDEP)
234         $(CC) $(CCARGS) -c $(LIBSRC)/ipft_hx.c -o $@
235 $(DEST)/ipft_pc.o: $(LIBSRC)/ipft_pc.c $(INCDEP)
236         $(CC) $(CCARGS) -c $(LIBSRC)/ipft_pc.c -o $@
237 $(DEST)/ipft_tx.o: $(LIBSRC)/ipft_tx.c $(INCDEP)
238         $(CC) $(CCARGS) -c $(LIBSRC)/ipft_tx.c -o $@
239 $(DEST)/kmem.o: $(LIBSRC)/kmem.c $(INCDEP)
240         $(CC) $(CCARGS) -c $(LIBSRC)/kmem.c -o $@
241 $(DEST)/kmemcpywrap.o: $(LIBSRC)/kmemcpywrap.c $(INCDEP)
242         $(CC) $(CCARGS) -c $(LIBSRC)/kmemcpywrap.c -o $@
243 $(DEST)/kvatoname.o: $(LIBSRC)/kvatoname.c $(INCDEP)
244         $(CC) $(CCARGS) -c $(LIBSRC)/kvatoname.c -o $@
245 $(DEST)/load_file.o: $(LIBSRC)/load_file.c $(INCDEP)
246         $(CC) $(CCARGS) -c $(LIBSRC)/load_file.c -o $@
247 $(DEST)/load_dstlist.o: $(LIBSRC)/load_dstlist.c $(INCDEP) $(TOP)/ip_dstlist.h
248         $(CC) $(CCARGS) -c $(LIBSRC)/load_dstlist.c -o $@
249 $(DEST)/load_dstlistnode.o: $(LIBSRC)/load_dstlistnode.c $(INCDEP) \
250     $(TOP)/ip_dstlist.h
251         $(CC) $(CCARGS) -c $(LIBSRC)/load_dstlistnode.c -o $@
252 $(DEST)/load_hash.o: $(LIBSRC)/load_hash.c $(INCDEP) $(TOP)/ip_htable.h
253         $(CC) $(CCARGS) -c $(LIBSRC)/load_hash.c -o $@
254 $(DEST)/load_hashnode.o: $(LIBSRC)/load_hashnode.c $(INCDEP) $(TOP)/ip_htable.h
255         $(CC) $(CCARGS) -c $(LIBSRC)/load_hashnode.c -o $@
256 $(DEST)/load_http.o: $(LIBSRC)/load_http.c $(INCDEP)
257         $(CC) $(CCARGS) -c $(LIBSRC)/load_http.c -o $@
258 $(DEST)/load_pool.o: $(LIBSRC)/load_pool.c $(INCDEP) $(TOP)/ip_pool.h
259         $(CC) $(CCARGS) -c $(LIBSRC)/load_pool.c -o $@
260 $(DEST)/load_poolnode.o: $(LIBSRC)/load_poolnode.c $(INCDEP) $(TOP)/ip_pool.h
261         $(CC) $(CCARGS) -c $(LIBSRC)/load_poolnode.c -o $@
262 $(DEST)/load_url.o: $(LIBSRC)/load_url.c $(INCDEP)
263         $(CC) $(CCARGS) -c $(LIBSRC)/load_url.c -o $@
264 $(DEST)/msgdsize.o: $(LIBSRC)/msgdsize.c $(INCDEP)
265         $(CC) $(CCARGS) -c $(LIBSRC)/msgdsize.c -o $@
266 $(DEST)/mutex_emul.o: $(LIBSRC)/mutex_emul.c $(INCDEP)
267         $(CC) $(CCARGS) -c $(LIBSRC)/mutex_emul.c -o $@
268 $(DEST)/nametokva.o: $(LIBSRC)/nametokva.c $(INCDEP)
269         $(CC) $(CCARGS) -c $(LIBSRC)/nametokva.c -o $@
270 $(DEST)/nat_setgroupmap.o: $(LIBSRC)/nat_setgroupmap.c $(TOP)/ip_compat.h \
271     $(TOP)/ipf.h $(TOP)/ip_nat.h
272         $(CC) $(CCARGS) -c $(LIBSRC)/nat_setgroupmap.c -o $@
273 $(DEST)/ntomask.o: $(LIBSRC)/ntomask.c $(TOP)/ip_compat.h
274         $(CC) $(CCARGS) -c $(LIBSRC)/ntomask.c -o $@
275 $(DEST)/optname.o: $(LIBSRC)/optname.c $(INCDEP)
276         $(CC) $(CCARGS) -c $(LIBSRC)/optname.c -o $@
277 $(DEST)/optprint.o: $(LIBSRC)/optprint.c $(INCDEP)
278         $(CC) $(CCARGS) -c $(LIBSRC)/optprint.c -o $@
279 $(DEST)/optprintv6.o: $(LIBSRC)/optprintv6.c $(INCDEP)
280         $(CC) $(CCARGS) -c $(LIBSRC)/optprintv6.c -o $@
281 $(DEST)/optvalue.o: $(LIBSRC)/optvalue.c $(INCDEP)
282         $(CC) $(CCARGS) -c $(LIBSRC)/optvalue.c -o $@
283 $(DEST)/parsefields.o: $(LIBSRC)/parsefields.c $(INCDEP)
284         $(CC) $(CCARGS) -c $(LIBSRC)/parsefields.c -o $@
285 $(DEST)/parseipfexpr.o: $(LIBSRC)/parseipfexpr.c $(INCDEP)
286         $(CC) $(CCARGS) -c $(LIBSRC)/parseipfexpr.c -o $@
287 $(DEST)/parsewhoisline.o: $(LIBSRC)/parsewhoisline.c $(INCDEP)
288         $(CC) $(CCARGS) -c $(LIBSRC)/parsewhoisline.c -o $@
289 $(DEST)/poolio.o: $(LIBSRC)/poolio.c $(INCDEP)
290         $(CC) $(CCARGS) -c $(LIBSRC)/poolio.c -o $@
291 $(DEST)/portname.o: $(LIBSRC)/portname.c $(INCDEP)
292         $(CC) $(CCARGS) -c $(LIBSRC)/portname.c -o $@
293 $(DEST)/print_toif.o: $(LIBSRC)/print_toif.c $(INCDEP)
294         $(CC) $(CCARGS) -c $(LIBSRC)/print_toif.c -o $@
295 $(DEST)/printactiveaddr.o: $(LIBSRC)/printactiveaddr.c $(INCDEP) $(TOP)/ip_nat.h
296         $(CC) $(CCARGS) -c $(LIBSRC)/printactiveaddr.c -o $@
297 $(DEST)/printactivenat.o: $(LIBSRC)/printactivenat.c $(INCDEP) $(TOP)/ip_nat.h
298         $(CC) $(CCARGS) -c $(LIBSRC)/printactivenat.c -o $@
299 $(DEST)/printaddr.o: $(LIBSRC)/printaddr.c $(INCDEP)
300         $(CC) $(CCARGS) -c $(LIBSRC)/printaddr.c -o $@
301 $(DEST)/printaps.o: $(LIBSRC)/printaps.c $(INCDEP)
302         $(CC) $(CCARGS) -c $(LIBSRC)/printaps.c -o $@
303 $(DEST)/printbuf.o: $(LIBSRC)/printbuf.c $(INCDEP)
304         $(CC) $(CCARGS) -c $(LIBSRC)/printbuf.c -o $@
305 $(DEST)/printdstlist.o: $(LIBSRC)/printdstlist.c $(INCDEP) $(TOP)/ip_dstlist.h
306         $(CC) $(CCARGS) -c $(LIBSRC)/printdstlist.c -o $@
307 $(DEST)/printdstlistdata.o: $(LIBSRC)/printdstlistdata.c $(INCDEP) \
308     $(TOP)/ip_dstlist.h
309         $(CC) $(CCARGS) -c $(LIBSRC)/printdstlistdata.c -o $@
310 $(DEST)/printdstlistnode.o: $(LIBSRC)/printdstlistnode.c $(INCDEP) \
311     $(TOP)/ip_dstlist.h
312         $(CC) $(CCARGS) -c $(LIBSRC)/printdstlistnode.c -o $@
313 $(DEST)/printdstlistpolicy.o: $(LIBSRC)/printdstlistpolicy.c $(INCDEP) \
314     $(TOP)/ip_dstlist.h
315         $(CC) $(CCARGS) -c $(LIBSRC)/printdstlistpolicy.c -o $@
316 $(DEST)/printfieldhdr.o: $(LIBSRC)/printfieldhdr.c $(TOP)/ip_fil.h
317         $(CC) $(CCARGS) -c $(LIBSRC)/printfieldhdr.c -o $@
318 $(DEST)/printfr.o: $(LIBSRC)/printfr.c $(TOP)/ip_fil.h
319         $(CC) $(CCARGS) -c $(LIBSRC)/printfr.c -o $@
320 $(DEST)/printfraginfo.o: $(LIBSRC)/printfraginfo.c $(TOP)/ip_fil.h \
321     $(TOP)/ip_frag.h
322         $(CC) $(CCARGS) -c $(LIBSRC)/printfraginfo.c -o $@
323 $(DEST)/printhash.o: $(LIBSRC)/printhash.c $(TOP)/ip_fil.h $(TOP)/ip_htable.h
324         $(CC) $(CCARGS) -c $(LIBSRC)/printhash.c -o $@
325 $(DEST)/printhashdata.o: $(LIBSRC)/printhashdata.c $(TOP)/ip_fil.h \
326     $(TOP)/ip_htable.h
327         $(CC) $(CCARGS) -c $(LIBSRC)/printhashdata.c -o $@
328 $(DEST)/printhashnode.o: $(LIBSRC)/printhashnode.c $(TOP)/ip_fil.h \
329     $(TOP)/ip_htable.h $(TOP)/ip_lookup.h
330         $(CC) $(CCARGS) -c $(LIBSRC)/printhashnode.c -o $@
331 $(DEST)/printhash_live.o: $(LIBSRC)/printhash_live.c $(TOP)/ip_fil.h \
332     $(TOP)/ip_htable.h
333         $(CC) $(CCARGS) -c $(LIBSRC)/printhash_live.c -o $@
334 $(DEST)/printdstl_live.o: $(LIBSRC)/printdstl_live.c $(TOP)/ip_fil.h \
335     $(TOP)/ip_dstlist.h
336         $(CC) $(CCARGS) -c $(LIBSRC)/printdstl_live.c -o $@
337 $(DEST)/printip.o: $(LIBSRC)/printip.c $(TOP)/ip_fil.h
338         $(CC) $(CCARGS) -c $(LIBSRC)/printip.c -o $@
339 $(DEST)/printipfexpr.o: $(LIBSRC)/printipfexpr.c $(TOP)/ip_fil.h
340         $(CC) $(CCARGS) -c $(LIBSRC)/printipfexpr.c -o $@
341 $(DEST)/printlookup.o: $(LIBSRC)/printlookup.c $(INCDEP)
342         $(CC) $(CCARGS) -c $(LIBSRC)/printlookup.c -o $@
343 $(DEST)/printnataddr.o: $(LIBSRC)/printnataddr.c $(INCDEP) $(TOP)/ip_nat.h
344         $(CC) $(CCARGS) -c $(LIBSRC)/printnataddr.c -o $@
345 $(DEST)/printnatside.o: $(LIBSRC)/printnatside.c $(INCDEP) $(TOP)/ip_nat.h
346         $(CC) $(CCARGS) -c $(LIBSRC)/printnatside.c -o $@
347 $(DEST)/printpool.o: $(LIBSRC)/printpool.c $(TOP)/ip_fil.h $(TOP)/ip_pool.h
348         $(CC) $(CCARGS) -c $(LIBSRC)/printpool.c -o $@
349 $(DEST)/printpooldata.o: $(LIBSRC)/printpooldata.c $(TOP)/ip_fil.h \
350     $(TOP)/ip_pool.h $(TOP)/ip_lookup.h
351         $(CC) $(CCARGS) -c $(LIBSRC)/printpooldata.c -o $@
352 $(DEST)/printpoolfield.o: $(LIBSRC)/printpoolfield.c $(TOP)/ip_fil.h \
353     $(TOP)/ip_pool.h $(TOP)/ip_lookup.h
354         $(CC) $(CCARGS) -c $(LIBSRC)/printpoolfield.c -o $@
355 $(DEST)/printpoolnode.o: $(LIBSRC)/printpoolnode.c $(TOP)/ip_fil.h \
356     $(TOP)/ip_pool.h $(TOP)/ip_lookup.h
357         $(CC) $(CCARGS) -c $(LIBSRC)/printpoolnode.c -o $@
358 $(DEST)/printpool_live.o: $(LIBSRC)/printpool_live.c $(TOP)/ip_fil.h \
359     $(TOP)/ip_pool.h $(TOP)/ip_lookup.h
360         $(CC) $(CCARGS) -c $(LIBSRC)/printpool_live.c -o $@
361 $(DEST)/printproto.o: $(LIBSRC)/printproto.c $(TOP)/ip_fil.h
362         $(CC) $(CCARGS) -c $(LIBSRC)/printproto.c -o $@
363 $(DEST)/printhost.o: $(LIBSRC)/printhost.c $(TOP)/ip_fil.h
364         $(CC) $(CCARGS) -c $(LIBSRC)/printhost.c -o $@
365 $(DEST)/printhostmap.o: $(LIBSRC)/printhostmap.c $(TOP)/ip_fil.h
366         $(CC) $(CCARGS) -c $(LIBSRC)/printhostmap.c -o $@
367 $(DEST)/printifname.o: $(LIBSRC)/printifname.c $(INCDEP)
368         $(CC) $(CCARGS) -c $(LIBSRC)/printifname.c -o $@
369 $(DEST)/printmask.o: $(LIBSRC)/printmask.c $(INCDEP)
370         $(CC) $(CCARGS) -c $(LIBSRC)/printmask.c -o $@
371 $(DEST)/printnat.o: $(LIBSRC)/printnat.c $(INCDEP) $(TOP)/ip_nat.h
372         $(CC) $(CCARGS) -c $(LIBSRC)/printnat.c -o $@
373 $(DEST)/printnatfield.o: $(LIBSRC)/printnatfield.c $(INCDEP) $(TOP)/ip_nat.h
374         $(CC) $(CCARGS) -c $(LIBSRC)/printnatfield.c -o $@
375 $(DEST)/printhostmask.o: $(LIBSRC)/printhostmask.c $(INCDEP)
376         $(CC) $(CCARGS) -c $(LIBSRC)/printhostmask.c -o $@
377 $(DEST)/printlog.o: $(LIBSRC)/printlog.c $(INCDEP)
378         $(CC) $(CCARGS) -c $(LIBSRC)/printlog.c -o $@
379 $(DEST)/printpacket.o: $(LIBSRC)/printpacket.c $(INCDEP)
380         $(CC) $(CCARGS) -c $(LIBSRC)/printpacket.c -o $@
381 $(DEST)/printpacket6.o: $(LIBSRC)/printpacket6.c $(INCDEP)
382         $(CC) $(CCARGS) -c $(LIBSRC)/printpacket6.c -o $@
383 $(DEST)/printportcmp.o: $(LIBSRC)/printportcmp.c $(INCDEP)
384         $(CC) $(CCARGS) -c $(LIBSRC)/printportcmp.c -o $@
385 $(DEST)/printsbuf.o: $(LIBSRC)/printsbuf.c $(INCDEP)
386         $(CC) $(CCARGS) -c $(LIBSRC)/printsbuf.c -o $@
387 $(DEST)/printstate.o: $(LIBSRC)/printstate.c $(INCDEP) $(TOP)/ip_state.h
388         $(CC) $(CCARGS) -c $(LIBSRC)/printstate.c -o $@
389 $(DEST)/printstatefields.o: $(LIBSRC)/printstatefields.c $(INCDEP) $(TOP)/ip_state.h
390         $(CC) $(CCARGS) -c $(LIBSRC)/printstatefields.c -o $@
391 $(DEST)/printtcpflags.o: $(LIBSRC)/printtcpflags.c $(INCDEP)
392         $(CC) $(CCARGS) -c $(LIBSRC)/printtcpflags.c -o $@
393 $(DEST)/printtqtable.o: $(LIBSRC)/printtqtable.c $(INCDEP)
394         $(CC) $(CCARGS) -c $(LIBSRC)/printtqtable.c -o $@
395 $(DEST)/printtunable.o: $(LIBSRC)/printtunable.c $(INCDEP)
396         $(CC) $(CCARGS) -c $(LIBSRC)/printtunable.c -o $@
397 $(DEST)/printunit.o: $(LIBSRC)/printunit.c $(INCDEP)
398         $(CC) $(CCARGS) -c $(LIBSRC)/printunit.c -o $@
399 $(DEST)/remove_hash.o: $(LIBSRC)/remove_hash.c $(INCDEP) \
400     $(TOP)/ip_htable.h
401         $(CC) $(CCARGS) -c $(LIBSRC)/remove_hash.c -o $@
402 $(DEST)/remove_hashnode.o: $(LIBSRC)/remove_hashnode.c $(INCDEP) \
403     $(TOP)/ip_htable.h
404         $(CC) $(CCARGS) -c $(LIBSRC)/remove_hashnode.c -o $@
405 $(DEST)/remove_pool.o: $(LIBSRC)/remove_pool.c $(INCDEP) \
406     $(TOP)/ip_htable.h
407         $(CC) $(CCARGS) -c $(LIBSRC)/remove_pool.c -o $@
408 $(DEST)/remove_poolnode.o: $(LIBSRC)/remove_poolnode.c $(INCDEP) \
409     $(TOP)/ip_htable.h
410         $(CC) $(CCARGS) -c $(LIBSRC)/remove_poolnode.c -o $@
411 $(DEST)/resetlexer.o: $(LIBSRC)/resetlexer.c $(INCDEP)
412         $(CC) $(CCARGS) -c $(LIBSRC)/resetlexer.c -o $@
413 $(DEST)/rwlock_emul.o: $(LIBSRC)/rwlock_emul.c $(INCDEP)
414         $(CC) $(CCARGS) -c $(LIBSRC)/rwlock_emul.c -o $@
415 $(DEST)/tcpflags.o: $(LIBSRC)/tcpflags.c $(INCDEP)
416         $(CC) $(CCARGS) -c $(LIBSRC)/tcpflags.c -o $@
417 $(DEST)/tcp_flags.o: $(LIBSRC)/tcp_flags.c $(INCDEP)
418         $(CC) $(CCARGS) -c $(LIBSRC)/tcp_flags.c -o $@
419 $(DEST)/var.o: $(LIBSRC)/var.c $(INCDEP)
420         $(CC) $(CCARGS) -c $(LIBSRC)/var.c -o $@
421 $(DEST)/verbose.o: $(LIBSRC)/verbose.c $(INCDEP)
422         $(CC) $(CCARGS) -c $(LIBSRC)/verbose.c -o $@
423 $(DEST)/save_execute.o: $(LIBSRC)/save_execute.c $(TOP)/ipl.h
424         $(CC) $(CCARGS) -c $(LIBSRC)/save_execute.c -o $@
425 $(DEST)/save_file.o: $(LIBSRC)/save_file.c $(TOP)/ipl.h
426         $(CC) $(CCARGS) -c $(LIBSRC)/save_file.c -o $@
427 $(DEST)/save_nothing.o: $(LIBSRC)/save_nothing.c $(TOP)/ipl.h
428         $(CC) $(CCARGS) -c $(LIBSRC)/save_nothing.c -o $@
429 $(DEST)/save_syslog.o: $(LIBSRC)/save_syslog.c $(TOP)/ipl.h
430         $(CC) $(CCARGS) -c $(LIBSRC)/save_syslog.c -o $@
431 $(DEST)/vtof.o: $(LIBSRC)/vtof.c $(INCDEP)
432         $(CC) $(CCARGS) -c $(LIBSRC)/vtof.c -o $@
433 $(DEST)/save_v1trap.o: $(LIBSRC)/save_v1trap.c $(TOP)/ipl.h
434         $(CC) $(CCARGS) -c $(LIBSRC)/save_v1trap.c -o $@
435 $(DEST)/save_v2trap.o: $(LIBSRC)/save_v2trap.c $(TOP)/ipl.h
436         $(CC) $(CCARGS) -c $(LIBSRC)/save_v2trap.c -o $@
437 $(DEST)/v6ionames.o: $(LIBSRC)/v6ionames.c $(INCDEP)
438         $(CC) $(CCARGS) -c $(LIBSRC)/v6ionames.c -o $@
439 $(DEST)/v6optvalue.o: $(LIBSRC)/v6optvalue.c $(INCDEP)
440         $(CC) $(CCARGS) -c $(LIBSRC)/v6optvalue.c -o $@
441
442 clean-lib:
443         /bin/rm -f ${LIBOBJS} ${LIB}