Makefile revision 1.58
1# $OpenBSD: Makefile,v 1.58 2015/10/13 14:36:15 stsp 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 -I${.CURDIR}/../hostapd 27 28# for pcap-int.h 29CFLAGS+=-I${.CURDIR}/../../lib/libpcap 30 31CFLAGS+=-DCSLIP -DPPP -DHAVE_FDDI -DETHER_SERVICE -DRETSIGTYPE=void -DHAVE_NET_SLIP_H -DHAVE_ETHER_NTOHOST -DINET6 32 33LDADD+= -lpcap -ll -lcrypto 34DPADD+= ${LIBL} ${LIBPCAP} ${LIBCRYPTO} 35 36SRCS= tcpdump.c addrtoname.c privsep.c privsep_fdpass.c privsep_pcap.c \ 37 print-ether.c print-ip.c print-arp.c print-tcp.c print-udp.c \ 38 print-atalk.c print-domain.c print-tftp.c print-bootp.c print-nfs.c \ 39 print-icmp.c print-sl.c print-ppp.c print-rip.c print-timed.c \ 40 print-snmp.c print-ntp.c print-null.c print-ospf.c print-gtp.c \ 41 print-fddi.c print-llc.c print-sunrpc.c print-hsrp.c print-vqp.c \ 42 print-vrrp.c print-wb.c print-decnet.c print-isoclns.c print-ipx.c \ 43 print-atm.c print-dvmrp.c print-krb.c print-pim.c print-netbios.c \ 44 util.c bpf_dump.c parsenfsfh.c version.c print-igrp.c \ 45 print-gre.c print-radius.c print-enc.c print-cnfp.c \ 46 print-ipsec.c print-ike.c print-raw.c print-l2tp.c print-mobile.c \ 47 print-ip6.c print-ip6opts.c print-icmp6.c print-dhcp6.c print-frag6.c \ 48 print-bgp.c print-ospf6.c print-ripng.c print-rt6.c print-stp.c \ 49 print-etherip.c print-lwres.c print-lldp.c print-cdp.c print-pflog.c \ 50 print-pfsync.c pf_print_state.c \ 51 print-udpencap.c print-carp.c \ 52 print-802_11.c print-iapp.c print-mpls.c print-slow.c \ 53 gmt2local.c savestr.c setsignal.c in_cksum.c 54 55# TCP OS Fingerprinting 56.PATH: ${.CURDIR}/../../sys/net 57.PATH: ${.CURDIR}/../../sbin/pfctl 58SRCS+= pf_osfp.c pfctl_osfp.c 59CFLAGS+=-I${.CURDIR}/../../sbin/pfctl 60CFLAGS+=-DFAKE_PF_KERNEL 61 62#SRCS+= smbutil.c print-smb.c 63 64AWKS = atime.awk packetdat.awk send-ack.awk stime.awk 65 66.include <bsd.prog.mk> 67