Makefile revision 256
256N/A#
256N/A# CDDL HEADER START
256N/A#
256N/A# The contents of this file are subject to the terms of the
256N/A# Common Development and Distribution License (the "License").
256N/A# You may not use this file except in compliance with the License.
256N/A#
256N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
256N/A# or http://www.opensolaris.org/os/licensing.
256N/A# See the License for the specific language governing permissions
256N/A# and limitations under the License.
256N/A#
256N/A# When distributing Covered Code, include this CDDL HEADER in each
256N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
256N/A# If applicable, add the following below this CDDL HEADER, with the
256N/A# fields enclosed by brackets "[]" replaced with your own identifying
256N/A# information: Portions Copyright [yyyy] [name of copyright owner]
256N/A#
256N/A# CDDL HEADER END
256N/A#
256N/A
256N/A#
256N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
256N/A#
256N/A
256N/Ainclude ../../make-rules/shared-macros.mk
256N/A
256N/ACOMPONENT_NAME= slang
256N/ACOMPONENT_VERSION= 2.2.4
256N/AIPS_PKG_NAME= library/slang
256N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
256N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
256N/ACOMPONENT_ARCHIVE_HASH= sha1:34e68a993888d0ae2ebc7bc31b40bc894813a7e2
256N/ACOMPONENT_ARCHIVE_URL= ftp://space.mit.edu/pub/davis/slang/v2.2/$(COMPONENT_ARCHIVE)
256N/ACOMPONENT_PROJECT_URL= http://www.jedsoft.org/slang/
256N/ACOPYRIGHT_FILE= slang.license
256N/ACOPYRIGHTS= GPLv2
256N/A
256N/Ainclude ../../make-rules/prep.mk
256N/Ainclude ../../make-rules/configure.mk
256N/Ainclude ../../make-rules/ips.mk
256N/A
256N/APKG_MACROS += IPS_PKG_NAME=$(IPS_PKG_NAME)
256N/APKG_MACROS += COPYRIGHT_FILE=$(COPYRIGHT_FILE)
256N/APKG_MACROS += COPYRIGHTS=$(COPYRIGHTS)
256N/A
256N/ACOMPONENT_PRE_CONFIGURE_ACTION = $(CLONEY) $(SOURCE_DIR) $(@D)
256N/ACONFIGURE_SCRIPT = $(@D)/configure
256N/A
256N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
256N/ACONFIGURE_OPTIONS += LDFLAGS="$(CFLAGS)"
256N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/slsh
256N/A
256N/A# common targets
256N/Abuild: $(BUILD_32_and_64)
256N/A
256N/Ainstall: $(INSTALL_32_and_64)
256N/A
256N/Atest: $(TEST_32_and_64)
256N/A
256N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
256N/A
256N/Ainclude ../../make-rules/depend.mk