33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara#
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# CDDL HEADER START
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara#
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# The contents of this file are subject to the terms of the
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# Common Development and Distribution License (the "License").
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# You may not use this file except in compliance with the License.
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara#
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# or http://www.opensolaris.org/os/licensing.
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# See the License for the specific language governing permissions
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# and limitations under the License.
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara#
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# When distributing Covered Code, include this CDDL HEADER in each
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# If applicable, add the following below this CDDL HEADER, with the
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# fields enclosed by brackets "[]" replaced with your own identifying
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# information: Portions Copyright [yyyy] [name of copyright owner]
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara#
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# CDDL HEADER END
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara#
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara#
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara#
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraBUILD_BITS= 64
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwarainclude ../../make-rules/shared-macros.mk
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara# i18n component requires GNU xgettext
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraPATH=$(GNUBIN):$(USRBINDIR):$(USRSBINDIR)
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_NAME= dnsmasq
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_VERSION= 2.75
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_PROJECT_URL= http://www.thekelleys.org.uk
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_ARCHIVE_HASH= \
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara sha256:f8252c0a0ba162c2cd45f81140c7c17cc40a5fca2b869d1a420835b74acad294
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_BUGDB= service/dnsmasq
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraTPNO= 28028
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraBUILD_STYLE= justmake
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraTEST_TARGET= $(NO_TESTS)
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwarainclude $(WS_MAKE_RULES)/common.mk
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_BUILD_ENV += CC="$(CC)"
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_BUILD_ARGS += CC="$(CC)"
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_BUILD_ARGS += LOCALEDIR="$(USRSHARELOCALEDIR)"
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS) $(CC_BITS)"
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_BUILD_TARGETS = "all-i18n"
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_INSTALL_ENV += CC="$(CC)"
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_INSTALL_ARGS += CC="$(CC)"
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_INSTALL_ARGS += PREFIX="$(USRDIR)"
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_INSTALL_ARGS += BINDIR="$(USRLIBDIR)/inet"
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraCOMPONENT_INSTALL_TARGETS = "install-i18n"
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraREQUIRED_PACKAGES += library/libidn
33f285ae904939ecef3a4a660b9e72942e10d37dVallish VaidyeshwaraREQUIRED_PACKAGES += system/core-os
33f285ae904939ecef3a4a660b9e72942e10d37dVallish Vaidyeshwara