201N/A#
201N/A# CDDL HEADER START
201N/A#
201N/A# The contents of this file are subject to the terms of the
201N/A# Common Development and Distribution License (the "License").
201N/A# You may not use this file except in compliance with the License.
201N/A#
201N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
201N/A# or http://www.opensolaris.org/os/licensing.
201N/A# See the License for the specific language governing permissions
201N/A# and limitations under the License.
201N/A#
201N/A# When distributing Covered Code, include this CDDL HEADER in each
201N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
201N/A# If applicable, add the following below this CDDL HEADER, with the
201N/A# fields enclosed by brackets "[]" replaced with your own identifying
201N/A# information: Portions Copyright [yyyy] [name of copyright owner]
201N/A#
201N/A# CDDL HEADER END
201N/A#
201N/A
201N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
201N/A#
5680N/ABUILD_BITS= 64
201N/Ainclude ../../make-rules/shared-macros.mk
201N/A
201N/ACOMPONENT_NAME= hexedit
3039N/ACOMPONENT_VERSION= 1.2.13
618N/ACOMPONENT_PROJECT_URL= http://merd.sourceforge.net/pixel/hexedit.html
201N/ACOMPONENT_SRC= $(COMPONENT_NAME)
201N/ACOMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).src.tgz
844N/ACOMPONENT_ARCHIVE_HASH= \
3039N/A sha256:6a126da30a77f5c0b08038aa7a881d910e3b65d13767fb54c58c983963b88dd7
201N/ACOMPONENT_ARCHIVE_URL= http://rigaux.org/$(COMPONENT_ARCHIVE)
201N/A
3039N/ATPNO= 18059
2899N/A
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
5680N/A
5680N/A# Fix 64-bit linking done via compiler.
5680N/ALDFLAGS += $(CC_BITS)
201N/A
201N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
201N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
201N/A
3039N/A# Without this, initscr32 and w32attrset are undefined at link time.
3039N/A# The usual Solaris curses.h vs ncurses/curses.h mess.
5680N/ACFLAGS += -I/usr/include/ncurses
3039N/A
201N/ACFLAGS += "-Dinline"
201N/A
3817N/AREQUIRED_PACKAGES += library/ncurses