Makefile revision 3281
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
50cfe8bbbaf4279375802531268e2bf0155215fetrawick# The contents of this file are subject to the terms of the
50cfe8bbbaf4279375802531268e2bf0155215fetrawick# Common Development and Distribution License (the "License").
50cfe8bbbaf4279375802531268e2bf0155215fetrawick# You may not use this file except in compliance with the License.
5cb0075c38fc868730c4981e346845dad6c7ea58chrisd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5cb0075c38fc868730c4981e346845dad6c7ea58chrisd# See the License for the specific language governing permissions
5cb0075c38fc868730c4981e346845dad6c7ea58chrisd# and limitations under the License.
ffaa9771884a8664f0e6267efbe9d26b40000461trawick# When distributing Covered Code, include this CDDL HEADER in each
ffaa9771884a8664f0e6267efbe9d26b40000461trawick# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ffaa9771884a8664f0e6267efbe9d26b40000461trawick# If applicable, add the following below this CDDL HEADER, with the
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick# fields enclosed by brackets "[]" replaced with your own identifying
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick# information: Portions Copyright [yyyy] [name of copyright owner]
4d12805e6c18253040223ea637acd6b3b3c18f60jorton# CDDL HEADER END
4d12805e6c18253040223ea637acd6b3b3c18f60jorton# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
cb666b29f81df1d11d65002250153353568021fccovenerCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1c2cab00d988fc48cbe59032cf76cc0bab20d6f7covener sha256:6624d2fb6c8fa4e044d2b009f86ed1617fe8583c83acfceba7ec82826cfa8eaf
6a80c3c6f4b8ea7ba5e89402b8b779b09ce020e0covenerCOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/project/zsh/zsh/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
1f50dc34ae069adeed20b2986e5ffdefa5c410e0covenerCONFIGURE_OPTIONS += --enable-cppflags="$(CPP_LARGEFILES)"
63a5ea80bddcc84a462e40f402b4f330e0e05411covener# Zsh uses the compiler to link, so we need to pass CC_BITS, not LD_BITS.
63a5ea80bddcc84a462e40f402b4f330e0e05411covenerCONFIGURE_OPTIONS += --enable-ldflags="$(CC_BITS) -zignore"
509622419be000045d461ef38fb97df778fdf81djailletc# pcre-config --libs unnecessarily emits "-R/usr/lib"; we remove it so that it
509622419be000045d461ef38fb97df778fdf81djailletc# doesn't end up in the binaries.
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrinCOMPOVERRIDES = $(shell test -d find && find Completion -type f -print)
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin# makepro.awk leaves turds behind when using gawk 3.1.5 and a UTF-8 locale.
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin# Upgrading gawk would fix the problem, but for now, all we can do is change
deec48c67d4786bc77112ffbf3a4e70b931097edminfrin# the language.
6d601599d3d65df0410eae6e573e75b2dbfb1fb4minfrin# The configure test for NIS tests to make sure that NIS is working, not whether
6d601599d3d65df0410eae6e573e75b2dbfb1fb4minfrin# it's available to compile against. We actually want to go through the switch
4c02bab56a528a180bbe394d8b6e6fd9c1a3ac1esf# in all cases, so we force it off, regardless of whether the build environment
4c02bab56a528a180bbe394d8b6e6fd9c1a3ac1esf# has it enabled.
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq# common targets
c12917da693bae4028a1d5a5e8224bceed8c739dsfinstall: build $(INSTALL_64) $(PROTOETCDIR)/zprofile $(PROTOETCDIR)/zshrc license
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf# build does this always