1 0 stevel # 2 0 stevel # CDDL HEADER START 3 0 stevel # 4 0 stevel # The contents of this file are subject to the terms of the 5 1676 jpk # Common Development and Distribution License (the "License"). 6 1676 jpk # You may not use this file except in compliance with the License. 7 0 stevel # 8 0 stevel # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 0 stevel # or http://www.opensolaris.org/os/licensing. 10 0 stevel # See the License for the specific language governing permissions 11 0 stevel # and limitations under the License. 12 0 stevel # 13 0 stevel # When distributing Covered Code, include this CDDL HEADER in each 14 0 stevel # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 0 stevel # If applicable, add the following below this CDDL HEADER, with the 16 0 stevel # fields enclosed by brackets "[]" replaced with your own identifying 17 0 stevel # information: Portions Copyright [yyyy] [name of copyright owner] 18 0 stevel # 19 0 stevel # CDDL HEADER END 20 1676 jpk 21 1676 jpk 22 0 stevel # 23 10491 Rishi # Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24 0 stevel # Use is subject to license terms. 25 0 stevel # 26 0 stevel 27 0 stevel PROG= snoop 28 3628 ss150715 OBJS= nfs4_xdr.o snoop.o snoop_aarp.o snoop_adsp.o snoop_aecho.o \ 29 0 stevel snoop_apple.o snoop_arp.o snoop_atp.o snoop_bparam.o \ 30 10491 Rishi snoop_bpdu.o \ 31 3431 carlsonj snoop_capture.o snoop_dhcp.o snoop_dhcpv6.o snoop_display.o \ 32 3431 carlsonj snoop_dns.o snoop_ether.o \ 33 655 okie snoop_filter.o snoop_http.o snoop_icmp.o snoop_igmp.o snoop_ip.o \ 34 10491 Rishi snoop_ipaddr.o snoop_ipsec.o snoop_isis.o \ 35 10491 Rishi snoop_ldap.o snoop_mip.o snoop_mount.o \ 36 0 stevel snoop_nbp.o snoop_netbios.o snoop_nfs.o snoop_nfs3.o snoop_nfs4.o \ 37 0 stevel snoop_nfs_acl.o snoop_nis.o snoop_nisplus.o snoop_nlm.o snoop_ntp.o \ 38 0 stevel snoop_pf.o snoop_ospf.o snoop_ospf6.o snoop_pmap.o snoop_ppp.o \ 39 0 stevel snoop_pppoe.o snoop_rip.o snoop_rip6.o snoop_rpc.o snoop_rpcprint.o \ 40 0 stevel snoop_rpcsec.o snoop_rport.o snoop_rquota.o snoop_rstat.o snoop_rtmp.o \ 41 0 stevel snoop_sctp.o snoop_slp.o snoop_smb.o snoop_socks.o snoop_solarnet.o \ 42 10491 Rishi snoop_tcp.o snoop_tftp.o snoop_trill.o snoop_udp.o snoop_zip.o 43 0 stevel 44 0 stevel SRCS= $(OBJS:.o=.c) 45 0 stevel HDRS= snoop.h snoop_mip.h at.h snoop_ospf.h snoop_ospf6.h 46 0 stevel 47 0 stevel include ../../../Makefile.cmd 48 0 stevel 49 0 stevel CPPFLAGS += -I. -I$(SRC)/common/net/dhcp 50 6543 rie LDLIBS += -ldhcputil -ldlpi -lsocket -lnsl -ltsol 51 4271 rie LDFLAGS += $(MAPFILE.NGB:%=-M%) 52 0 stevel 53 0 stevel .KEEP_STATE: 54 0 stevel 55 0 stevel .PARALLEL: $(OBJS) 56 0 stevel 57 0 stevel all: $(PROG) 58 0 stevel 59 4271 rie $(PROG): $(OBJS) $(MAPFILE.NGB) 60 0 stevel $(LINK.c) -o $@ $(OBJS) $(LDLIBS) 61 0 stevel $(POST_PROCESS) 62 0 stevel 63 0 stevel install: all $(ROOTUSRSBINPROG) 64 0 stevel 65 0 stevel clean: 66 0 stevel $(RM) $(OBJS) 67 0 stevel 68 0 stevel lint: lint_SRCS 69 0 stevel 70 0 stevel include ../../../Makefile.targ 71