sudo: remove unnecessary patches
[unleashed-userland.git] / components / pconsole / Makefile
blob39246f42cd33a60e8d93cca8f84b9deccc99e79e
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
26 include ../../make-rules/shared-macros.mk
28 COMPONENT_NAME= pconsole
29 COMPONENT_VERSION= 1.0
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
32 COMPONENT_PROJECT_URL= http://www.heiho.net/pconsole/
33 COMPONENT_ARCHIVE_HASH= \
34 sha256:94520bf65f726df9d7e686bb486e9a2828c29d09a20b9522f1da4f7d66700bb2
35 COMPONENT_ARCHIVE_URL= http://www.heiho.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
36 COMPONENT_BUGDB= utility/pconsole
38 include ../../make-rules/prep.mk
39 include ../../make-rules/configure.mk
40 include ../../make-rules/ips.mk
42 # Required to configure correctly.
43 COMPONENT_PRE_CONFIGURE_ACTION = \
44 ($(CLONEY) $(SOURCE_DIR) $(@D))
46 # -I argument needed to find the generated config.h file.
47 # CC_BITS needed to ensure -m64 is used for 64-bit compile
48 #CONFIGURE_ENV += "CC=$(CC) -I. $(CC_BITS)"
49 CC += -I.
51 # If the configure options are not explicitly set, then configure fails with:
52 # configure: warning: CC=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc: invalid host type
53 # configure: warning: CXX=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/CC: invalid host type
54 # configure: error: can only configure for one host and one target at a time
55 CONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
57 ASLR_MODE = $(ASLR_ENABLE)
59 # DESTDIR doesn't work correctly, so we specify some of the paths directly.
60 COMPONENT_INSTALL_ARGS += prefix=$(PROTOUSRDIR)
62 # common targets
63 build: $(BUILD_32)
65 install: $(INSTALL_32)
67 test: $(NO_TESTS)
69 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
71 include ../../make-rules/depend.mk