Makefile revision 1.11
1# $OpenBSD: Makefile,v 1.11 1998/02/26 16:02:53 niklas 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+=-DCSLIP -DPPP -DFDDI -DETHER_SERVICE -DRETSIGTYPE=void -DHAVE_NET_SLIP_H -DHAVE_ETHER_NTOHOST 27.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "mips") || (${MACHINE_ARCH} == "sparc") 28CFLAGS+=-DLBL_ALIGN 29.endif 30 31LDADD+= -lpcap -ll 32DPADD+= ${LIBL} ${LIBPCAP} 33 34SRCS= tcpdump.c addrtoname.c \ 35 print-ether.c print-ip.c print-arp.c print-tcp.c print-udp.c \ 36 print-atalk.c print-domain.c print-tftp.c print-bootp.c print-nfs.c \ 37 print-icmp.c print-sl.c print-ppp.c print-rip.c \ 38 print-snmp.c print-ntp.c print-null.c print-egp.c print-ospf.c \ 39 print-fddi.c print-llc.c print-sunrpc.c \ 40 print-wb.c print-decnet.c print-isoclns.c print-ipx.c \ 41 print-atm.c print-dvmrp.c print-krb.c print-pim.c print-netbios.c \ 42 util.c bpf_dump.c parsenfsfh.c version.c machdep.c print-igrp.c \ 43 print-gre.c print-radius.c 44 45AWKS = atime.awk packetdat.awk send-ack.awk stime.awk 46 47.include <bsd.prog.mk> 48