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