Makefile revision 360
430N/A#
430N/A# CDDL HEADER START
430N/A#
430N/A# The contents of this file are subject to the terms of the
430N/A# Common Development and Distribution License (the "License").
430N/A# You may not use this file except in compliance with the License.
430N/A#
430N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
430N/A# or http://www.opensolaris.org/os/licensing.
430N/A# See the License for the specific language governing permissions
430N/A# and limitations under the License.
430N/A#
430N/A# When distributing Covered Code, include this CDDL HEADER in each
430N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
430N/A# If applicable, add the following below this CDDL HEADER, with the
430N/A# fields enclosed by brackets "[]" replaced with your own identifying
430N/A# information: Portions Copyright [yyyy] [name of copyright owner]
430N/A#
430N/A# CDDL HEADER END
430N/A#
3310N/A
430N/A#
2339N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
2339N/A#
2339N/A
2339N/Ainclude ../../make-rules/shared-macros.mk
2852N/A
2339N/ACOMPONENT_NAME= flex
2339N/ACOMPONENT_VERSION= 2.5.35
2339N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2339N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
2339N/ACOMPONENT_ARCHIVE_HASH= sha1:c507095833aaeef2d6502e12638e54bf7ad2f24a
2339N/ACOMPONENT_ARCHIVE_URL= http://softlayer.dl.sourceforge.net/project/flex/flex/flex-2.5.35/flex-2.5.35.tar.bz2
2339N/A
3253N/ASONAME=libfl.so.1
3143N/ALDFLAGS = $(CC_BITS)
430N/A
502N/Ainclude ../../make-rules/prep.mk
1730N/Ainclude ../../make-rules/configure.mk
1715N/Ainclude ../../make-rules/ips.mk
1715N/A
2026N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
2028N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
2499N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
1715N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
1859N/ACONFIGURE_OPTIONS += M4="/usr/gnu/bin/m4"
1715N/A
1715N/ACOMPONENT_BUILD_ENV += SONAME="$(SONAME)"
2500N/ACOMPONENT_INSTALL_ENV += SONAME="$(SONAME)"
3234N/A
1832N/ACOMPONENT_TEST_ENV += PATH=/usr/gnu/bin:/usr/bin
1715N/A
430N/ACOMPONENT_BUILD_TARGETS += $(SONAME)
1715N/ACOMPONENT_INSTALL_TARGETS += $(SONAME)
448N/A
2852N/Ainclude ../../make-rules/shared-targets.mk
430N/A
2843N/A# common targets
1715N/Abuild: $(BUILD_32_and_64)
2755N/A
1715N/Ainstall: $(INSTALL_32_and_64)
1730N/A
2310N/Atest: $(TEST_32_and_64)
2499N/A
1715N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
2755N/A
2755N/Ainclude ../../make-rules/depend.mk
2755N/A
1715N/A