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