2408N/A#
2408N/A# CDDL HEADER START
2408N/A#
2408N/A# The contents of this file are subject to the terms of the
2408N/A# Common Development and Distribution License (the "License").
2408N/A# You may not use this file except in compliance with the License.
2408N/A#
2408N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2408N/A# or http://www.opensolaris.org/os/licensing.
2408N/A# See the License for the specific language governing permissions
2408N/A# and limitations under the License.
2408N/A#
2408N/A# When distributing Covered Code, include this CDDL HEADER in each
2408N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2408N/A# If applicable, add the following below this CDDL HEADER, with the
2408N/A# fields enclosed by brackets "[]" replaced with your own identifying
2408N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2408N/A#
2408N/A# CDDL HEADER END
2408N/A#
2408N/A
2408N/A#
5680N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
2408N/A#
5680N/ABUILD_BITS= 64
2408N/Ainclude ../../make-rules/shared-macros.mk
2408N/A
2408N/A# i18n component requires GNU xgettext
5680N/APATH=$(GNUBIN):$(USRBINDIR):$(USRSBINDIR)
2408N/A
2408N/ACOMPONENT_NAME= dnsmasq
6744N/ACOMPONENT_VERSION= 2.75
2408N/ACOMPONENT_PROJECT_URL= http://www.thekelleys.org.uk
2408N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2408N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2408N/ACOMPONENT_ARCHIVE_HASH= \
6744N/A sha256:f8252c0a0ba162c2cd45f81140c7c17cc40a5fca2b869d1a420835b74acad294
2408N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
2408N/ACOMPONENT_BUGDB= service/dnsmasq
2408N/A
6744N/ATPNO= 28028
2899N/A
5680N/ABUILD_STYLE= justmake
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
2408N/A
2408N/ACOMPONENT_BUILD_ENV += CC="$(CC)"
2408N/ACOMPONENT_BUILD_ARGS += CC="$(CC)"
2408N/ACOMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
5680N/ACOMPONENT_BUILD_ARGS += LOCALEDIR="$(USRSHARELOCALEDIR)"
5680N/ACOMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS) $(CC_BITS)"
2408N/ACOMPONENT_BUILD_TARGETS = "all-i18n"
6744N/ACOMPONENT_INSTALL_ENV += CC="$(CC)"
6744N/ACOMPONENT_INSTALL_ARGS += CC="$(CC)"
5680N/ACOMPONENT_INSTALL_ARGS += PREFIX="$(USRDIR)"
5680N/ACOMPONENT_INSTALL_ARGS += BINDIR="$(USRLIBDIR)/inet"
2408N/ACOMPONENT_INSTALL_TARGETS = "install-i18n"
2408N/A
3817N/AREQUIRED_PACKAGES += library/libidn
3817N/AREQUIRED_PACKAGES += system/core-os