Makefile revision 3477
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra#
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# CDDL HEADER START
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra#
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# The contents of this file are subject to the terms of the
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# Common Development and Distribution License (the "License").
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# You may not use this file except in compliance with the License.
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra#
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# or http://www.opensolaris.org/os/licensing.
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# See the License for the specific language governing permissions
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# and limitations under the License.
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra#
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# When distributing Covered Code, include this CDDL HEADER in each
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# If applicable, add the following below this CDDL HEADER, with the
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# fields enclosed by brackets "[]" replaced with your own identifying
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra# information: Portions Copyright [yyyy] [name of copyright owner]
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra#
31dc38d003f727e19c61510100f8418658af15d5Tilo Mitra# CDDL HEADER END
31dc38d003f727e19c61510100f8418658af15d5Tilo Mitra#
31dc38d003f727e19c61510100f8418658af15d5Tilo Mitra# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
31dc38d003f727e19c61510100f8418658af15d5Tilo Mitra#
31dc38d003f727e19c61510100f8418658af15d5Tilo Mitrainclude ../../make-rules/shared-macros.mk
31dc38d003f727e19c61510100f8418658af15d5Tilo Mitra
31dc38d003f727e19c61510100f8418658af15d5Tilo MitraCOMPONENT_NAME= wdiff
31dc38d003f727e19c61510100f8418658af15d5Tilo MitraCOMPONENT_VERSION= 1.1.2
31dc38d003f727e19c61510100f8418658af15d5Tilo MitraCOMPONENT_PROJECT_URL= http://www.gnu.org/software/wdiff/
31dc38d003f727e19c61510100f8418658af15d5Tilo MitraCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
31dc38d003f727e19c61510100f8418658af15d5Tilo MitraCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
31dc38d003f727e19c61510100f8418658af15d5Tilo MitraCOMPONENT_ARCHIVE_HASH= \
31dc38d003f727e19c61510100f8418658af15d5Tilo Mitra sha256:12cd30af53ad3ebfe4ec5e094c2b855a186f15bf8b46fce3d655cacd55f1e860
31dc38d003f727e19c61510100f8418658af15d5Tilo MitraCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/wdiff/$(COMPONENT_ARCHIVE)
28ab732ad7743763a94f34d018067c184e17de96Tilo MitraCOMPONENT_BUGDB= utility/wdiff
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra
28ab732ad7743763a94f34d018067c184e17de96Tilo MitraTPNO= 7092
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitrainclude ../../make-rules/prep.mk
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitrainclude ../../make-rules/configure.mk
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitrainclude ../../make-rules/ips.mk
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra
28ab732ad7743763a94f34d018067c184e17de96Tilo MitraCONFIGURE_OPTIONS += CC="$(CC) -m64"
28ab732ad7743763a94f34d018067c184e17de96Tilo MitraCONFIGURE_OPTIONS += --enable-experimental
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra
28ab732ad7743763a94f34d018067c184e17de96Tilo MitraCFLAGS += -DDIFF_PROGRAM="/usr/gnu/bin/diff"
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra
28ab732ad7743763a94f34d018067c184e17de96Tilo MitraCOMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra
28ab732ad7743763a94f34d018067c184e17de96Tilo MitraASLR_MODE = $(ASLR_ENABLE)
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitraconfigure: $(CONFIGURE_64)
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitrabuild: $(BUILD_64)
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitrainstall: $(INSTALL_64)
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitratest: $(TEST_64)
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra
28ab732ad7743763a94f34d018067c184e17de96Tilo MitraBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitrainclude ../../make-rules/depend.mk
28ab732ad7743763a94f34d018067c184e17de96Tilo Mitra