1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22PRJ=. 23 24PRJNAME=zlib 25TARGET=zlib 26 27.IF "$(GUI)" == "UNX" 28.IF "$(SYSTEM_ZLIB)" == "YES" 29all: 30 @echo "An already available installation of zlib should exist on your system." 31 @echo "Therefore the version provided here does not need to be built in addition." 32.ENDIF 33.ENDIF 34 35# --- Settings ----------------------------------------------------- 36 37.INCLUDE : settings.mk 38 39# --- Files -------------------------------------------------------- 40 41TARFILE_NAME=zlib-1.3.1 42TARFILE_MD5=9855b6d802d7fe5b7bd5b196a2271655 43 44PATCH_FILES=zlib-1.3.1.patch 45ADDITIONAL_FILES=makefile.mk 46 47#relative to CONFIGURE_DIR 48 49BUILD_DIR=$(CONFIGURE_DIR) 50BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS) 51 52OUT2INC= \ 53 zlib.h \ 54 zconf.h \ 55 contrib$/minizip$/unzip.h \ 56 contrib$/minizip$/ioapi.h 57 58PATCHED_HEADERS=$(INCCOM)$/patched$/zlib.h 59 60# --- Targets ------------------------------------------------------ 61 62.INCLUDE : set_ext.mk 63.INCLUDE : target.mk 64.INCLUDE : tg_ext.mk 65 66ALLTAR: $(PATCHED_HEADERS) 67 68$(PATCHED_HEADERS) : $(PACKAGE_DIR)$/$(PREDELIVER_FLAG_FILE) 69 @$(PERL) make_patched_header.pl $@ $(PRJNAME) 70 71# vim: set noet sw=4 ts=4: 72