Makefile revision 181
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington# CDDL HEADER START
816e576f77e2c46df3e3d97d65822aa8aded7c4bDavid Lawrence#
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# The contents of this file are subject to the terms of the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Common Development and Distribution License (the "License").
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# You may not use this file except in compliance with the License.
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley#
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# or http://www.opensolaris.org/os/licensing.
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# See the License for the specific language governing permissions
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# and limitations under the License.
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley#
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# When distributing Covered Code, include this CDDL HEADER in each
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# If applicable, add the following below this CDDL HEADER, with the
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# fields enclosed by brackets "[]" replaced with your own identifying
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# information: Portions Copyright [yyyy] [name of copyright owner]
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley#
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# CDDL HEADER END
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley#
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley#
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley#
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# This build is modeled after the one in SFW.
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# Attempts to use the native build methods fail because we
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# don't have the scm (scheme) interpreter.
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# So just install this and get on with it.
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley#
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halleyinclude ../../make-rules/shared-macros.mk
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_NAME= slib
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_VERSION= 3b1
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_SRC= $(COMPONENT_NAME)
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-$(COMPONENT_VERSION).zip
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_ARCHIVE_HASH= sha1:e3342e4cb1e728bb3133449654b10b538ed8b043
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyCOMPONENT_ARCHIVE_URL= http://groups.csail.mit.edu/mac/ftpdir/scm/OLD/$(COMPONENT_ARCHIVE)
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halleyinclude ../../make-rules/prep.mk
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halleyinclude ../../make-rules/ips.mk
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# Lie to IPS packaging about the version because it doesn't like
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# COMPONENT_VERSION's with letters.
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# So if COMPONENT_VERSION changes above this needs to change as well.
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyIPS_COMPONENT_VERSION= 3.1.1
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley# nothing to really build
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halleybuild: $(SOURCE_DIR)/.prep
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halleyinstall: build
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley cd $(SOURCE_DIR) ; \
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley $(MAKE) prefix=$(PROTO_DIR)/usr/ INSTALL=ginstall \
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley man1dir=$(PROTOUSRSHAREMAN1DIR) install
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halleytest: $(NO_TESTS)
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halleyclean::
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley $(RM) -r $(BUILD_DIR)
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob HalleyBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halley
767d29c43d98bae8ea95f0ccd2b9653cbcd43310Bob Halleyinclude ../../make-rules/depend.mk