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