Makefile revision 618
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# CDDL HEADER START
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# The contents of this file are subject to the terms of the
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Common Development and Distribution License (the "License").
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# You may not use this file except in compliance with the License.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# or http://www.opensolaris.org/os/licensing.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# See the License for the specific language governing permissions
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# and limitations under the License.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# When distributing Covered Code, include this CDDL HEADER in each
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# If applicable, add the following below this CDDL HEADER, with the
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# fields enclosed by brackets "[]" replaced with your own identifying
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# information: Portions Copyright [yyyy] [name of copyright owner]
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# CDDL HEADER END
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
489b7c4ab76ae8df137fbfcc2214f7baa52883a0Raymond Chen#
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz#
e2c88f0c2610f16de7b639746b40dea5f3e2256eGarrett D'Amore
e2c88f0c2610f16de7b639746b40dea5f3e2256eGarrett D'Amoreinclude ../../make-rules/shared-macros.mk
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_NAME= slrn
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_VERSION= 0.9.9
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_SUBVERSION= p1
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzHUMAN_VERSION= $(COMPONENT_VERSION)$(COMPONENT_SUBVERSION)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_PROJECT_URL= http://slrn.sourceforge.net/
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_SRC= $(COMPONENT_NAME)-$(HUMAN_VERSION)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_ARCHIVE_HASH= sha1:f14d88eda39b78bd2f098f211d4a1c363c0fe924
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_ARCHIVE_URL= ftp://space.mit.edu/pub/davis/slrn/$(COMPONENT_ARCHIVE)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).1
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzinclude ../../make-rules/prep.mk
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzinclude ../../make-rules/configure.mk
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzinclude ../../make-rules/ips.mk
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCOMPONENT_PRE_CONFIGURE_ACTION = $(CLONEY) $(SOURCE_DIR) $(@D)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCONFIGURE_SCRIPT = $(@D)/configure
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits# slrn configure test for 'mkdir -p' functionality doesn't like Solaris
4ebb14b236958cfe1ef4ff3b7a50216d9e51f997frits# implementation (GNU mkdir will understand --version option).
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzPATH=/usr/gnu/bin:/usr/bin
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCONFIGURE_OPTIONS += --sysconfdir=/etc
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCONFIGURE_OPTIONS += --with-server-file=/etc/nntpserver
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCONFIGURE_OPTIONS += --with-slrnpull=/var/spool/slrnpull
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCONFIGURE_OPTIONS += --enable-spool
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCONFIGURE_OPTIONS += --with-ssl
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz# common targets
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzbuild: $(BUILD_32)
c138f478d2bc94e73ab8f6a084e323bec25e62f5yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzinstall: $(INSTALL_32)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yztest: $(NO_TESTS)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz
60b08185ce63023f22fd6b2ed0db8c0d119b2023yzinclude ../../make-rules/depend.mk
60b08185ce63023f22fd6b2ed0db8c0d119b2023yz