Makefile revision 1.47
1# $OpenBSD: Makefile,v 1.47 2005/03/07 16:13:38 reyk Exp $ 2# 3# Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994 4# The Regents of the University of California. All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that: (1) source code distributions 8# retain the above copyright notice and this paragraph in its entirety, (2) 9# distributions including binary code include the above copyright notice and 10# this paragraph in its entirety in the documentation or other materials 11# provided with the distribution, and (3) all advertising materials mentioning 12# features or use of this software display the following acknowledgement: 13# ``This product includes software developed by the University of California, 14# Lawrence Berkeley Laboratory and its contributors.'' Neither the name of 15# the University nor the names of its contributors may be used to endorse 16# or promote products derived from this software without specific prior 17# written permission. 18# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 19# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 20# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21# 22 23PROG= tcpdump 24MAN= tcpdump.8 25 26CFLAGS+=-Wall -I${.CURDIR}/../../sbin/pfctl 27 28CFLAGS+=-DCSLIP -DPPP -DHAVE_FDDI -DETHER_SERVICE -DRETSIGTYPE=void -DHAVE_NET_SLIP_H -DHAVE_ETHER_NTOHOST -DINET6 29 30LDADD+= -lpcap -ll -lcrypto 31DPADD+= ${LIBL} ${LIBPCAP} ${LIBCRYPTO} 32 33SRCS= tcpdump.c addrtoname.c privsep.c privsep_fdpass.c privsep_pcap.c \ 34 print-ether.c print-ip.c print-arp.c print-tcp.c print-udp.c \ 35 print-atalk.c print-domain.c print-tftp.c print-bootp.c print-nfs.c \ 36 print-icmp.c print-sl.c print-ppp.c print-rip.c print-timed.c \ 37 print-snmp.c print-ntp.c print-null.c print-ospf.c \ 38 print-fddi.c print-llc.c print-sunrpc.c print-hsrp.c \ 39 print-vrrp.c print-wb.c print-decnet.c print-isoclns.c print-ipx.c \ 40 print-atm.c print-dvmrp.c print-krb.c print-pim.c print-netbios.c \ 41 util.c bpf_dump.c parsenfsfh.c version.c machdep.c print-igrp.c \ 42 print-gre.c print-radius.c print-enc.c print-cnfp.c \ 43 print-ipsec.c print-ike.c print-raw.c print-l2tp.c print-mobile.c \ 44 print-ip6.c print-ip6opts.c print-icmp6.c print-dhcp6.c print-frag6.c \ 45 print-bgp.c print-ospf6.c print-ripng.c print-rt6.c print-stp.c \ 46 print-etherip.c print-lwres.c print-cdp.c print-pflog.c \ 47 print-pfsync.c pf_print_state.c \ 48 print-udpencap.c print-carp.c \ 49 print-802_11.c \ 50 gmt2local.c savestr.c setsignal.c 51 52# TCP OS Fingerprinting 53.PATH: ${.CURDIR}/../../sys/net 54.PATH: ${.CURDIR}/../../sbin/pfctl 55SRCS+= pf_osfp.c pfctl_osfp.c 56CFLAGS+=-I${.CURDIR}/../../sbin/pfctl 57CFLAGS+=-DFAKE_PF_KERNEL 58 59#SRCS+= smbutil.c print-smb.c 60 61AWKS = atime.awk packetdat.awk send-ack.awk stime.awk 62 63.include <bsd.prog.mk> 64