components/logilab-astng/Makefile
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Wed, 13 Apr 2011 09:58:06 -0700
changeset 181 87e11e685b1f
parent 114 6cc95ec7b1bb
child 247 c57f32335aee
permissions -rw-r--r--
7003927 userland should postprocess packaged files 7034188 userland should have common lint library rules 7034992 userland packages should include opensolaris.arc_url data 7019309 move ghostscript to userland (fix build)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
114
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     1
#
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     3
#
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     7
#
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    12
#
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    18
#
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    20
#
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    21
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    22
#
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    23
# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    24
#
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    25
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    27
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		logilab-astng
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	0.19.0
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    30
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	sha1:87fe682ec98599c0088f228ba94cb50a7ed99466
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	http://ftp.logilab.org/pub/astng/$(COMPONENT_ARCHIVE)
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    34
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    35
include ../../make-rules/prep.mk
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    36
include ../../make-rules/ips.mk
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    37
include ../../make-rules/setup.py.mk
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    38
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    39
# common targets
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    40
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    41
build:		$(BUILD_32)
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    42
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    43
install:	$(INSTALL_32)
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    44
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    45
# No runnable tests; the existing tests are missing a runtests.py
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    46
# file, which isn't fixed until logilab-ast version 0.20.1.
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    47
# When logilab-astng is updated, we can change this test target to do:
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    48
#        (cd $(COMPONENT_SRC)/test; $(ENV) - \
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    49
#        PYTHONPATH=$(PROTO_DIR)/usr/lib/python2.6/vendor-packages \
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    50
#        ./fulltest.sh)
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 114
diff changeset
    51
test:		$(NO_TESTS)
114
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    52
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    53
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    54
6cc95ec7b1bb 7020818 move logilab-astng to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    55
include ../../make-rules/depend.mk