904N/A#
904N/A# CDDL HEADER START
904N/A#
904N/A# The contents of this file are subject to the terms of the
904N/A# Common Development and Distribution License (the "License").
904N/A# You may not use this file except in compliance with the License.
904N/A#
904N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
904N/A# or http://www.opensolaris.org/os/licensing.
904N/A# See the License for the specific language governing permissions
904N/A# and limitations under the License.
904N/A#
904N/A# When distributing Covered Code, include this CDDL HEADER in each
904N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
904N/A# If applicable, add the following below this CDDL HEADER, with the
904N/A# fields enclosed by brackets "[]" replaced with your own identifying
904N/A# information: Portions Copyright [yyyy] [name of copyright owner]
904N/A#
904N/A# CDDL HEADER END
904N/A#
3996N/A# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
904N/A#
904N/Ainclude ../../../make-rules/shared-macros.mk
904N/A
904N/ACOMPONENT_NAME= imap
904N/ACOMPONENT_VERSION= 2007f
904N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
904N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
904N/ACOMPONENT_ARCHIVE_HASH= \
904N/A sha256:53e15a2b5c1bc80161d42e9f69792a3fa18332b7b771910131004eb520004a28
904N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.cac.washington.edu/imap/$(COMPONENT_ARCHIVE)
904N/ACOMPONENT_PROJECT_URL= http://www.washington.edu/imap/
904N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/justmake.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
904N/A
904N/ACFLAGS += $(CPP_LARGEFILES)
904N/A# enable legacy stdio prototypes
904N/A# 7050600 sfw doesn't build on 166
904N/ACFLAGS += -D__USE_LEGACY_PROTOTYPES__
904N/A
904N/ACOMPONENT_BUILD_TARGETS = soc c-client
904N/ACOMPONENT_POST_BUILD_ACTION = ( \
3469N/A set -e; \
904N/A $(MV) $(BUILD_DIR_32)/c-client/c-client.a \
904N/A $(BUILD_DIR_32)/c-client/libc-client.a )
904N/AENV += MAKE="$(GMAKE)"
904N/AENV += CC="$(CC)"
904N/AENV += CFLAGS="$(CFLAGS)"
904N/A
904N/A# common targets
904N/Abuild: $(BUILD_32)
904N/A
904N/A# no install target
904N/Ainstall: build
904N/A
904N/Atest: $(NO_TESTS)
904N/A
904N/Apublish: build
904N/A
904N/A