2426N/A#
2426N/A# CDDL HEADER START
2426N/A#
2426N/A# The contents of this file are subject to the terms of the
2426N/A# Common Development and Distribution License (the "License").
2426N/A# You may not use this file except in compliance with the License.
2426N/A#
2426N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2426N/A# or http://www.opensolaris.org/os/licensing.
2426N/A# See the License for the specific language governing permissions
2426N/A# and limitations under the License.
2426N/A#
2426N/A# When distributing Covered Code, include this CDDL HEADER in each
2426N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2426N/A# If applicable, add the following below this CDDL HEADER, with the
2426N/A# fields enclosed by brackets "[]" replaced with your own identifying
2426N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2426N/A#
2426N/A# CDDL HEADER END
2426N/A#
2426N/A
2426N/A#
3996N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
2426N/A#
2426N/A
2426N/Ainclude ../../make-rules/shared-macros.mk
2426N/A
2426N/A# i18n component requires GNU xgettext
2426N/APATH=/usr/gnu/bin:/usr/bin:/usr/sbin
2426N/A
2426N/ACOMPONENT_NAME= dnsmasq
2426N/ACOMPONENT_VERSION= 2.68
2426N/ACOMPONENT_PROJECT_URL= http://www.thekelleys.org.uk
2426N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2426N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2426N/ACOMPONENT_ARCHIVE_HASH= \
2426N/A sha256:402019d61f53f1ccc04cc6218719fd3b158ea3fca9a83ab55471f981a2097c2f
2426N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
2426N/ACOMPONENT_BUGDB= service/dnsmasq
2426N/A
3661N/ATPNO= 16307
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/justmake.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
2426N/A
2426N/A# Enable ASLR for this component
2426N/AASLR_MODE = $(ASLR_ENABLE)
2426N/A
2426N/ACOMPONENT_BUILD_ENV += CC="$(CC)"
2426N/ACOMPONENT_BUILD_ARGS += CC="$(CC)"
2426N/ACOMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
2426N/ACOMPONENT_BUILD_ARGS += PREFIX="/usr"
2426N/ACOMPONENT_BUILD_ARGS += LOCALEDIR="/usr/share/locale"
2426N/ACOMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS) -m64"
2426N/ACOMPONENT_BUILD_TARGETS = "all-i18n"
2426N/ACOMPONENT_INSTALL_ARGS += PREFIX="/usr"
2426N/ACOMPONENT_INSTALL_TARGETS = "install-i18n"
2426N/A
2426N/A# common targets
2426N/Abuild: $(BUILD_64)
2426N/A
2426N/Ainstall: $(INSTALL_64)
2426N/A
2426N/Atest: $(NO_TESTS)
2426N/A
2426N/A
3996N/AREQUIRED_PACKAGES += library/libidn
3996N/AREQUIRED_PACKAGES += system/core-os
3996N/AREQUIRED_PACKAGES += system/library