Print this page
dccp: snoop, build system fixes


  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 
  21 
  22 #
  23 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 
  27 PROG=   snoop
  28 OBJS=   nfs4_xdr.o snoop.o snoop_aarp.o snoop_adsp.o snoop_aecho.o \
  29         snoop_apple.o snoop_arp.o snoop_atp.o snoop_bparam.o \
  30         snoop_bpdu.o \
  31         snoop_capture.o snoop_dhcp.o snoop_dhcpv6.o snoop_display.o \
  32         snoop_dns.o snoop_ether.o \
  33         snoop_filter.o snoop_http.o snoop_icmp.o snoop_igmp.o snoop_ip.o \
  34         snoop_ipaddr.o snoop_ipsec.o snoop_isis.o \
  35         snoop_ldap.o snoop_mip.o snoop_mount.o \
  36         snoop_nbp.o snoop_netbios.o snoop_nfs.o snoop_nfs3.o snoop_nfs4.o \
  37         snoop_nfs_acl.o snoop_nis.o snoop_nlm.o snoop_ntp.o \
  38         snoop_pf.o snoop_ospf.o snoop_ospf6.o snoop_pmap.o snoop_ppp.o \
  39         snoop_pppoe.o snoop_rip.o snoop_rip6.o snoop_rpc.o snoop_rpcprint.o \
  40         snoop_rpcsec.o snoop_rport.o snoop_rquota.o snoop_rstat.o snoop_rtmp.o \
  41         snoop_sctp.o snoop_slp.o snoop_smb.o snoop_socks.o snoop_solarnet.o \
  42         snoop_tcp.o snoop_tftp.o snoop_trill.o snoop_udp.o snoop_zip.o
  43 
  44 SRCS=   $(OBJS:.o=.c)
  45 HDRS=   snoop.h snoop_mip.h at.h snoop_ospf.h snoop_ospf6.h
  46 
  47 include ../../../Makefile.cmd
  48 
  49 CPPFLAGS += -I. -I$(SRC)/common/net/dhcp
  50 LDLIBS += -ldhcputil -ldlpi -lsocket -lnsl -ltsol
  51 LDFLAGS += $(MAPFILE.NGB:%=-M%)
  52 


  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 
  21 
  22 #
  23 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 
  27 PROG=   snoop
  28 OBJS=   nfs4_xdr.o snoop.o snoop_aarp.o snoop_adsp.o snoop_aecho.o \
  29         snoop_apple.o snoop_arp.o snoop_atp.o snoop_bparam.o \
  30         snoop_bpdu.o \
  31         snoop_capture.o snoop_dccp.o snoop_dhcp.o snoop_dhcpv6.o \
  32         snoop_display.o snoop_dns.o snoop_ether.o \
  33         snoop_filter.o snoop_http.o snoop_icmp.o snoop_igmp.o snoop_ip.o \
  34         snoop_ipaddr.o snoop_ipsec.o snoop_isis.o \
  35         snoop_ldap.o snoop_mip.o snoop_mount.o \
  36         snoop_nbp.o snoop_netbios.o snoop_nfs.o snoop_nfs3.o snoop_nfs4.o \
  37         snoop_nfs_acl.o snoop_nis.o snoop_nlm.o snoop_ntp.o \
  38         snoop_pf.o snoop_ospf.o snoop_ospf6.o snoop_pmap.o snoop_ppp.o \
  39         snoop_pppoe.o snoop_rip.o snoop_rip6.o snoop_rpc.o snoop_rpcprint.o \
  40         snoop_rpcsec.o snoop_rport.o snoop_rquota.o snoop_rstat.o snoop_rtmp.o \
  41         snoop_sctp.o snoop_slp.o snoop_smb.o snoop_socks.o snoop_solarnet.o \
  42         snoop_tcp.o snoop_tftp.o snoop_trill.o snoop_udp.o snoop_zip.o
  43 
  44 SRCS=   $(OBJS:.o=.c)
  45 HDRS=   snoop.h snoop_mip.h at.h snoop_ospf.h snoop_ospf6.h
  46 
  47 include ../../../Makefile.cmd
  48 
  49 CPPFLAGS += -I. -I$(SRC)/common/net/dhcp
  50 LDLIBS += -ldhcputil -ldlpi -lsocket -lnsl -ltsol
  51 LDFLAGS += $(MAPFILE.NGB:%=-M%)
  52