components/slib/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Tue, 20 Mar 2012 09:27:53 -0700
changeset 739 fd5e421b1434
parent 609 775168282b2f
child 800 2ad056ed89ec
permissions -rw-r--r--
7085609 openexr and ilmbase need license file upgrade 7085613 libmng needs license file upgrade 7085624 lighttpd needs TPNO and license file modifications 7085966 iperf needs TPNO and license file modifications 7085948 swig needs TPNO and license file modifications 7085963 tcpdump needs TPNO and license file modifications 7085967 Lua needs TPNO and license file modifications 7123118 libxslt needs TPNO and license file modifications 7123119 libxml2 needs TPNO and license file modifications 7133262 areca needs TPNO and license file modifications 7151922 autogen needs TPNO and license file modifications
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
161
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     1
#
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     3
#
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     7
#
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    12
#
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    18
#
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    20
#
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    22
#
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    23
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    24
#
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    25
# This build is modeled after the one in SFW.
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    26
# Attempts to use the native build methods fail because we
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    27
# don't have the scm (scheme) interpreter.
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    28
# So just install this and get on with it.
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    29
#
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    30
include ../../make-rules/shared-macros.mk
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    31
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    32
COMPONENT_NAME=		slib
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    33
COMPONENT_VERSION=	3b1
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    34
COMPONENT_PROJECT_URL=	http://people.csail.mit.edu/jaffer/SLIB/
161
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    35
COMPONENT_SRC=		$(COMPONENT_NAME)
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    36
COMPONENT_ARCHIVE=	$(COMPONENT_SRC)-$(COMPONENT_VERSION).zip
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    37
COMPONENT_ARCHIVE_HASH=	sha1:e3342e4cb1e728bb3133449654b10b538ed8b043
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    38
COMPONENT_ARCHIVE_URL=	http://groups.csail.mit.edu/mac/ftpdir/scm/OLD/$(COMPONENT_ARCHIVE)
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    39
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    40
include ../../make-rules/prep.mk
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    41
include ../../make-rules/ips.mk
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    42
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    43
# Lie to IPS packaging about the version because it doesn't like
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    44
# COMPONENT_VERSION's with letters.
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    45
# So if COMPONENT_VERSION changes above this needs to change as well.
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    46
IPS_COMPONENT_VERSION=  3.1.1
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    47
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    48
# nothing to really build
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    49
build: $(SOURCE_DIR)/.prep
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    50
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    51
install: build
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    52
	cd $(SOURCE_DIR) ; \
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    53
		$(MAKE) prefix=$(PROTO_DIR)/usr/ INSTALL=ginstall \
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    54
			man1dir=$(PROTOUSRSHAREMAN1DIR) install
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    55
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 161
diff changeset
    56
test:	$(NO_TESTS)
161
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    57
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    58
clean::
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    59
	$(RM) -r $(BUILD_DIR)
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    60
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    61
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    62
0667002cbaee 7032299 move slib from sfw to userland consolidation
Craig Mohrman <Craig.Mohrman@oracle.com>
parents:
diff changeset
    63
include ../../make-rules/depend.mk