Makefile revision 97
#
# 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 \
ROOTPROGS = \
PYMODS = \
PYACTIONMODS = \
PYSERVERMODS = \
PYCLIENTMODS = \
PYPUBLISHMODS = \
PYACTIONMODS = \
PYBUNDLEMODS = \
ROOTPYACTIONMODS = \
ROOTPYSERVERMODS = \
ROOTPYCLIENTMODS = \
ROOTPYACTIONMODS = \
ROOTPYBUNDLEMODS = \
ROOTCOMPONENTS = \
$(ROOTDIRS) \
$(ROOTPROGS) \
$(ROOTPYMODS) \
$(ROOTPYACTIONMODS) \
$(ROOTPYSERVERMODS) \
$(ROOTPYPUBLISHMODS) \
$(ROOTPYCLIENTMODS) \
$(ROOTPYACTIONMODS) \
# XXX link is a developer target to connect the local machine to the current
# repository's working copy's versions of the commands and modules.
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
mkdir -p $(ROOTUSRBIN)
mkdir -p $(ROOTUSRLIB)
$(ROOTPYTHONPKG)/publish:
$(ROOTPYTHONPKG)/client:
$(ROOTPYTHONPKG)/actions:
$(ROOTPYTHONPKG)/bundle:
$(ROOTUSRBIN)/%: %
$(ROOTUSRLIB)/%: %
$(ROOTPYTHONPKG)/%: modules/%