comparison components/conflict/Makefile @ 387:88254491c816

7063901 Move conflict to userland
author Rich Burridge <rich.burridge@oracle.com>
date Tue, 12 Jul 2011 10:42:28 -0700
parents
children
comparison
equal deleted inserted replaced
386:8cd1ab930008 387:88254491c816
1 #
2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21
22 #
23 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
24 #
25
26 include ../../make-rules/shared-macros.mk
27
28 COMPONENT_NAME= conflict
29 COMPONENT_VERSION= 20040901
30 IPS_COMPONENT_VERSION= 0.2004.9.1
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
33 COMPONENT_PROJECT_URL= http://invisible-island.net/conflict/conflict.html
34 COMPONENT_ARCHIVE_HASH= sha1:fbf712f55c71c1c7c298609284fae00bdcbcc9c6
35 COMPONENT_ARCHIVE_URL= ftp://invisible-island.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
36
37 include ../../make-rules/prep.mk
38 include ../../make-rules/configure.mk
39 include ../../make-rules/ips.mk
40
41 # Required to configure correctly.
42 COMPONENT_PRE_CONFIGURE_ACTION = \
43 ($(CLONEY) $(SOURCE_DIR) $(@D))
44
45 CONFIGURE_ENV += "CC=$(CC)"
46
47 # If the configure options are not explicitly set, then configure fails with:
48 # configure: warning: CC=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc: invalid host type
49 # configure: warning: CXX=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/CC: invalid host type
50 # configure: error: can only configure for one host and one target at a time
51 CONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
52 CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
53
54 # common targets
55 build: $(BUILD_32)
56
57 install: $(INSTALL_32)
58
59 test: build
60 @cd $(BUILD_DIR_32); ./run_test.sh
61
62 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
63
64 include ../../make-rules/depend.mk