xref: /trunk/main/zlib/zlib-1.3.1.patch (revision 31cbf049)
1*31cbf049Smseidel--- misc/zlib-1.3.1/makefile.mk	Fri Mar 14 10:17:06 2008
2*31cbf049Smseidel+++ misc/build/zlib-1.3.1/makefile.mk	Fri Mar 14 10:16:56 2008
38d963181SChen ZuoJun@@ -1 +1,82 @@
4cdf0e10cSrcweir-dummy
5cdf0e10cSrcweir+#*************************************************************************
6cdf0e10cSrcweir+#
78d963181SChen ZuoJun+#  Licensed to the Apache Software Foundation (ASF) under one
88d963181SChen ZuoJun+#  or more contributor license agreements.  See the NOTICE file
98d963181SChen ZuoJun+#  distributed with this work for additional information
108d963181SChen ZuoJun+#  regarding copyright ownership.  The ASF licenses this file
118d963181SChen ZuoJun+#  to you under the Apache License, Version 2.0 (the
128d963181SChen ZuoJun+#  "License"); you may not use this file except in compliance
138d963181SChen ZuoJun+#  with the License.  You may obtain a copy of the License at
14*31cbf049Smseidel+#
158d963181SChen ZuoJun+#    http://www.apache.org/licenses/LICENSE-2.0
16*31cbf049Smseidel+#
178d963181SChen ZuoJun+#  Unless required by applicable law or agreed to in writing,
188d963181SChen ZuoJun+#  software distributed under the License is distributed on an
198d963181SChen ZuoJun+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
208d963181SChen ZuoJun+#  KIND, either express or implied.  See the License for the
218d963181SChen ZuoJun+#  specific language governing permissions and limitations
228d963181SChen ZuoJun+#  under the License
23cdf0e10cSrcweir+#
24cdf0e10cSrcweir+#*************************************************************************
25cdf0e10cSrcweir+
26cdf0e10cSrcweir+PRJ=..$/..$/..$/..
27cdf0e10cSrcweir+
28cdf0e10cSrcweir+PRJNAME=zlib
29cdf0e10cSrcweir+TARGET=zlib
30cdf0e10cSrcweir+LIBTARGET=NO
31cdf0e10cSrcweir+EXTERNAL_WARNINGS_NOT_ERRORS=TRUE
32cdf0e10cSrcweir+
33cdf0e10cSrcweir+# --- Settings -----------------------------------------------------
34cdf0e10cSrcweir+
35cdf0e10cSrcweir+.INCLUDE :  settings.mk
36cdf0e10cSrcweir+
37cdf0e10cSrcweir+# --- Files --------------------------------------------------------
38cdf0e10cSrcweir+
39cdf0e10cSrcweir+INCEXT=contrib$/minizip
40cdf0e10cSrcweir+
41cdf0e10cSrcweir+SLOFILES=	$(SLO)$/adler32.obj		\
42cdf0e10cSrcweir+			$(SLO)$/compress.obj	\
43cdf0e10cSrcweir+			$(SLO)$/deflate.obj		\
44cdf0e10cSrcweir+			$(SLO)$/crc32.obj		\
45cdf0e10cSrcweir+			$(SLO)$/inffast.obj		\
46cdf0e10cSrcweir+			$(SLO)$/inflate.obj		\
47cdf0e10cSrcweir+			$(SLO)$/inftrees.obj	\
48cdf0e10cSrcweir+			$(SLO)$/trees.obj		\
49*31cbf049Smseidel+			$(SLO)$/zutil.obj		\
50cdf0e10cSrcweir+			$(SLO)$/unzip.obj		\
51cdf0e10cSrcweir+			$(SLO)$/ioapi.obj
52cdf0e10cSrcweir+
53cdf0e10cSrcweir+
54cdf0e10cSrcweir+LIB1TARGET=$(SLB)$/$(TARGET).lib
55cdf0e10cSrcweir+LIB1ARCHIV=$(LB)$/lib$(TARGET).a
56cdf0e10cSrcweir+LIB1OBJFILES=$(SLOFILES)
57cdf0e10cSrcweir+
58cdf0e10cSrcweir+.IF "$(BUILD_X64)"!=""
59*31cbf049Smseidel+SLOFILES_X64=	$(SLO_X64)$/adler32.obj	\
60cdf0e10cSrcweir+			$(SLO_X64)$/compress.obj	\
61cdf0e10cSrcweir+			$(SLO_X64)$/deflate.obj		\
62cdf0e10cSrcweir+			$(SLO_X64)$/crc32.obj		\
63cdf0e10cSrcweir+			$(SLO_X64)$/inffast.obj		\
64cdf0e10cSrcweir+			$(SLO_X64)$/inflate.obj		\
65cdf0e10cSrcweir+			$(SLO_X64)$/inftrees.obj	\
66cdf0e10cSrcweir+			$(SLO_X64)$/trees.obj		\
67*31cbf049Smseidel+			$(SLO_X64)$/zutil.obj		\
68cdf0e10cSrcweir+			$(SLO_X64)$/unzip.obj		\
69cdf0e10cSrcweir+			$(SLO_X64)$/ioapi.obj
70cdf0e10cSrcweir+
71cdf0e10cSrcweir+LIB1TARGET_X64=$(SLB_X64)$/$(TARGET).lib
72cdf0e10cSrcweir+LIB1OBJFILES_X64=$(SLOFILES_X64)
73cdf0e10cSrcweir+.ENDIF # "$(BUILD_X64)"!=""
74cdf0e10cSrcweir+
75cdf0e10cSrcweir+
76cdf0e10cSrcweir+# --- Targets ------------------------------------------------------
77cdf0e10cSrcweir+
78cdf0e10cSrcweir+$(MISC)$/%.c : contrib$/minizip$/%.c
79cdf0e10cSrcweir+	@echo ------------------------------
80cdf0e10cSrcweir+	@echo Making: $@
81*31cbf049Smseidel+	@$(COPY) $< $@
82cdf0e10cSrcweir+
83cdf0e10cSrcweir+.INCLUDE :  set_wntx64.mk
84cdf0e10cSrcweir+.INCLUDE :  target.mk
85cdf0e10cSrcweir+.INCLUDE :  tg_wntx64.mk
86cdf0e10cSrcweir+
87