Makefile revision 174
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# CDDL HEADER START
0a05fab9aadd37834734ffe106fc8ad4488fb3e3rbowen# The contents of this file are subject to the terms of the
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# Common Development and Distribution License (the "License").
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# You may not use this file except in compliance with the License.
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# See the License for the specific language governing permissions
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# and limitations under the License.
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# When distributing Covered Code, include this CDDL HEADER in each
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# If applicable, add the following below this CDDL HEADER, with the
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# fields enclosed by brackets "[]" replaced with your own identifying
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# information: Portions Copyright [yyyy] [name of copyright owner]
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# CDDL HEADER END
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
e09595826656839c22c18b47ba1d6b6bae9dba5anilgunCOMPONENT_ARCHIVE_HASH= sha1:d5b075ccffc0068015f74f78e4bc39138bcfe2d4
e09595826656839c22c18b47ba1d6b6bae9dba5anilgunCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/lcms/files/lcms/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
e09595826656839c22c18b47ba1d6b6bae9dba5anilgun# These aren't set by default.
e09595826656839c22c18b47ba1d6b6bae9dba5anilgunPYTHON.$(PYTHON_VERSION).64 = /usr/bin/$(MACH64)/python2.6
e09595826656839c22c18b47ba1d6b6bae9dba5anilgunPYTHONMODULEDIR_32 = /usr/lib/python$(PYTHON_VERSION)/vendor-packages
e09595826656839c22c18b47ba1d6b6bae9dba5anilgunPYTHONMODULEDIR_64 = /usr/lib/python$(PYTHON_VERSION)/vendor-packages/64
e09595826656839c22c18b47ba1d6b6bae9dba5anilgunPROTOPYTHONMODULE32DIR = $(PROTOUSRLIBDIR)/python$(PYTHON_VERSION)/vendor-packages
e09595826656839c22c18b47ba1d6b6bae9dba5anilgunPROTOPYTHONMODULE64DIR = $(PROTOUSRLIBDIR)/python$(PYTHON_VERSION)/vendor-packages/64
71c10d94d9dcec087859cdb44231ccc02ecaef9dnilgunCFLAGS += $(studio_C99_ENABLE) $(CPP_POSIX) $(CPP_LARGEFILES)
71c10d94d9dcec087859cdb44231ccc02ecaef9dnilgunCXXFLAGS += -features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic
e09595826656839c22c18b47ba1d6b6bae9dba5anilgunCXXFLAGS += -instances=global -template=geninlinefuncs -xlang=c99
e09595826656839c22c18b47ba1d6b6bae9dba5anilgunCXXFLAGS += -D_XPG5 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__=1
71c10d94d9dcec087859cdb44231ccc02ecaef9dnilgunPYTHONPATH_64 = /usr/lib/$(MACH64)/python$(PYTHON_VERSION)
e09595826656839c22c18b47ba1d6b6bae9dba5anilgunCONFIGURE_ENV += CXXLD="$(CCC) $(CXXFLAGS) $(LDFLAGS)"
e09595826656839c22c18b47ba1d6b6bae9dba5anilgunCONFIGURE_ENV += CXXCPP="$(CCC) $(CPPFLAGS) $(CXXFLAGS) -E"
e09595826656839c22c18b47ba1d6b6bae9dba5anilgunCONFIGURE_ENV += PYTHONMODULEDIR="$(PYTHONMODULEDIR_$(BITS))"
e09595826656839c22c18b47ba1d6b6bae9dba5anilgunCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH_$(BITS))"
$(PROTOUSRSHAREMAN1DIR)/$$f > \
$(PROTOUSRSHAREMAN1DIR)/$$f ; \
test: $(BUILD_32_and_64)