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]
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
26 include ..
/..
/make-rules
/shared-macros.mk
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
) -Wl
,-znodefs
40 include ..
/..
/make-rules
/prep.mk
41 include ..
/..
/make-rules
/configure.mk
42 include ..
/..
/make-rules
/ips.mk
45 CONFIGURE_OPTIONS
+= --infodir=$(CONFIGURE_INFODIR
)
47 COMPONENT_TEST_ENV
+= PATH
=/usr
/gnu
/bin
:/usr
/bin
49 include ..
/..
/make-rules
/shared-targets.mk
51 ASLR_MODE
=$(ASLR_ENABLE
)
54 build
: $(BUILD_32_and_64
)
56 install: $(INSTALL_32_and_64
)
58 test: $(TEST_32_and_64
)
60 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
62 include ..
/..
/make-rules
/depend.mk