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