Cross Reference: /solaris-userland/components/jansson/Makefile
Makefile revision 6024
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
5329N/A#
5329N/A# CDDL HEADER START
5329N/A#
5329N/A# The contents of this file are subject to the terms of the
5329N/A# Common Development and Distribution License (the "License").
5329N/A# You may not use this file except in compliance with the License.
5329N/A#
5329N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5329N/A# or http://www.opensolaris.org/os/licensing.
5329N/A# See the License for the specific language governing permissions
5329N/A# and limitations under the License.
5329N/A#
5329N/A# When distributing Covered Code, include this CDDL HEADER in each
5329N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5329N/A# If applicable, add the following below this CDDL HEADER, with the
5329N/A# fields enclosed by brackets "[]" replaced with your own identifying
5329N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5329N/A#
5329N/A# CDDL HEADER END
5329N/A#
5329N/A
5329N/A#
5329N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
5329N/A#
5329N/ABUILD_BITS= 64_and_32
5329N/Ainclude ../../make-rules/shared-macros.mk
5329N/A
5329N/ACOMPONENT_NAME= jansson
5329N/ACOMPONENT_VERSION= 2.7
5329N/ACOMPONENT_PROJECT_URL= http://www.digip.org/jansson
5329N/ACOMPONENT_ARCHIVE_HASH= \
5329N/A sha256:7905e6590fb316c0ff943df3dc6a21cd81a59cff7a6d12514054c359d04d78d7
5329N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_ARCHIVE)
5329N/ACOMPONENT_BUGDB= library/jansson
5329N/A
5329N/ATPNO= 19403
5329N/A
5329N/Ainclude $(WS_MAKE_RULES)/common.mk
5329N/A
5329N/ALINT_FLAGS += -I$(PROTOUSRINCDIR)
5329N/A
5329N/ACONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/jansson
5329N/A
5329N/A# The test/suites/api/check-exports uses nm and expects it to be the GNU kind.
5329N/ACOMPONENT_TEST_ENV += PATH=$(GNUBIN):$(PATH)
5329N/A
5329N/A# 003-CVE-2016-4425.patch modifies jansson_config.h.in that will generate a new
5329N/A# jansson_config.h in the build subdirectory. We need to rm the one in the
5329N/A# original source so that it doesn't get in the way.
5329N/ACOMPONENT_PREP_ACTION += $(RM) $(@D)/src/jansson_config.h
ASLR_MODE = $(ASLR_ENABLE)