Makefile revision 246
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
2f0d866e126dd288169fed591c259c1c6b4016e5vboxsync# CDDL HEADER START
2f0d866e126dd288169fed591c259c1c6b4016e5vboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# The contents of this file are subject to the terms of the
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Common Development and Distribution License (the "License").
2f0d866e126dd288169fed591c259c1c6b4016e5vboxsync# You may not use this file except in compliance with the License.
2f0d866e126dd288169fed591c259c1c6b4016e5vboxsync#
86a00a5efe7fdc9725f2076050b996e205259cd6vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c366016ffe1788c6847d0a967a954713725cab5evboxsync# or http://www.opensolaris.org/os/licensing.
c366016ffe1788c6847d0a967a954713725cab5evboxsync# See the License for the specific language governing permissions
c366016ffe1788c6847d0a967a954713725cab5evboxsync# and limitations under the License.
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# When distributing Covered Code, include this CDDL HEADER in each
c366016ffe1788c6847d0a967a954713725cab5evboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c366016ffe1788c6847d0a967a954713725cab5evboxsync# If applicable, add the following below this CDDL HEADER, with the
c366016ffe1788c6847d0a967a954713725cab5evboxsync# fields enclosed by brackets "[]" replaced with your own identifying
c366016ffe1788c6847d0a967a954713725cab5evboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# CDDL HEADER END
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
c366016ffe1788c6847d0a967a954713725cab5evboxsync#
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsyncinclude ../../make-rules/shared-macros.mk
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsyncCOMPONENT_NAME= flex
c366016ffe1788c6847d0a967a954713725cab5evboxsyncCOMPONENT_VERSION= 2.5.35
81abf6f533300bfe7c2109e9db1029b7a0274598vboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
c366016ffe1788c6847d0a967a954713725cab5evboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
c1b76913eb226361b0f57efd4dc45072db194218vboxsyncCOMPONENT_ARCHIVE_HASH= sha1:c507095833aaeef2d6502e12638e54bf7ad2f24a
2f0d866e126dd288169fed591c259c1c6b4016e5vboxsyncCOMPONENT_ARCHIVE_URL= http://softlayer.dl.sourceforge.net/project/flex/flex/flex-2.5.35/flex-2.5.35.tar.bz2
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsyncSONAME=libfl.so.1
c366016ffe1788c6847d0a967a954713725cab5evboxsyncLDFLAGS = $(CC_BITS)
c366016ffe1788c6847d0a967a954713725cab5evboxsync
9c88dfe29cb5a5dcf70e84c706b9fc57bb309819vboxsyncinclude ../../make-rules/prep.mk
c366016ffe1788c6847d0a967a954713725cab5evboxsyncinclude ../../make-rules/configure.mk
c366016ffe1788c6847d0a967a954713725cab5evboxsyncinclude ../../make-rules/ips.mk
7eaf45ffccb9b2c2845da8b78f8dca01aa49382bvboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsyncCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
c366016ffe1788c6847d0a967a954713725cab5evboxsyncCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
c366016ffe1788c6847d0a967a954713725cab5evboxsyncCONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
7eaf45ffccb9b2c2845da8b78f8dca01aa49382bvboxsyncCONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
c366016ffe1788c6847d0a967a954713725cab5evboxsync
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsyncCOMPONENT_BUILD_ENV += SONAME="$(SONAME)"
c366016ffe1788c6847d0a967a954713725cab5evboxsyncCOMPONENT_INSTALL_ENV += SONAME="$(SONAME)"
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsyncCOMPONENT_TEST_ENV += PATH=/usr/gnu/bin:/usr/bin
4b42d28ec5f7347d82a7f7348629363b64036d9evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsyncCOMPONENT_BUILD_TARGETS += $(SONAME)
c366016ffe1788c6847d0a967a954713725cab5evboxsyncCOMPONENT_INSTALL_TARGETS += $(SONAME)
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsyncinclude ../../make-rules/shared-targets.mk
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsync# common targets
c366016ffe1788c6847d0a967a954713725cab5evboxsyncbuild: $(BUILD_32_and_64)
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsyncinstall: $(INSTALL_32_and_64)
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsynctest: $(TEST_32_and_64)
c366016ffe1788c6847d0a967a954713725cab5evboxsync
767f938b50ead294d8d6a020b915e079737ee6f8vboxsyncBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
783c5efe04be621d9edbe07f2a41ea9a9a35cdcevboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsyncinclude ../../make-rules/depend.mk
c366016ffe1788c6847d0a967a954713725cab5evboxsync
c366016ffe1788c6847d0a967a954713725cab5evboxsync