Makefile revision 2035
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews#
7d32c065c7bb56f281651ae3dd2888f32ce4f1d9Bob Halley# CDDL HEADER START
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews#
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# The contents of this file are subject to the terms of the
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# Common Development and Distribution License (the "License").
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# You may not use this file except in compliance with the License.
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews#
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# or http://www.opensolaris.org/os/licensing.
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# See the License for the specific language governing permissions
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# and limitations under the License.
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews#
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# If applicable, add the following below this CDDL HEADER, with the
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
5159c427839689d5070e2f9c6c9a0168dd9f6583Mark Andrews#
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# CDDL HEADER END
06ec9f45f46306e2da011b23814ed4be8a4abf8eBrian Wellington#
06ec9f45f46306e2da011b23814ed4be8a4abf8eBrian Wellington# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
06ec9f45f46306e2da011b23814ed4be8a4abf8eBrian Wellington#
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrewsinclude ../../../make-rules/shared-macros.mk
854d0238dbc2908490197984b3b9d558008a53dfMark Andrews
854d0238dbc2908490197984b3b9d558008a53dfMark AndrewsCOMPONENT_NAME= FormEncode
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark AndrewsCOMPONENT_VERSION= 1.2.6
6324997211a5e2d82528dcde98e8981190a35faeMichael GraffCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
6324997211a5e2d82528dcde98e8981190a35faeMichael GraffCOMPONENT_ARCHIVE= $(COMPONENT_SRC).zip
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael GraffCOMPONENT_ARCHIVE_HASH= \
d981ca645597116d227a48bf37cc5edc061c854dBob Halley sha256:70fc1d2cf8022b1cc7fcebb5d87cc984dde799e587f05c0a0fe509b374221b0c
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark AndrewsCOMPONENT_ARCHIVE_URL= $(call pypi_url)
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark AndrewsCOMPONENT_PROJECT_URL= http://www.formencode.org/en/latest/
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark AndrewsCOMPONENT_BUGDB= python-mod/formencode
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrewsinclude $(WS_TOP)/make-rules/prep.mk
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrewsinclude $(WS_TOP)/make-rules/setup.py.mk
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrewsinclude $(WS_TOP)/make-rules/ips.mk
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews
d981ca645597116d227a48bf37cc5edc061c854dBob HalleyASLR_MODE = $(ASLR_NOT_APPLICABLE)
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# Remove the trailing Control-M's from msgfmt.py otherwise pkgdepend bitchs.
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark AndrewsCOMPONENT_PRE_BUILD_ACTION = \
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews $(GSED) -i -e 's/
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews//g' $(SOURCE_DIR)/formencode/i18n/msgfmt.py
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# common targets
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrewsbuild: $(BUILD_NO_ARCH)
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrewsinstall: $(INSTALL_NO_ARCH)
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# Tests require:
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# pyDNS, pycountry, pytest-cov, pytest-codecheckers,
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# pytest-capturelog, pytest, cov-core, pyflakes
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews# which haven't been integrated yet.
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrewstest: $(NO_TESTS)
6e49e91bd08778d7eae45a2229dcf41ed97cc636David Lawrence
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark AndrewsBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrewsinclude $(WS_TOP)/make-rules/depend.mk
12c6f4b3b2c5a242ed1b80d75037d4e16806578dMark Andrews