Makefile revision 1258
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# CDDL HEADER START
33d0a7767d53cb366039fd0ac4f63cf8a9c351b0Tinderbox User# The contents of this file are subject to the terms of the
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Common Development and Distribution License (the "License").
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# You may not use this file except in compliance with the License.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# See the License for the specific language governing permissions
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# and limitations under the License.
33d0a7767d53cb366039fd0ac4f63cf8a9c351b0Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
33d0a7767d53cb366039fd0ac4f63cf8a9c351b0Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# fields enclosed by brackets "[]" replaced with your own identifying
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# CDDL HEADER END
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_PROJECT_URL= http://www.openldap.org/
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User sha256:fc013e528616f8578d9f221409c48af9b8937a62005e0bec88f6f1c4c8ff3d81
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_ARCHIVE_URL= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/$(COMPONENT_ARCHIVE)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User sha256:6f9bcdc884a9f450208c740e45effdfeb7e65c689f57b05d3c15208193a8a6ea
33d0a7767d53cb366039fd0ac4f63cf8a9c351b0Tinderbox UserCOMPONENT_ARCHIVE_URL_1= ftp://ftp.eenet.ee/pub/cpan/authors/id/I/IA/IANC/$(COMPONENT_ARCHIVE_1)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User gzip -dc ../../$(SDFVER).tar.gz | tar xopf -; \
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# we need to enable large file support and build PIC for our shared libraries
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCFLAGS += $(CPP_LARGEFILES) $(CC_PIC) $(studio_NORUNPATH)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCONFIGURE_OPTIONS += --localstatedir=/var/openldap
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/openldap
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCONFIGURE_OPTIONS += --docdir=$(USRSHAREDOCDIR)
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCOMPONENT_TEST_ENV += LD_LIBRARY_PATH="$(PROTOULD):$(PROTOULD)/$(MACH64):"
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# common targets
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User $(PERL) -I$(SDFBLIB)/lib $(SDFBLIB)/script/sdf -2html guide.sdf; \
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont $(PERL) -I$(SDFBLIB)/lib $(SDFBLIB)/script/sdf -2html index.sdf)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# build does this always