Makefile revision 5341
20c794b39650d115e17a15983b6b82e46238cf45gavinm# CDDL HEADER START
20c794b39650d115e17a15983b6b82e46238cf45gavinm# The contents of this file are subject to the terms of the
20c794b39650d115e17a15983b6b82e46238cf45gavinm# Common Development and Distribution License (the "License").
20c794b39650d115e17a15983b6b82e46238cf45gavinm# You may not use this file except in compliance with the License.
20c794b39650d115e17a15983b6b82e46238cf45gavinm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
20c794b39650d115e17a15983b6b82e46238cf45gavinm# See the License for the specific language governing permissions
20c794b39650d115e17a15983b6b82e46238cf45gavinm# and limitations under the License.
20c794b39650d115e17a15983b6b82e46238cf45gavinm# When distributing Covered Code, include this CDDL HEADER in each
20c794b39650d115e17a15983b6b82e46238cf45gavinm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20c794b39650d115e17a15983b6b82e46238cf45gavinm# If applicable, add the following below this CDDL HEADER, with the
20c794b39650d115e17a15983b6b82e46238cf45gavinm# fields enclosed by brackets "[]" replaced with your own identifying
20c794b39650d115e17a15983b6b82e46238cf45gavinm# information: Portions Copyright [yyyy] [name of copyright owner]
20c794b39650d115e17a15983b6b82e46238cf45gavinm# CDDL HEADER END
20c794b39650d115e17a15983b6b82e46238cf45gavinm# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
20c794b39650d115e17a15983b6b82e46238cf45gavinmCOMPONENT_DOWNLOAD_URL= https://fedorahosted.org/releases/o/p/openscap
20c794b39650d115e17a15983b6b82e46238cf45gavinmCOMPONENT_ARCHIVE_HASH= sha256:95f2345e041e9ba838ad8065b68ce0ec4b0971d7afc72d601489236bbfc0c652
20c794b39650d115e17a15983b6b82e46238cf45gavinmCOMPONENT_ARCHIVE_URL= $(COMPONENT_DOWNLOAD_URL)/$(COMPONENT_ARCHIVE)
20c794b39650d115e17a15983b6b82e46238cf45gavinm# Perl related patch needs configure script recreation.
20c794b39650d115e17a15983b6b82e46238cf45gavinm# Need to do cloney, so that the schema files can get packaged.
20c794b39650d115e17a15983b6b82e46238cf45gavinm $(CP) files/cpe/* $(PROTO_DIR)/usr/share/openscap/cpe
20c794b39650d115e17a15983b6b82e46238cf45gavinm# Needed to make "gmake test" work.
20c794b39650d115e17a15983b6b82e46238cf45gavinmCONFIGURE_OPTIONS.64 += CFLAGS="$(CFLAGS) -D_FILE_OFFSET_BITS=64"
20c794b39650d115e17a15983b6b82e46238cf45gavinmCONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
20c794b39650d115e17a15983b6b82e46238cf45gavinmCONFIGURE_OPTIONS += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
20c794b39650d115e17a15983b6b82e46238cf45gavinmCONFIGURE_OPTIONS += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES)
20c794b39650d115e17a15983b6b82e46238cf45gavinm# Enable ASLR for this component
20c794b39650d115e17a15983b6b82e46238cf45gavinm# common targets