pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / shell / pconsole / Makefile
blob2a98f04c468a794da27007bc5a5e8d248522a062
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.
24 # Copyright (c) 2019 Nona Hansel
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= pconsole
30 COMPONENT_VERSION= 1.1
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
33 COMPONENT_PROJECT_URL= https://github.com/walterdejong/$(COMPONENT_NAME)
34 COMPONENT_ARCHIVE_HASH= \
35 sha256:4a8df7a1affc7cb9f110499bc51f0fba3da3fdceef9daa7dab1d0221babfd1cd
36 COMPONENT_ARCHIVE_URL= https://github.com/walterdejong/pconsole/archive/v$(COMPONENT_VERSION).tar.gz
38 include $(WS_MAKE_RULES)/prep.mk
39 include $(WS_MAKE_RULES)/configure.mk
40 include $(WS_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 # Auto-generated dependencies
70 REQUIRED_PACKAGES += SUNWcs
71 REQUIRED_PACKAGES += shell/bash
72 REQUIRED_PACKAGES += system/library