Makefile revision 106
106N/A#
106N/A# CDDL HEADER START
106N/A#
106N/A# The contents of this file are subject to the terms of the
106N/A# Common Development and Distribution License (the "License").
106N/A# You may not use this file except in compliance with the License.
106N/A#
106N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
106N/A# or http://www.opensolaris.org/os/licensing.
106N/A# See the License for the specific language governing permissions
106N/A# and limitations under the License.
106N/A#
106N/A# When distributing Covered Code, include this CDDL HEADER in each
106N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
106N/A# If applicable, add the following below this CDDL HEADER, with the
106N/A# fields enclosed by brackets "[]" replaced with your own identifying
106N/A# information: Portions Copyright [yyyy] [name of copyright owner]
106N/A#
106N/A# CDDL HEADER END
106N/A#
106N/A
106N/A#
106N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
106N/A#
106N/A
106N/Ainclude ../../make-rules/shared-macros.mk
106N/A
106N/ACOMPONENT_NAME= logilab-common
106N/ACOMPONENT_VERSION= 0.40.0
106N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
106N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
106N/ACOMPONENT_ARCHIVE_HASH= sha1:4020a550c083f9c4cffdf9bc95f5d957b25ba95b
106N/ACOMPONENT_ARCHIVE_URL= http://ftp.logilab.org/pub/common/$(COMPONENT_ARCHIVE)
106N/A
106N/Ainclude ../../make-rules/prep.mk
106N/Ainclude ../../make-rules/ips.mk
106N/Ainclude ../../make-rules/setup.py.mk
106N/A
106N/AMAN3FILES = logilab-common.3
106N/A
106N/Ainclude ../../make-rules/shared-targets.mk
106N/A
106N/A$(PROTOMAN3FILES):
106N/A $(CP) $(MAN3FILES) $(PROTOMAN3FILES)
106N/A
106N/A# common targets
106N/A
106N/Abuild: $(BUILD_32)
106N/A
106N/Ainstall: $(PROTOMAN3FILES) $(INSTALL_32)
106N/A
106N/A# Expected failures for test target:
106N/A# In unittest_modutils.py, one failure in
106N/A# test_knownValues_is_standard_module_2 (unittest_modutils.is_standard_module_tc).
106N/A# In unittest_shellutils.py, one error in
106N/A# test_locked_for_one_hour (unittest_shellutils.AcquireLockTC).
106N/A# Summary: 361 test cases; 1 errors, 1 failures, 28 skipped; 23 modules OK (2 failed)
106N/Atest: build
106N/A (cd $(COMPONENT_SRC); $(ENV) - \
106N/A PYTHONPATH=$(PROTO_DIR)/usr/lib/python2.6/vendor-packages \
106N/A bin/pytest test)
106N/A
106N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
106N/A
106N/Ainclude ../../make-rules/depend.mk