Makefile revision 136
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# publish.py -> /usr/bin/pkgsend
# depot.py -> /usr/lib/pkg.depotd
#
# pkg/*.py -> /usr/lib/python2.4/vendor-packages/pkg/
ROOTDIRS = \
$(ROOT) \
$(ROOTUSRBIN) \
$(ROOTUSRLIB) \
$(ROOTPYTHONPKG)/actions \
$(ROOTPYTHONPKG)/server \
$(ROOTPYTHONPKG)/publish \
$(ROOTPYTHONPKG)/client \
$(ROOTPYTHONPKG)/actions \
$(ROOTPYTHONPKG)/bundle \
$(ROOTMANIFEST) \
$(ROOTSHARE) \
$(ROOTMAN1) \
$(ROOTMAN1M)
ROOTPROGS = \
PYMODS = \
PYACTIONMODS = \
PYCACTIONMODS = $(PYACTIONMODS:%.py=%.pyc)
PYSERVERMODS = \
PYCSERVERMODS = $(PYSERVERMODS:%.py=%.pyc)
PYCLIENTMODS = \
PYCCLIENTMODS = $(PYCLIENTMODS:%.py=%.pyc)
PYPUBLISHMODS = \
PYCPUBLISHMODS = $(PYPUBLISHMODS:%.py=%.pyc)
PYBUNDLEMODS = \
PYCBUNDLEMODS = $(PYBUNDLEMODS:%.py=%.pyc)
ROOTPYACTIONMODS = \
ROOTPYSERVERMODS = \
ROOTPYCLIENTMODS = \
ROOTPYBUNDLEMODS = \
ROOTPYCALLMODS = \
$(ROOTPYMODS:%.py=%.pyc) \
$(ROOTPYACTIONMODS:%.py=%.pyc) \
$(ROOTPYSERVERMODS:%.py=%.pyc) \
$(ROOTPYPUBLISHMODS:%.py=%.pyc) \
$(ROOTPYCLIENTMODS:%.py=%.pyc) \
$(ROOTPYBUNDLEMODS:%.py=%.pyc)
ROOTCOMPONENTS = \
$(ROOTDIRS) \
$(ROOTPROGS) \
$(ROOTPYMODS) \
$(ROOTPYACTIONMODS) \
$(ROOTPYSERVERMODS) \
$(ROOTPYPUBLISHMODS) \
$(ROOTPYCLIENTMODS) \
$(ROOTPYACTIONMODS) \
$(ROOTPYBUNDLEMODS) \
$(ROOTPYCALLMODS) \
# XXX link is a developer target to connect the local machine to the current
# repository's working copy's versions of the commands, modules, and supporting
# files.
link:
# Invoke all known modules with tests.
# XXX Invoke the bundle tests.
test:
# $(PYTHON) $(LINKPYTHONPKG)/bundle/__init__.py a_sysv_pkg
# $(PYTHON) $(LINKPYTHONPKG)/bundle/__init__.py a_tarball
$(ROOT):
$(ROOTUSRBIN)/%: %
$(ROOTUSRLIB)/%: %
$(ROOTPYTHONPKG)/%: modules/%
$(ROOTMANIFEST)/%: %