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