python/setuptools: update to 75.7.0
[oi-userland.git] / components / network / dnsmasq / Makefile
blob6bd196e48c947c6e383163f0580e931f8952532d
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, 2015, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2017, 2020, Andreas Wacknitz
27 BUILD_BITS= 64
28 BUILD_STYLE= justmake
29 include ../../../make-rules/shared-macros.mk
31 COMPONENT_NAME= dnsmasq
32 COMPONENT_VERSION= 2.89
33 COMPONENT_SUMMARY= dnsmasq is a DNS forwarder for NAT firewalls
34 COMPONENT_DESCRIPTION= dnsmasq(8) is a lightweight DNS, TFTP, PXE, router advertisement and DHCP server. \
35 It is intended to provide coupled DNS and DHCP service to a LAN.
36 COMPONENT_PROJECT_URL= https://www.thekelleys.org.uk
37 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
38 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
39 COMPONENT_ARCHIVE_HASH= sha256:8651373d000cae23776256e83dcaa6723dee72c06a39362700344e0c12c4e7e4
40 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
41 COMPONENT_FMRI= service/network/dnsmasq
42 COMPONENT_CLASSIFICATION= Applications/Internet
43 COMPONENT_LICENSE= GPLv2, GPLv3
45 TEST_TARGET= $(NO_TESTS)
46 include $(WS_MAKE_RULES)/common.mk
48 # i18n component requires GNU xgettext
49 PATH= $(PATH.gnu)
51 # Enable ASLR for this component
52 ASLR_MODE = $(ASLR_ENABLE)
54 CPPFLAGS += $(CPP_XPG6MODE)
55 CPPFLAGS += $(CPP_LARGEFILES)
57 COMPONENT_BUILD_ENV += CC="$(CC)"
58 COMPONENT_BUILD_ARGS += CC="$(CC)"
59 COMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
60 COMPONENT_BUILD_ARGS += PREFIX="/usr"
61 COMPONENT_BUILD_ARGS += LOCALEDIR="/usr/share/locale"
62 COMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS) -m$(BITS)"
63 COMPONENT_BUILD_TARGETS = "all-i18n"
64 COMPONENT_INSTALL_ENV += CC="$(CC)"
65 COMPONENT_INSTALL_ARGS += CC="$(CC)"
66 COMPONENT_INSTALL_ARGS += PREFIX="/usr"
67 COMPONENT_INSTALL_ARGS += BINDIR="$(USRLIBDIR)/inet"
68 COMPONENT_INSTALL_TARGETS = "install-i18n"
70 # Manually added build dependencies
71 REQUIRED_PACKAGES += library/libidn
73 # Auto-generated dependencies
74 REQUIRED_PACKAGES += SUNWcs
75 REQUIRED_PACKAGES += system/library