Makefile revision 4956
b65731f1f612238279eb4d997f43589b535c5646kini#
b65731f1f612238279eb4d997f43589b535c5646kini# CDDL HEADER START
b65731f1f612238279eb4d997f43589b535c5646kini#
b65731f1f612238279eb4d997f43589b535c5646kini# The contents of this file are subject to the terms of the
7aadd8d46c796a3216546b68c6a9d6de40f9d80dkini# Common Development and Distribution License (the "License").
7aadd8d46c796a3216546b68c6a9d6de40f9d80dkini# You may not use this file except in compliance with the License.
b65731f1f612238279eb4d997f43589b535c5646kini#
b65731f1f612238279eb4d997f43589b535c5646kini# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b65731f1f612238279eb4d997f43589b535c5646kini# or http://www.opensolaris.org/os/licensing.
b65731f1f612238279eb4d997f43589b535c5646kini# See the License for the specific language governing permissions
b65731f1f612238279eb4d997f43589b535c5646kini# and limitations under the License.
b65731f1f612238279eb4d997f43589b535c5646kini#
b65731f1f612238279eb4d997f43589b535c5646kini# When distributing Covered Code, include this CDDL HEADER in each
b65731f1f612238279eb4d997f43589b535c5646kini# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b65731f1f612238279eb4d997f43589b535c5646kini# If applicable, add the following below this CDDL HEADER, with the
b65731f1f612238279eb4d997f43589b535c5646kini# fields enclosed by brackets "[]" replaced with your own identifying
b65731f1f612238279eb4d997f43589b535c5646kini# information: Portions Copyright [yyyy] [name of copyright owner]
b65731f1f612238279eb4d997f43589b535c5646kini#
b65731f1f612238279eb4d997f43589b535c5646kini# CDDL HEADER END
b65731f1f612238279eb4d997f43589b535c5646kini#
b65731f1f612238279eb4d997f43589b535c5646kini# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
70f83219d49a3acf5c2deeefddb48c720ab5f832Evan Yan#
b65731f1f612238279eb4d997f43589b535c5646kiniinclude ../../make-rules/shared-macros.mk
b65731f1f612238279eb4d997f43589b535c5646kini
b65731f1f612238279eb4d997f43589b535c5646kiniCOMPONENT_NAME= httping
269473047d747f7815af570197e4ef7322d3632cEvan YanCOMPONENT_VERSION= 2.4
269473047d747f7815af570197e4ef7322d3632cEvan YanCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
b65731f1f612238279eb4d997f43589b535c5646kiniCOMPONENT_PROJECT_URL= http://www.vanheusden.com/httping/
b65731f1f612238279eb4d997f43589b535c5646kiniCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
b65731f1f612238279eb4d997f43589b535c5646kiniCOMPONENT_ARCHIVE_HASH= \
b65731f1f612238279eb4d997f43589b535c5646kini sha256:dab59f02b08bfbbc978c005bb16d2db6fe21e1fc841fde96af3d497ddfc82084
b65731f1f612238279eb4d997f43589b535c5646kiniCOMPONENT_ARCHIVE_URL= http://www.vanheusden.com/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
269473047d747f7815af570197e4ef7322d3632cEvan YanCOMPONENT_BUGDB= utility/httping
269473047d747f7815af570197e4ef7322d3632cEvan Yan
269473047d747f7815af570197e4ef7322d3632cEvan YanTPNO= 21552
70f83219d49a3acf5c2deeefddb48c720ab5f832Evan Yan
70f83219d49a3acf5c2deeefddb48c720ab5f832Evan Yaninclude $(WS_MAKE_RULES)/prep.mk
269473047d747f7815af570197e4ef7322d3632cEvan Yaninclude $(WS_MAKE_RULES)/justmake.mk
269473047d747f7815af570197e4ef7322d3632cEvan Yaninclude $(WS_MAKE_RULES)/ips.mk
b65731f1f612238279eb4d997f43589b535c5646kini
b65731f1f612238279eb4d997f43589b535c5646kiniCOMPILER = gcc
b65731f1f612238279eb4d997f43589b535c5646kini
b65731f1f612238279eb4d997f43589b535c5646kiniCC += $(CC_BITS)
b65731f1f612238279eb4d997f43589b535c5646kini
269473047d747f7815af570197e4ef7322d3632cEvan Yanifeq ($(OS_VERSION),5.11)
EXTRA_LIBRARIES = -lsocket -lnsl
endif
EXTRA_LIBRARIES += -lfftw3 -lssl -lcrypto -lresolv -lm
COMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS) $(EXTRA_LIBRARIES)"
COMPONENT_BUILD_ENV += CC="$(CC)"
ASLR_MODE = $(ASLR_ENABLE)
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(NO_TESTS)
system-test: $(NO_TESTS)
REQUIRED_PACKAGES += library/fftw-3
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math