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