unleashed-userland README
[unleashed-userland.git] / components / flex / Makefile
blobac8ceeb9e5415f6be5c0ebabf11167e8efcc3079
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
26 include ../../make-rules/shared-macros.mk
28 COMPONENT_NAME= flex
29 COMPONENT_VERSION= 2.6.3
30 COMPONENT_PROJECT_URL= https://github.com/westes/flex
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
33 COMPONENT_ARCHIVE_HASH= \
34 sha256:68b2742233e747c462f781462a2a1e299dc6207401dac8f0bbb316f48565c2aa
35 COMPONENT_ARCHIVE_URL= https://github.com/westes/flex/releases/download/v2.6.3/flex-2.6.3.tar.gz
36 COMPONENT_BUGDB= utility/flex
38 LDFLAGS = $(CC_BITS)
40 include ../../make-rules/prep.mk
41 include ../../make-rules/configure.mk
42 include ../../make-rules/ips.mk
44 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
46 COMPONENT_TEST_ENV += PATH=/usr/gnu/bin:/usr/bin
48 include ../../make-rules/shared-targets.mk
50 ASLR_MODE=$(ASLR_ENABLE)
52 # common targets
53 build: $(BUILD_32_and_64)
55 install: $(INSTALL_32_and_64)
57 test: $(TEST_32_and_64)
59 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
61 include ../../make-rules/depend.mk