355N/A#
355N/A# CDDL HEADER START
355N/A#
355N/A# The contents of this file are subject to the terms of the
355N/A# Common Development and Distribution License (the "License").
355N/A# You may not use this file except in compliance with the License.
355N/A#
355N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
355N/A# or http://www.opensolaris.org/os/licensing.
355N/A# See the License for the specific language governing permissions
355N/A# and limitations under the License.
355N/A#
355N/A# When distributing Covered Code, include this CDDL HEADER in each
355N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
355N/A# If applicable, add the following below this CDDL HEADER, with the
355N/A# fields enclosed by brackets "[]" replaced with your own identifying
355N/A# information: Portions Copyright [yyyy] [name of copyright owner]
355N/A#
355N/A# CDDL HEADER END
355N/A#
5680N/A
355N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/ABUILD_BITS= 64
5680N/ACOMPILER= gcc
355N/Ainclude ../../make-rules/shared-macros.mk
355N/A
355N/ACOMPONENT_NAME= httping
3890N/ACOMPONENT_VERSION= 2.4
355N/ACOMPONENT_PROJECT_URL= http://www.vanheusden.com/httping/
355N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
844N/ACOMPONENT_ARCHIVE_HASH= \
3890N/A sha256:dab59f02b08bfbbc978c005bb16d2db6fe21e1fc841fde96af3d497ddfc82084
355N/ACOMPONENT_ARCHIVE_URL= http://www.vanheusden.com/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
355N/A
3890N/ATPNO= 21552
2899N/A
5680N/ABUILD_STYLE= justmake
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
1449N/A
4956N/Aifeq ($(OS_VERSION),5.11)
4956N/AEXTRA_LIBRARIES = -lsocket -lnsl
4956N/Aendif
5680N/AEXTRA_LIBRARIES += -lncurses -lfftw3 -lssl -lcrypto -lresolv -lm
355N/A
5680N/A# The usual Solaris curses.h vs ncurses/curses.h mess.
5680N/ACFLAGS += -I$(USRINCDIR)/ncurses
355N/A
5680N/A# Make 64-bit linking work.
5680N/ALDFLAGS += $(CC_BITS)
1449N/A
5680N/A# force enable ncurses support
5680N/ACOMPONENT_BUILD_ARGS += NC=yes
5680N/ACOMPONENT_BUILD_ARGS += CC="$(CC)"
5680N/ACOMPONENT_BUILD_ARGS += OFLAGS="$(CFLAGS)"
5680N/ACOMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS) $(EXTRA_LIBRARIES)"
355N/A
3890N/AREQUIRED_PACKAGES += library/fftw-3
5680N/AREQUIRED_PACKAGES += library/ncurses
3817N/AREQUIRED_PACKAGES += library/security/openssl
3890N/AREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
3890N/AREQUIRED_PACKAGES += system/library/math