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