Makefile revision 1914
39f68d7b64dce25e19f7132f6c46b3beabeed492Tinderbox User# CDDL HEADER START
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# The contents of this file are subject to the terms of the
689023771c563d8660e45d439a207e06e96de28fMark Andrews# Common Development and Distribution License (the "License").
689023771c563d8660e45d439a207e06e96de28fMark Andrews# You may not use this file except in compliance with the License.
689023771c563d8660e45d439a207e06e96de28fMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
689023771c563d8660e45d439a207e06e96de28fMark Andrews# See the License for the specific language governing permissions
689023771c563d8660e45d439a207e06e96de28fMark Andrews# and limitations under the License.
689023771c563d8660e45d439a207e06e96de28fMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
689023771c563d8660e45d439a207e06e96de28fMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
689023771c563d8660e45d439a207e06e96de28fMark Andrews# If applicable, add the following below this CDDL HEADER, with the
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# CDDL HEADER END
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
689023771c563d8660e45d439a207e06e96de28fMark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
689023771c563d8660e45d439a207e06e96de28fMark Andrews sha256:fc013e528616f8578d9f221409c48af9b8937a62005e0bec88f6f1c4c8ff3d81
689023771c563d8660e45d439a207e06e96de28fMark AndrewsCOMPONENT_ARCHIVE_URL= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/$(COMPONENT_ARCHIVE)
15bbb8a1298a61e401ba16c944dc06049abb81bfAutomatic Updater sha256:6f9bcdc884a9f450208c740e45effdfeb7e65c689f57b05d3c15208193a8a6ea
515c7f3c43f76d7b439905b18009105364b36100Automatic UpdaterCOMPONENT_ARCHIVE_URL_1= ftp://ftp.eenet.ee/pub/cpan/authors/id/I/IA/IANC/$(COMPONENT_ARCHIVE_1)
689023771c563d8660e45d439a207e06e96de28fMark Andrews gzip -dc ../../$(SDFVER).tar.gz | tar xopf -; \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# we need to enable large file support and build PIC for our shared libraries
30eec077db2bdcb6f2a0dc388a3cdde2ede75ec1Mark AndrewsCFLAGS += $(CPP_LARGEFILES) $(CC_PIC) $(studio_NORUNPATH)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
689023771c563d8660e45d439a207e06e96de28fMark AndrewsCONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64)
689023771c563d8660e45d439a207e06e96de28fMark AndrewsCONFIGURE_OPTIONS += --localstatedir=/var/openldap
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinCONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/openldap
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntCOMPONENT_TEST_ENV += LD_LIBRARY_PATH="$(PROTOULD):$(PROTOULD)/$(MACH64):"
689023771c563d8660e45d439a207e06e96de28fMark Andrews# Enable ASLR for this component
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# common targets
30eec077db2bdcb6f2a0dc388a3cdde2ede75ec1Mark Andrews $(PERL) -I$(SDFBLIB)/lib $(SDFBLIB)/script/sdf -2html guide.sdf; \
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt $(PERL) -I$(SDFBLIB)/lib $(SDFBLIB)/script/sdf -2html index.sdf)
689023771c563d8660e45d439a207e06e96de28fMark Andrews# build does this always