Makefile revision 618
5329N/A#
5329N/A# CDDL HEADER START
5329N/A#
5329N/A# The contents of this file are subject to the terms of the
5329N/A# Common Development and Distribution License (the "License").
5329N/A# You may not use this file except in compliance with the License.
5329N/A#
5329N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5329N/A# or http://www.opensolaris.org/os/licensing.
5329N/A# See the License for the specific language governing permissions
5329N/A# and limitations under the License.
5329N/A#
5329N/A# When distributing Covered Code, include this CDDL HEADER in each
5329N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5329N/A# If applicable, add the following below this CDDL HEADER, with the
5329N/A# fields enclosed by brackets "[]" replaced with your own identifying
5329N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5329N/A#
5329N/A# CDDL HEADER END
5329N/A#
5329N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
5329N/A#
5426N/Ainclude ../../make-rules/shared-macros.mk
5329N/A
5713N/ACOMPONENT_NAME= lua
5713N/ACOMPONENT_VERSION= 5.1.4
5713N/ACOMPONENT_PROJECT_URL= http://www.lua.org/
5329N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5329N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5329N/ACOMPONENT_ARCHIVE_HASH= sha1:2b11c8e60306efb7f0734b747588f57995493db7
5329N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)ftp/$(COMPONENT_ARCHIVE)
5329N/A
5329N/Ainclude ../../make-rules/prep.mk
5329N/Ainclude ../../make-rules/justmake.mk
5329N/Ainclude ../../make-rules/ips.mk
5426N/A
5329N/A# This is because lua uses $(CC) to build it's shared libraries.
5329N/ACC += $(CC_BITS)
5329N/A
5329N/ACFLAGS += $(CC_PIC) $(CPP_LARGEFILES)
5329N/A
5329N/ACOMPONENT_BUILD_ARGS += CC="$(CC)"
5329N/ACOMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
5329N/ACOMPONENT_INSTALL_ARGS += INSTALL=$(INSTALL)
5329N/ACOMPONENT_INSTALL_ARGS += INSTALL_TOP=$(PROTOUSRDIR)
5329N/A$(INSTALL_64): COMPONENT_INSTALL_ARGS += INSTALL_LIB=$(PROTOUSRLIBDIR64)
5329N/A$(INSTALL_64): COMPONENT_INSTALL_ARGS += INSTALL_BIN=$(PROTOUSRBINDIR64)
5329N/A
5329N/A# common targets
5329N/Abuild: $(BUILD_32_and_64)
5329N/A
5329N/Ainstall: $(INSTALL_32_and_64)
5713N/A
5329N/Atest: $(TEST_32_and_64)
5329N/A
5329N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
5329N/A
5329N/Ainclude ../../make-rules/depend.mk
5329N/A
5329N/A