~ubuntu-branches/ubuntu/precise/tcpdump/precise-updates

« back to all changes in this revision

Viewing changes to .pc/15_install.diff/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-01-04 10:33:48 UTC
  • mfrom: (7.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20120104103348-6i4d0riwu9laykex
Tags: 4.2.1-1ubuntu1
* Resynchronise with Debian.  Remaining changes (LP: #892285):
  - Add enforcing AppArmor profile.
* Refreshed manpage patch to apply to new upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
# Top level hierarchy
27
27
prefix = @prefix@
28
28
exec_prefix = @exec_prefix@
 
29
datarootdir = @datarootdir@
29
30
# Pathname of directory to install the binary
30
31
sbindir = @sbindir@
31
32
# Pathname of directory to install the man page
46
47
DEFS = @DEFS@ @CPPFLAGS@ @V_DEFS@
47
48
 
48
49
# Standard CFLAGS
49
 
CFLAGS = $(CCOPT) $(DEFS) $(INCLS)
 
50
CFLAGS = @CFLAGS@
 
51
FULL_CFLAGS = $(CCOPT) $(DEFS) $(INCLS) $(CFLAGS)
50
52
 
51
53
# Standard LDFLAGS
52
54
LDFLAGS = @LDFLAGS@
64
66
# problem if you don't own the file but can write to the directory.
65
67
.c.o:
66
68
        @rm -f $@
67
 
        $(CC) $(CFLAGS) -c $(srcdir)/$*.c
 
69
        $(CC) $(FULL_CFLAGS) -c $(srcdir)/$*.c
68
70
 
69
71
CSRC =  addrtoname.c af.c checksum.c cpack.c gmpls.c oui.c gmt2local.c ipproto.c \
70
 
        nlpid.c l2vpn.c machdep.c parsenfsfh.c \
71
 
        print-802_11.c print-ap1394.c print-ah.c print-arcnet.c \
72
 
        print-aodv.c print-arp.c print-ascii.c print-atalk.c print-atm.c \
73
 
        print-beep.c print-bfd.c print-bgp.c print-bootp.c print-bt.c \
74
 
        print-cdp.c print-cfm.c print-chdlc.c print-cip.c print-cnfp.c \
75
 
        print-dccp.c print-decnet.c \
 
72
        nlpid.c l2vpn.c machdep.c parsenfsfh.c in_cksum.c \
 
73
        print-802_11.c print-802_15_4.c print-ap1394.c print-ah.c \
 
74
        print-arcnet.c print-aodv.c print-arp.c print-ascii.c print-atalk.c \
 
75
        print-atm.c print-beep.c print-bfd.c print-bgp.c \
 
76
        print-bootp.c print-bt.c print-carp.c print-cdp.c print-cfm.c \
 
77
        print-chdlc.c print-cip.c print-cnfp.c print-dccp.c print-decnet.c \
76
78
        print-domain.c print-dtp.c print-dvmrp.c print-enc.c print-egp.c \
77
79
        print-eap.c print-eigrp.c\
78
80
        print-esp.c print-ether.c print-fddi.c print-fr.c \
83
85
        print-lmp.c print-lspping.c print-lwapp.c \
84
86
        print-lwres.c print-mobile.c print-mpcp.c print-mpls.c print-msdp.c \
85
87
        print-nfs.c print-ntp.c print-null.c print-olsr.c print-ospf.c \
86
 
        print-pgm.c print-pim.c print-ppp.c print-pppoe.c print-pptp.c \
87
 
        print-radius.c print-raw.c print-rip.c print-rrcp.c print-rsvp.c \
 
88
        print-pgm.c print-pim.c \
 
89
        print-ppi.c print-ppp.c print-pppoe.c print-pptp.c \
 
90
        print-radius.c print-raw.c print-rip.c print-rpki-rtr.c print-rrcp.c print-rsvp.c \
88
91
        print-rx.c print-sctp.c print-sflow.c print-sip.c print-sl.c print-sll.c \
89
92
        print-slow.c print-snmp.c print-stp.c print-sunatm.c print-sunrpc.c \
90
93
        print-symantec.c print-syslog.c print-tcp.c print-telnet.c print-tftp.c \
165
168
        oui.h \
166
169
        pcap-missing.h \
167
170
        pmap_prot.h \
 
171
        ppi.h \
168
172
        ppp.h \
169
173
        route6d.h \
170
174
        rpc_auth.h \
226
230
        lbl/os-ultrix4.h \
227
231
        makemib \
228
232
        missing/addrinfo.h \
229
 
        missing/addrsize.h \
230
 
        missing/bittypes.h \
231
233
        missing/dlnames.c \
232
234
        missing/datalinks.c \
233
235
        missing/getnameinfo.c \
234
236
        missing/inet_aton.c \
235
237
        missing/inet_ntop.c \
236
238
        missing/inet_pton.c \
237
 
        missing/resolv6.h \
238
 
        missing/resolv_ext.h \
239
239
        missing/snprintf.c \
240
240
        missing/sockstorage.h \
241
241
        missing/strdup.c \
245
245
        mkdep \
246
246
        packetdat.awk \
247
247
        pcap_dump_ftell.c \
 
248
        print-babel.c \
248
249
        print-dhcp6.c \
249
250
        print-frag6.c \
250
251
        print-icmp6.c \
262
263
        stime.awk \
263
264
        strcasecmp.c \
264
265
        tcpdump.1.in \
265
 
        tests/02-sunrise-sunset-esp.puu \
266
 
        tests/08-sunrise-sunset-aes.puu \
267
 
        tests/08-sunrise-sunset-esp2.puu \
 
266
        tests/02-sunrise-sunset-esp.pcap \
 
267
        tests/08-sunrise-sunset-aes.pcap \
 
268
        tests/08-sunrise-sunset-esp2.pcap \
 
269
        tests/QinQpacket.out \
 
270
        tests/QinQpacket.pcap \
 
271
        tests/QinQpacketv.out \
268
272
        tests/TESTLIST \
269
273
        tests/TESTonce \
270
274
        tests/TESTrun.sh \
 
275
        tests/babel.pcap \
 
276
        tests/babel1.out \
 
277
        tests/babel1v.out \
271
278
        tests/bgp-infinite-loop.pcap \
272
279
        tests/bgp_vpn_attrset.out \
273
280
        tests/bgp_vpn_attrset.pcap \
279
286
        tests/e1000g.pcap \
280
287
        tests/eapon1.gdbinit \
281
288
        tests/eapon1.out \
282
 
        tests/eapon1.puu \
283
 
        tests/eapon2.puu \
 
289
        tests/eapon1.pcap \
 
290
        tests/empty.uu \
284
291
        tests/esp-secrets.txt \
285
292
        tests/esp0.out \
286
293
        tests/esp1.gdbinit \
292
299
        tests/esp5.gdbinit \
293
300
        tests/esp5.out \
294
301
        tests/espudp1.out \
295
 
        tests/espudp1.puu \
 
302
        tests/espudp1.pcap \
296
303
        tests/forces1.out \
297
304
        tests/forces1.pcap \
298
305
        tests/forces1vvv.out \
299
306
        tests/forces1vvvv.out \
300
307
        tests/forces2.out \
301
 
        tests/forces2.pcap \
302
308
        tests/forces2v.out \
303
309
        tests/forces2vv.out \
304
 
        tests/ikev2.puu \
 
310
        tests/forces3vvv.out \
305
311
        tests/ikev2four.out \
306
 
        tests/ikev2four.puu \
 
312
        tests/ikev2four.pcap \
307
313
        tests/ikev2fourv.out \
308
314
        tests/ikev2fourv4.out \
309
315
        tests/ikev2pI2-secrets.txt \
310
316
        tests/ikev2pI2.out \
311
 
        tests/ikev2pI2.puu \
312
 
        tests/isakmp-delete-segfault.puu \
313
 
        tests/isakmp-identification-segfault.puu \
314
 
        tests/isakmp-pointer-loop.puu \
 
317
        tests/ikev2pI2.pcap \
 
318
        tests/isakmp-delete-segfault.pcap \
 
319
        tests/isakmp-identification-segfault.pcap \
 
320
        tests/isakmp-pointer-loop.pcap \
315
321
        tests/isakmp1.out \
316
322
        tests/isakmp2.out \
317
323
        tests/isakmp3.out \
318
324
        tests/isakmp4.out \
319
 
        tests/isakmp4500.puu \
 
325
        tests/isakmp4500.pcap \
320
326
        tests/isis-infinite-loop.pcap \
321
327
        tests/ldp-infinite-loop.pcap \
322
328
        tests/lmp.out \
323
 
        tests/lmp.puu \
 
329
        tests/lmp.pcap \
324
330
        tests/lmp.sh \
325
331
        tests/lspping-fec-ldp.pcap \
326
332
        tests/lspping-fec-rsvp.pcap \
327
333
        tests/mpls-ldp-hello.out \
328
 
        tests/mpls-ldp-hello.puu \
 
334
        tests/mpls-ldp-hello.pcap \
329
335
        tests/mpls-traceroute.pcap \
330
336
        tests/ospf-gmpls.out \
331
 
        tests/ospf-gmpls.puu \
 
337
        tests/ospf-gmpls.pcap \
332
338
        tests/print-A.out \
333
339
        tests/print-AA.out \
334
340
        tests/print-capX.out \
335
341
        tests/print-capXX.out \
336
 
        tests/print-flags.puu \
 
342
        tests/print-flags.pcap \
337
343
        tests/print-flags.sh \
338
344
        tests/print-x.out \
339
345
        tests/print-xx.out \
340
346
        tests/rsvp-infinite-loop.pcap \
 
347
        tests/sflow_multiple_counter_30_pdus.out \
 
348
        tests/sflow_multiple_counter_30_pdus.pcap \
341
349
        vfprintf.c \
342
 
        win32/Include/Arpa/tftp.h \
343
350
        win32/Include/errno.h \
344
351
        win32/Include/getopt.h \
345
 
        win32/Include/inetprivate.h \
346
 
        win32/Include/telnet.h \
347
352
        win32/Include/w32_fzs.h \
348
 
        win32/Include/Netinet/in_systm.h \
349
 
        win32/Include/Netinet/ip.h \
350
353
        win32/Src/getopt.c \
351
354
        win32/prj/GNUmakefile \
352
355
        win32/prj/WinDump.dsp \
356
359
 
357
360
$(PROG): $(OBJ) @V_PCAPDEP@
358
361
        @rm -f $@
359
 
        $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
 
362
        $(CC) $(FULL_CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
360
363
 
361
364
$(LIBNETDISSECT): $(LIBNETDISSECT_OBJ)
362
365
        @rm -f $@
364
367
        $(RANLIB) $@
365
368
 
366
369
datalinks.o: $(srcdir)/missing/datalinks.c
367
 
        $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/datalinks.c
 
370
        $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/datalinks.c
368
371
dlnames.o: $(srcdir)/missing/dlnames.c
369
 
        $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/dlnames.c
 
372
        $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/dlnames.c
370
373
getnameinfo.o: $(srcdir)/missing/getnameinfo.c
371
 
        $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/getnameinfo.c
 
374
        $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/getnameinfo.c
372
375
getaddrinfo.o: $(srcdir)/missing/getaddrinfo.c
373
 
        $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/getaddrinfo.c
 
376
        $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/getaddrinfo.c
374
377
inet_pton.o: $(srcdir)/missing/inet_pton.c
375
 
        $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/inet_pton.c
 
378
        $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/inet_pton.c
376
379
inet_ntop.o: $(srcdir)/missing/inet_ntop.c
377
 
        $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/inet_ntop.c
 
380
        $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/inet_ntop.c
378
381
inet_aton.o: $(srcdir)/missing/inet_aton.c
379
 
        $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/inet_aton.c
 
382
        $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/inet_aton.c
380
383
snprintf.o: $(srcdir)/missing/snprintf.c
381
 
        $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/snprintf.c
 
384
        $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/snprintf.c
382
385
strlcat.o: $(srcdir)/missing/strlcat.c
383
 
        $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/strlcat.c
 
386
        $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/strlcat.c
384
387
strlcpy.o: $(srcdir)/missing/strlcpy.c
385
 
        $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/strlcpy.c
 
388
        $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/strlcpy.c
386
389
strsep.o: $(srcdir)/missing/strsep.c
387
 
        $(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/strsep.c
 
390
        $(CC) $(FULL_CFLAGS) -o $@ -c $(srcdir)/missing/strsep.c
388
391
 
389
392
version.o: version.c
390
 
        $(CC) $(CFLAGS) -c version.c
 
393
        $(CC) $(FULL_CFLAGS) -c version.c
391
394
 
392
395
version.c: $(srcdir)/VERSION
393
396
        @rm -f $@
423
426
distclean:
424
427
        rm -f $(CLEANFILES) Makefile config.cache config.log config.status \
425
428
            config.h gnuc.h os-proto.h stamp-h stamp-h.in $(PROG).1
 
429
        rm -rf autom4te.cache
426
430
 
427
431
check: tcpdump
428
 
        uudecode --help || (echo "No uudecode program found, not running tests"; echo "apt-get/rpm install sharutils?"; exit 1)
429
432
        (cd tests && ./TESTrun.sh)
430
433
 
431
434
tags: $(TAGFILES)