usr/src/cmd/tcpdump/Makefile.sfw
author Cyril Plisko <cyril.plisko@grigale.com>
Sun, 20 Dec 2009 14:24:34 +0200
changeset 3 ad3552f8e1ef
child 4 834920bc5f09
permissions -rw-r--r--
Import sfw build 129 Bugs Fixed ---------- 6479874 OpenSSL should support RSA key by reference/hardware keystores 6732677 make check to trigger Solaris specific code automatic in the PKCS#11 engine 6744125 libpcap should be IPv6 capable 6745178 update libxml2 to 2.7.1 (or later) 6790767 default lighttpd.conf need to reflect opesolararis file locations 6801093 snmpd is core dumping on s10u6_07b 6808014 tcpdump to be included into SFW consolidation 6812193 lighttpd14 should take advantage of lua after snv_110 6832483 Python libxml not available for 2.5, 2.6 6841989 libpcap needs to be updated version 1.0.0 6849500 libxslt need to be updated within opensolaris 6863377 libpcap needs to be built to support BPF 6871383 Update Ruby in OpenSolaris to patch level 174 6871386 Update RubyGems in OpenSolaris to 1.3.3 or later 6871404 Update Lighttpd in OpenSolaris to v1.4.23 6875538 deliver mod_fcgid 2.3.4 6877619 remove redundant PHP DTrace extension 6879769 Lighttpd community recommends not to use multiple Lighttpd workers 6893914 split 3rd party extensions into its own packages 6896677 PKCS#11 engine's hw_pk11_err.h needs to be split 6898539 upgrade OpenSSL to 0.9.8l 6899783 tspi library can leak auth session handles 6900785 Tspi library prompts too many times for change auth 6901297 reserved_offset in APC should be true global (not a thread local) 6901646 Ruby DTrace probes not available to ruby programs run with the dtrace '- 6903738 CUPS 1.4 usb backend appears to be broken
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     1
#
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     2
# CDDL HEADER START
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     3
#
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     7
#
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    11
# and limitations under the License.
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    12
#
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    18
#
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    19
# CDDL HEADER END
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    20
#
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    21
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    22
#
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    23
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    24
# Use is subject to license terms.
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    25
#
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    26
#ident	"@(#)Makefile.sfw	1.1	09/11/10 SMI"
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    27
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    28
VER =		$(COMPONENT_NAME:sh)-$(COMPONENT_VERSION:sh)
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    29
TARBALL =	$(VER).tar.gz
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    30
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    31
include ../Makefile.cmd
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    32
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    33
CONFIGURE_OPTIONS += --enable-ipv6=yes 
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    34
CONFIGURE_OPTIONS += --with-user=nobody
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    35
PATCHES:sh	= echo Patches/*.patch
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    36
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    37
all: $(VER)/config.status $(ROOTLIB)/libpcap.so
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    38
	(cd $(VER); env - \
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    39
	    "LD_OPTIONS=-L/usr/lib -R/usr/lib" \
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    40
	    PATH=$(SFW_PATH) \
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    41
	    MAKE=$(GMAKE) \
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    42
	    $(GMAKE) all)
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    43
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    44
$(ROOTLIB)/libpcap.so:
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    45
	(cd ../../lib/libpcap; make -f Makefile.sfw install)
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    46
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    47
install: all 
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    48
	ROOT=$(ROOT) $(SHELL) ./install-sfw
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    49
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    50
$(VER)/config.status: $(VER)/configure
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    51
	(cd $(VER); env - \
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    52
	    CC="$(CC)" \
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    53
	    PATH=$(SFW_PATH) \
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    54
	    CFLAGS="-I$(ROOTINCLUDE)" \
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    55
	    INSTALL="$INSTALL_PROTO)" \
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    56
	    MAKE=$(GMAKE) \
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    57
            $(SHELL) ./configure $(CONFIGURE_OPTIONS))
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    58
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    59
$(VER)/configure: $(VER)/.patched
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    60
	touch $(VER)/.patched
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    61
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    62
clean:
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    63
	-rm -rf $(VER)
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    64
ad3552f8e1ef Import sfw build 129
Cyril Plisko <cyril.plisko@grigale.com>
parents:
diff changeset
    65
include ../Makefile.targ