net-snmp sun mods install: make sure destdirs exist
[unleashed-userland.git] / components / wdiff / Makefile
blob85e365120417dea3a5d219c921b5813dcbb34709
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
21 # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
23 include ../../make-rules/shared-macros.mk
25 COMPONENT_NAME= wdiff
26 COMPONENT_VERSION= 1.2.2
27 COMPONENT_PROJECT_URL= http://www.gnu.org/software/wdiff/
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
30 COMPONENT_ARCHIVE_HASH= \
31 sha256:34ff698c870c87e6e47a838eeaaae729fa73349139fc8db12211d2a22b78af6b
32 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/wdiff/$(COMPONENT_ARCHIVE)
33 COMPONENT_BUGDB= utility/wdiff
35 include ../../make-rules/prep.mk
36 include ../../make-rules/configure.mk
37 include ../../make-rules/ips.mk
39 CONFIGURE_OPTIONS.64 += CC="$(CC) -m64"
40 CONFIGURE_OPTIONS += --enable-experimental
42 CFLAGS_BUILD += -DDIFF_PROGRAM="/usr/gnu/bin/diff"
44 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS) $(CFLAGS_BUILD)"
46 ASLR_MODE = $(ASLR_ENABLE)
48 build: $(BUILD_32_and_64)
50 install: $(INSTALL_32_and_64)
52 test: $(TEST_32_and_64)
54 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
56 include ../../make-rules/depend.mk