Makefile revision 618
b341a780162d809b187a8f35a10bba7642b69798vboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# CDDL HEADER START
b341a780162d809b187a8f35a10bba7642b69798vboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# The contents of this file are subject to the terms of the
b341a780162d809b187a8f35a10bba7642b69798vboxsync# Common Development and Distribution License (the "License").
b341a780162d809b187a8f35a10bba7642b69798vboxsync# You may not use this file except in compliance with the License.
b341a780162d809b187a8f35a10bba7642b69798vboxsync#
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b341a780162d809b187a8f35a10bba7642b69798vboxsync# or http://www.opensolaris.org/os/licensing.
b341a780162d809b187a8f35a10bba7642b69798vboxsync# See the License for the specific language governing permissions
b341a780162d809b187a8f35a10bba7642b69798vboxsync# and limitations under the License.
b341a780162d809b187a8f35a10bba7642b69798vboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# When distributing Covered Code, include this CDDL HEADER in each
b341a780162d809b187a8f35a10bba7642b69798vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b341a780162d809b187a8f35a10bba7642b69798vboxsync# If applicable, add the following below this CDDL HEADER, with the
b341a780162d809b187a8f35a10bba7642b69798vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
b341a780162d809b187a8f35a10bba7642b69798vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
b341a780162d809b187a8f35a10bba7642b69798vboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync# CDDL HEADER END
b341a780162d809b187a8f35a10bba7642b69798vboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync#
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync#
b341a780162d809b187a8f35a10bba7642b69798vboxsync
7e77c8f54449be6f28ccbf32f7e651554d9f4060vboxsyncinclude ../../make-rules/shared-macros.mk
b341a780162d809b187a8f35a10bba7642b69798vboxsync
b341a780162d809b187a8f35a10bba7642b69798vboxsyncCOMPONENT_NAME= flex
0bfb9ba54b99b5ce067ffb993bde00c423ca4f39vboxsyncCOMPONENT_VERSION= 2.5.35
0bfb9ba54b99b5ce067ffb993bde00c423ca4f39vboxsyncCOMPONENT_PROJECT_URL= http://flex.sourceforge.net/
0bfb9ba54b99b5ce067ffb993bde00c423ca4f39vboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
b341a780162d809b187a8f35a10bba7642b69798vboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncCOMPONENT_ARCHIVE_HASH= sha1:c507095833aaeef2d6502e12638e54bf7ad2f24a
b341a780162d809b187a8f35a10bba7642b69798vboxsyncCOMPONENT_ARCHIVE_URL= http://softlayer.dl.sourceforge.net/project/flex/flex/flex-2.5.35/flex-2.5.35.tar.bz2
b341a780162d809b187a8f35a10bba7642b69798vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncSONAME=libfl.so.1
b341a780162d809b187a8f35a10bba7642b69798vboxsyncLDFLAGS = $(CC_BITS)
b341a780162d809b187a8f35a10bba7642b69798vboxsync
b341a780162d809b187a8f35a10bba7642b69798vboxsyncinclude ../../make-rules/prep.mk
b341a780162d809b187a8f35a10bba7642b69798vboxsyncinclude ../../make-rules/configure.mk
b341a780162d809b187a8f35a10bba7642b69798vboxsyncinclude ../../make-rules/ips.mk
b341a780162d809b187a8f35a10bba7642b69798vboxsync
b341a780162d809b187a8f35a10bba7642b69798vboxsyncCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
0bfb9ba54b99b5ce067ffb993bde00c423ca4f39vboxsyncCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
b341a780162d809b187a8f35a10bba7642b69798vboxsyncCONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
c98898169f63ae161b20828ed8ebcf8be2d232f7vboxsyncCONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
b341a780162d809b187a8f35a10bba7642b69798vboxsyncCONFIGURE_OPTIONS += M4="/usr/gnu/bin/m4"
0bfb9ba54b99b5ce067ffb993bde00c423ca4f39vboxsync
0bfb9ba54b99b5ce067ffb993bde00c423ca4f39vboxsyncCOMPONENT_BUILD_ENV += SONAME="$(SONAME)"
f7422473f089cb7f3b8be1c3fc223c441627d15cvboxsyncCOMPONENT_INSTALL_ENV += SONAME="$(SONAME)"
0bfb9ba54b99b5ce067ffb993bde00c423ca4f39vboxsync
b341a780162d809b187a8f35a10bba7642b69798vboxsyncCOMPONENT_TEST_ENV += PATH=/usr/gnu/bin:/usr/bin
b341a780162d809b187a8f35a10bba7642b69798vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncCOMPONENT_BUILD_TARGETS += $(SONAME)
b341a780162d809b187a8f35a10bba7642b69798vboxsyncCOMPONENT_INSTALL_TARGETS += $(SONAME)
b341a780162d809b187a8f35a10bba7642b69798vboxsync
10be49ac5a81e00a1b1ae8c4a8a9839321ce19dbvboxsyncinclude ../../make-rules/shared-targets.mk
10be49ac5a81e00a1b1ae8c4a8a9839321ce19dbvboxsync
b341a780162d809b187a8f35a10bba7642b69798vboxsync# common targets
10be49ac5a81e00a1b1ae8c4a8a9839321ce19dbvboxsyncbuild: $(BUILD_32_and_64)
0ae258e7d0d2520036514d896a9eea58bf285f03vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncinstall: $(INSTALL_32_and_64)
3e31224f56c94878652bca81c09b54cd67828ee9vboxsync
b341a780162d809b187a8f35a10bba7642b69798vboxsynctest: $(TEST_32_and_64)
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncinclude ../../make-rules/depend.mk
3e31224f56c94878652bca81c09b54cd67828ee9vboxsync
3e31224f56c94878652bca81c09b54cd67828ee9vboxsync