Makefile revision 1273
02bdc23f8e3ca0f710e0a40daa15941ab1db6bb2Mark Andrews# CDDL HEADER START
ef29912666cc6160f7165558bef017ab3849c5e1Mark Andrews# The contents of this file are subject to the terms of the
ef29912666cc6160f7165558bef017ab3849c5e1Mark Andrews# Common Development and Distribution License (the "License").
ef29912666cc6160f7165558bef017ab3849c5e1Mark Andrews# You may not use this file except in compliance with the License.
ef29912666cc6160f7165558bef017ab3849c5e1Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ef29912666cc6160f7165558bef017ab3849c5e1Mark Andrews# See the License for the specific language governing permissions
0cfa2fb26df42f781eca8c4c856d2d0165055bebMark Andrews# and limitations under the License.
0cfa2fb26df42f781eca8c4c856d2d0165055bebMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
0cfa2fb26df42f781eca8c4c856d2d0165055bebMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
06a949d2ce8d4b4cbfbf4e7a0335316520aafa46Andreas Gustafsson# If applicable, add the following below this CDDL HEADER, with the
06a949d2ce8d4b4cbfbf4e7a0335316520aafa46Andreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
06a949d2ce8d4b4cbfbf4e7a0335316520aafa46Andreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
0b81e99ddfb01746e667797dedc291fc550d14d3Brian Wellington# CDDL HEADER END
3638017bd3cb8e30874f708a125d1541b680b25eBrian Wellington# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
f59d47928ed33d1546e8f982370086429f727e85Andreas GustafssonCOMPONENT_PROJECT_URL= http://www.info-zip.org/Zip.html
c01237c6bc5ec25063b4aae1799fe4de01a7455bAndreas Gustafsson sha256:f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
c01237c6bc5ec25063b4aae1799fe4de01a7455bAndreas GustafssonCOMPONENT_ARCHIVE_URL= ftp://ftp.info-zip.org/pub/infozip/src/$(COMPONENT_ARCHIVE)
6c8abf481df85a67c3f32f5f107b554d3ff5a3edMark Andrews# remove the unwanted file.
c52806164c335f89e1980af836470b6daffe4f82Andreas GustafssonCOMPONENT_PREP_ACTION = rm -f $(SOURCE_DIR)/match.S
1e4bfff1855795853648f507422b96fc8fecbff1Mark Andrews# The Makefile we want is under unix/Makefile
892476530f3971aff52f25103d488ece9b01f673Andreas GustafssonCOMPONENT_BUILD_TARGETS += generic CC=$(CC)
6b31d9c56874d3bd58b420cbe6cd64be502dbe08Andreas GustafssonCOMPONENT_INSTALL_ARGS += -f unix/Makefile
ee80f4506479e189ca1320eb87ac89188c5a7848Mark Andrews# This doesn't respect DESTDIR, so overload BINDIR and MANDIR when we install.
ee80f4506479e189ca1320eb87ac89188c5a7848Mark AndrewsCOMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR)
ee80f4506479e189ca1320eb87ac89188c5a7848Mark AndrewsCOMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMAN1DIR)
d9d6d2f77fe54831dec9cde8ca03ae1f825599f9Andreas Gustafsson# common targets