Makefile revision 235
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# CDDL HEADER START
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# The contents of this file are subject to the terms of the
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# Common Development and Distribution License (the "License").
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# You may not use this file except in compliance with the License.
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# See the License for the specific language governing permissions
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# and limitations under the License.
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# When distributing Covered Code, include this CDDL HEADER in each
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# If applicable, add the following below this CDDL HEADER, with the
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# fields enclosed by brackets "[]" replaced with your own identifying
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# information: Portions Copyright [yyyy] [name of copyright owner]
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# CDDL HEADER END
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# Use is subject to license terms.
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# pkg/*.py -> /usr/lib/python2.4/vendor-packages/pkg/
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenkLINKPYTHONPKG = /usr/lib/python2.4/vendor-packages/pkg
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk modules/bundle/SolarisPackageDatastreamBundle.py \
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenkROOTPYMODS = $(PYMODS:modules/%=$(ROOTPYTHONPKG)/%)
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk $(PYACTIONMODS:modules/actions/%=$(ROOTPYTHONPKG)/actions/%)
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk $(PYSERVERMODS:modules/server/%=$(ROOTPYTHONPKG)/server/%)
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk $(PYPUBLISHMODS:modules/publish/%=$(ROOTPYTHONPKG)/publish/%)
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk $(PYCLIENTMODS:modules/client/%=$(ROOTPYTHONPKG)/client/%)
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk $(PYBUNDLEMODS:modules/bundle/%=$(ROOTPYTHONPKG)/bundle/%)
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenktest := TARGET = test
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk rm -f $(PYCMODS) $(PYCACTIONMODS) $(PYCSERVERMODS) \
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk $(PYCPUBLISHMODS) $(PYCCLIENTMODS) $(PYCBUNDLEMODS)
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# XXX link is a developer target to connect the local machine to the current
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk# repository's working copy's versions of the commands, modules, and supporting
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk ln -sf $(PWD)/modules /usr/lib/python2.4/vendor-packages/pkg
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk ln -sf $(PWD)/pkg-server.xml /var/svc/manifest/pkg-server.xml
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk rm -f $@; install -f $(ROOTPYTHONPKG)/actions -m 0444 $<
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk rm -f $@; install -f $(ROOTPYTHONPKG)/server -m 0444 $<
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk rm -f $@; install -f $(ROOTPYTHONPKG)/publish -m 0444 $<
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk rm -f $@; install -f $(ROOTPYTHONPKG)/client -m 0444 $<
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk rm -f $@; install -f $(ROOTPYTHONPKG)/bundle -m 0444 $<
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk rm -f $@; install -f $(ROOTPYTHONPKG) -m 0555 $<
4b8d88eb610aa1e0bb6ec632f792744b3d6b5f22jeff.schenk rm -f $@; install -f $(ROOTPYTHONPKG) -m 0444 $<