2002-04-22 11:26:14 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-11 00:58:31 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
2010-02-12 08:01:35 -06:00
|
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
2002-04-22 11:26:14 -05:00
|
|
|
#
|
2008-04-11 00:58:31 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2002-04-22 11:26:14 -05:00
|
|
|
#
|
2008-04-11 00:58:31 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2002-04-22 11:26:14 -05:00
|
|
|
#
|
2008-04-11 00:58:31 -05:00
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
2002-04-22 11:26:14 -05:00
|
|
|
#
|
2008-04-11 00:58:31 -05:00
|
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
2002-04-22 11:26:14 -05:00
|
|
|
#
|
2008-04-11 00:58:31 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
2002-04-22 11:26:14 -05:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
PRJ=.
|
|
|
|
|
|
|
|
PRJNAME=zlib
|
|
|
|
TARGET=zlib
|
|
|
|
|
2003-12-17 13:20:52 -06:00
|
|
|
.IF "$(GUI)" == "UNX"
|
|
|
|
.IF "$(SYSTEM_ZLIB)" == "YES"
|
|
|
|
all:
|
|
|
|
@echo "An already available installation of zlib should exist on your system."
|
|
|
|
@echo "Therefore the version provided here does not need to be built in addition."
|
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
|
|
|
|
2002-04-22 11:26:14 -05:00
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
|
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
|
2011-03-08 03:36:17 -06:00
|
|
|
TARFILE_NAME=zlib-1.2.5
|
|
|
|
TARFILE_MD5=c735eab2d659a96e5a594c9e8541ad63
|
2002-04-22 11:26:14 -05:00
|
|
|
|
2011-03-08 03:36:17 -06:00
|
|
|
PATCH_FILES=zlib-1.2.5.patch
|
2002-04-22 11:26:14 -05:00
|
|
|
ADDITIONAL_FILES=makefile.mk
|
|
|
|
|
|
|
|
#relative to CONFIGURE_DIR
|
|
|
|
|
|
|
|
BUILD_DIR=$(CONFIGURE_DIR)
|
|
|
|
BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS)
|
|
|
|
|
|
|
|
OUT2INC= \
|
|
|
|
zlib.h \
|
2002-08-22 06:23:54 -05:00
|
|
|
zconf.h \
|
2009-08-10 01:05:55 -05:00
|
|
|
contrib$/minizip$/unzip.h \
|
|
|
|
contrib$/minizip$/ioapi.h
|
2002-04-22 11:26:14 -05:00
|
|
|
|
2007-06-27 08:34:58 -05:00
|
|
|
PATCHED_HEADERS=$(INCCOM)$/patched$/zlib.h
|
2002-04-22 11:26:14 -05:00
|
|
|
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : set_ext.mk
|
|
|
|
.INCLUDE : target.mk
|
|
|
|
.INCLUDE : tg_ext.mk
|
|
|
|
|
2007-06-27 08:34:58 -05:00
|
|
|
ALLTAR: $(PATCHED_HEADERS)
|
2002-04-22 11:26:14 -05:00
|
|
|
|
2007-06-27 08:34:58 -05:00
|
|
|
$(PATCHED_HEADERS) : $(PACKAGE_DIR)$/$(PREDELIVER_FLAG_FILE)
|
|
|
|
@$(PERL) make_patched_header.pl $@ $(PRJNAME)
|