pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / shell / getopt / Makefile
blob1bfcccc37c8671a5053546e16625a5c80e8202f9
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) 2013, Oracle and/or its affiliates. All rights reserved.
26 BUILD_STYLE= justmake
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= getopt
30 COMPONENT_VERSION= 1.1.6
31 COMPONENT_REVISION= 1
32 COMPONENT_SUMMARY= parse command-line arguments from shell scripts
33 COMPONENT_PROJECT_URL= http://frodo.looijaard.name/project/getopt/
34 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
35 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
36 COMPONENT_ARCHIVE_HASH= sha256:d0bf1dc642a993e7388a1cddfb9409bed375c21d5278056ccca3a0acd09dc5fe
37 COMPONENT_ARCHIVE_URL= http://frodo.looijaard.name/system/files/software/getopt/$(COMPONENT_ARCHIVE)
38 COMPONENT_FMRI= shell/gnu-getopt
39 COMPONENT_CLASSIFICATION= System/Shells
40 COMPONENT_LICENSE= GPLv2
41 COMPONENT_LICENSE_FILE= COPYING
43 TEST_TARGET= $(NO_TESTS)
44 include $(WS_MAKE_RULES)/common.mk
46 # getopt doesn't use configure, override the hard-wired values in the Makefile.
47 COMPONENT_BUILD_ARGS += CC="$(CC) $(CC_BITS)"
48 COMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
49 COMPONENT_BUILD_ARGS += LIBCGETOPT=0
51 COMPONENT_INSTALL_ARGS += prefix=/usr/gnu
52 COMPONENT_INSTALL_ARGS += mandir=/usr/gnu/share/man
53 COMPONENT_INSTALL_ARGS += CC="$(CC) $(CC_BITS)"
54 COMPONENT_INSTALL_ARGS += CFLAGS="$(CFLAGS)"
56 # Stupid source tarball distribution contains two .o files.
57 COMPONENT_POST_UNPACK_ACTION= \
58 $(RM) $(COMPONENT_SRC)/gnu/*.o
60 ASLR_MODE = $(ASLR_ENABLE)
62 # Auto-generated dependencies
63 REQUIRED_PACKAGES += system/library