components/bind/Makefile
author Norm Jacobs <Norm.Jacobs@Sun.COM>
Fri, 16 Jul 2010 00:58:56 -0500
changeset 26 8a9f4e791832
parent 20 9efb45e4787f
child 27 4daa72fdac4c
permissions -rw-r--r--
packaging changes including canonical manifest support with manifest validation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     1
#
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     2
# CDDL HEADER START
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     3
#
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     7
#
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    11
# and limitations under the License.
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    12
#
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    18
#
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    19
# CDDL HEADER END
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    20
#
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    21
# Copyright (c) 2010, Oracle and/or it's affiliates.  All rights reserved.
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    22
#
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    23
include ../../make-rules/shared-macros.mk
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    24
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    25
PATH=/usr/bin:/usr/gnu/bin
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    26
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    27
COMPONENT_NAME=		bind
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    28
COMPONENT_VERSION=	9.7.0-P2
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    29
COMPONENT_DESCRIPTION=	"Berkeley Internet Name Domain server and utilities"
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
26
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    31
COMPONENT_PROJECT_URL =	http://www.isc.org/software/bind
20
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    32
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	sha1:4b805d4a66075a88c93c5b852b928da96467aa2d
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	http://ftp.isc.org/isc/bind9/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    35
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    36
include ../../make-rules/prep.mk
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    37
include ../../make-rules/configure.mk
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    38
include ../../make-rules/ips.mk
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    39
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    40
CONFIGURE_OPTIONS +=	--with-libtool
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    41
CONFIGURE_OPTIONS +=	--sysconfdir=/etc
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    42
CONFIGURE_OPTIONS +=	--localstatedir=/var
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    43
CONFIGURE_OPTIONS +=	--with-openssl
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    44
CONFIGURE_OPTIONS +=	--enable-threads=yes
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    45
CONFIGURE_OPTIONS +=	--enable-devpoll=yes
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    46
CONFIGURE_OPTIONS +=	--disable-openssl-version-check
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    47
CONFIGURE_OPTIONS +=	--enable-fixed-rrset
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    48
CONFIGURE_OPTIONS +=	--disable-getifaddrs
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    49
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    50
# because IPS doesn't deal with -P2 in the version string
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    51
IPS_COMPONENT_VERSION=	9.7.0
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    52
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    53
PKGMOGRIFY_TRANSFORMS +=	$(WS_TOP)/transforms/archive-libraries-drop
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    54
PKGMOGRIFY_TRANSFORMS +=	$(WS_TOP)/transforms/libtool-drop
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    55
PKGMOGRIFY_TRANSFORMS +=	manifest-drop
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    56
26
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    57
PKG_HARDLINKS +=	usr/sbin/named
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    58
PKG_HARDLINKS +=	usr/share/man/man3/lwres_addr_parse.3
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    59
PKG_HARDLINKS +=	usr/share/man/man3/lwres_buffer.3
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    60
PKG_HARDLINKS +=	usr/share/man/man3/lwres_conf_clear.3
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    61
PKG_HARDLINKS +=	usr/share/man/man3/lwres_context.3
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    62
PKG_HARDLINKS +=	usr/share/man/man3/lwres_endhostent.3
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    63
PKG_HARDLINKS +=	usr/share/man/man3/lwres_freeaddrinfo.3
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    64
PKG_HARDLINKS +=	usr/share/man/man3/lwres_freehostent.3
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    65
PKG_HARDLINKS +=	usr/share/man/man3/lwres_gabn.3
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    66
PKG_HARDLINKS +=	usr/share/man/man3/lwres_gnba.3
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    67
PKG_HARDLINKS +=	usr/share/man/man3/lwres_herror.3
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    68
PKG_HARDLINKS +=	usr/share/man/man3/lwres_inetntop.3
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    69
PKG_HARDLINKS +=	usr/share/man/man3/lwres_lwpacket_parseheader.3
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    70
PKG_HARDLINKS +=	usr/share/man/man3/lwres_noop.3
8a9f4e791832 packaging changes including canonical manifest support with manifest validation
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 20
diff changeset
    71
20
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    72
# common targets
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    73
build:		$(BUILD_32_and_64)
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    74
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    75
install:	$(INSTALL_32_and_64)
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    76
9efb45e4787f Add bind as an example that drops some pieces
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    77
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)