Makefile revision 3661
830N/A#
830N/A# CDDL HEADER START
830N/A#
830N/A# The contents of this file are subject to the terms of the
830N/A# Common Development and Distribution License (the "License").
830N/A# You may not use this file except in compliance with the License.
830N/A#
830N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
830N/A# or http://www.opensolaris.org/os/licensing.
830N/A# See the License for the specific language governing permissions
830N/A# and limitations under the License.
830N/A#
830N/A# When distributing Covered Code, include this CDDL HEADER in each
830N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
830N/A# If applicable, add the following below this CDDL HEADER, with the
830N/A# fields enclosed by brackets "[]" replaced with your own identifying
830N/A# information: Portions Copyright [yyyy] [name of copyright owner]
830N/A#
830N/A# CDDL HEADER END
830N/A#
6071N/A
830N/A#
839N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
830N/A#
830N/Ainclude ../../make-rules/shared-macros.mk
1273N/A
1273N/ACOMPONENT_NAME= cups
830N/ACOMPONENT_VERSION= 1.4.5
830N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
830N/ACOMPONENT_PROJECT_URL= http://www.cups.org/
6071N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-source.tar.bz2
830N/ACOMPONENT_ARCHIVE_HASH= \
830N/A sha256:0450d6d8e6e8af225d2a3319c848737d76473a6c7579cf97c52086d0371c0efe
830N/ACOMPONENT_ARCHIVE_URL= http://ftp.easysw.com/pub/cups/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
830N/ACOMPONENT_BUGDB= utility/cups
830N/A
1273N/ATPNO= 17705
1273N/A
6071N/Ainclude ../../make-rules/prep.mk
1273N/Ainclude ../../make-rules/configure.mk
1273N/Ainclude ../../make-rules/ips.mk
844N/A
6071N/ACXX += $(studio_NORUNPATH)
6071N/A
830N/A# don't use LD_Z_IGNORE: causes linker problems
830N/ALD_Z_IGNORE=
6071N/A
3661N/ACONFIGURE_OPTIONS += --prefix=/usr
830N/ACONFIGURE_OPTIONS += --mandir=/usr/share/man
830N/ACONFIGURE_OPTIONS += --localedir=$(USRSHARELOCALEDIR)
830N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
830N/ACONFIGURE_OPTIONS += --localstatedir=/var
830N/ACONFIGURE_OPTIONS += --with-fontpath=/usr/openwin/lib
830N/ACONFIGURE_OPTIONS += --with-logdir=/var/log/cups
830N/ACONFIGURE_OPTIONS += --with-domainsocket=/var/run/cups-socket
830N/ACONFIGURE_OPTIONS += --with-smfmanifestdir=/lib/svc/manifest/application
6071N/ACONFIGURE_OPTIONS += --with-printcap=/etc/printers.conf
830N/ACONFIGURE_OPTIONS += --with-cups-user=lp
830N/ACONFIGURE_OPTIONS += --with-cups-group=lp
844N/ACONFIGURE_OPTIONS += --disable-static
6071N/ACONFIGURE_OPTIONS += --disable-gnutls
6071N/ACONFIGURE_OPTIONS += --disable-libusb
902N/ACONFIGURE_OPTIONS += --enable-labeling
6071N/ACONFIGURE_OPTIONS += --enable-openssl
6071N/ACONFIGURE_OPTIONS += --enable-dbus
6071N/ACONFIGURE_OPTIONS += --enable-threads
6071N/ACONFIGURE_OPTIONS += --enable-64bit
6071N/ACONFIGURE_OPTIONS += --enable-auditing
6071N/A
6071N/ACONFIGURE_OPTIONS += ARCH64FLAGS=-m64
6071N/ACONFIGURE_OPTIONS += DSO64FLAGS="$(LDLIBS) -G"
6071N/ACONFIGURE_OPTIONS += "ac_cv_search_getifaddrs=no"
6071N/ACONFIGURE_OPTIONS += "ac_cv_func_statfs=no"
6071N/A
6071N/A$(BUILD_DIR)/%/.installed: ENV += DSTROOT="$(PROTO_DIR)"
6071N/A
6071N/APATCH_LEVEL = 0
6071N/A
6071N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
6071N/A $(CLONEY) $(SOURCE_DIR) $(@D) ; \
6071N/A find $(@D) -name '*.in' | sed -e 's/.in$$//' | xargs $(RM) ; \
6071N/A ( cd $(SOURCE_DIR) ; autoconf -f )
6071N/A
6071N/A# install the default config file
854N/ACOMPONENT_POST_INSTALL_ACTION = \
902N/A $(TOUCH) $(PROTOETCDIR)/cups/command.types ; \
902N/A $(MV) $(PROTOUSRLIBDIR)/64 $(PROTOUSRLIBDIR)/$(MACH64)
902N/A
830N/A# common targets
830N/Abuild: $(BUILD_32)
830N/A
830N/Ainclude ../../make-rules/shared-targets.mk
830N/A
830N/Ainstall: $(INSTALL_32)
830N/A
830N/Atest: $(NO_TESTS)
830N/A
830N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
830N/A
830N/Ainclude ../../make-rules/depend.mk
830N/A