xref: /AOO41X/ext_libraries/apr-util/apr-util-1.5.4.makewin32.patch (revision b12b9c61febff7edab6263bde2bdcfbe6e0f8f41)
1*257b46faSpfg--- misc/apr-util-1.5.4/Library_apr-util.mk	2012-01-05 14:49:40.529219100 +0100
2*257b46faSpfg+++ misc/build/apr-util-1.5.4/Library_apr-util.mk	2012-01-05 14:47:18.621102400 +0100
3*257b46faSpfg@@ -1 +1,90 @@
4*257b46faSpfg-dummy
5*257b46faSpfg+#/**************************************************************
6*257b46faSpfg+# *
7*257b46faSpfg+# * Licensed to the Apache Software Foundation (ASF) under one
8*257b46faSpfg+# * or more contributor license agreements.  See the NOTICE file
9*257b46faSpfg+# * distributed with this work for additional information
10*257b46faSpfg+# * regarding copyright ownership.  The ASF licenses this file
11*257b46faSpfg+# * to you under the Apache License, Version 2.0 (the
12*257b46faSpfg+# * "License"); you may not use this file except in compliance
13*257b46faSpfg+# * with the License.  You may obtain a copy of the License at
14*257b46faSpfg+# *
15*257b46faSpfg+# *   http://www.apache.org/licenses/LICENSE-2.0
16*257b46faSpfg+# *
17*257b46faSpfg+# * Unless required by applicable law or agreed to in writing,
18*257b46faSpfg+# * software distributed under the License is distributed on an
19*257b46faSpfg+# * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
20*257b46faSpfg+# * KIND, either express or implied.  See the License for the
21*257b46faSpfg+# * specific language governing permissions and limitations
22*257b46faSpfg+# * under the License.
23*257b46faSpfg+# *
24*257b46faSpfg+# *************************************************************/
25*257b46faSpfg+
26*257b46faSpfg+$(eval $(call gb_Library_Library,apr-util))
27*257b46faSpfg+
28*257b46faSpfg+$(eval $(call gb_Library_add_package_headers,apr-util,apr-util_inc))
29*257b46faSpfg+
30*257b46faSpfg+$(eval $(call gb_Library_set_include,apr-util,\
31*257b46faSpfg+	$$(INCLUDE) \
32*257b46faSpfg+	-I./include \
33*257b46faSpfg+	-I./include/private \
34*257b46faSpfg+	-I$(OUTDIR)/inc/apr \
35*257b46faSpfg+))
36*257b46faSpfg+
37*257b46faSpfg+$(eval $(call gb_Library_set_defs,apr-util,\
38*257b46faSpfg+	$$(DEFS) \
39*257b46faSpfg+	-DAPU_DECLARE_EXPORT -DWIN32 -DNDEBUG -D_WINDOWS -D_USRDLL -DWIN32_EXPORTS \
40*257b46faSpfg+))
41*257b46faSpfg+
42*257b46faSpfg+$(eval $(call gb_Library_add_linked_libs,apr-util,\
43*257b46faSpfg+	apr \
44*257b46faSpfg+	expat_xmltok \
45*257b46faSpfg+	expat_xmlparse \
46*257b46faSpfg+    $(gb_STDLIBS) \
47*257b46faSpfg+))
48*257b46faSpfg+
49*257b46faSpfg+$(eval $(call gb_Library_add_cobjects,apr-util,\
50*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/buckets/apr_brigade \
51*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/buckets/apr_buckets \
52*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/buckets/apr_buckets_alloc \
53*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/buckets/apr_buckets_eos \
54*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/buckets/apr_buckets_file \
55*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/buckets/apr_buckets_flush \
56*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/buckets/apr_buckets_heap \
57*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/buckets/apr_buckets_mmap \
58*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/buckets/apr_buckets_pipe \
59*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/buckets/apr_buckets_pool \
60*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/buckets/apr_buckets_refcount \
61*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/buckets/apr_buckets_simple \
62*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/buckets/apr_buckets_socket \
63*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/crypto/apr_crypto \
64*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/crypto/apr_md4 \
65*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/crypto/apr_md5 \
66*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/crypto/apr_sha1 \
67*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/crypto/getuuid \
68*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/crypto/uuid \
69*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/dbd/apr_dbd \
70*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/dbm/apr_dbm \
71*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/dbm/apr_dbm_sdbm \
72*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/dbm/sdbm/sdbm \
73*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/dbm/sdbm/sdbm_hash \
74*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/dbm/sdbm/sdbm_lock \
75*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/dbm/sdbm/sdbm_pair \
76*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/encoding/apr_base64 \
77*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/hooks/apr_hooks \
78*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/ldap/apr_ldap_stub \
79*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/ldap/apr_ldap_url \
80*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/memcache/apr_memcache \
81*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/misc/apr_date \
82*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/misc/apr_queue \
83*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/misc/apr_reslist \
84*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/misc/apr_rmm \
85*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/misc/apr_thread_pool \
86*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/misc/apu_dso \
87*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/misc/apu_version \
88*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/strmatch/apr_strmatch \
89*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/uri/apr_uri \
90*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/xlate/xlate \
91*257b46faSpfg+	apr-util/$(INPATH)/misc/build/apr-util-1.5.4/xml/apr_xml \
92*257b46faSpfg+))
93*257b46faSpfg+
94*257b46faSpfg+# vim: set noet sw=4 ts=4:
95*257b46faSpfg--- misc/apr-util-1.5.4/Makefile	2012-01-05 14:49:40.420212900 +0100
96*257b46faSpfg+++ misc/build/apr-util-1.5.4/Makefile	2012-01-05 14:47:07.827485100 +0100
97*257b46faSpfg@@ -1 +1,32 @@
98*257b46faSpfg-dummy
99*257b46faSpfg+#/**************************************************************
100*257b46faSpfg+# *
101*257b46faSpfg+# * Licensed to the Apache Software Foundation (ASF) under one
102*257b46faSpfg+# * or more contributor license agreements.  See the NOTICE file
103*257b46faSpfg+# * distributed with this work for additional information
104*257b46faSpfg+# * regarding copyright ownership.  The ASF licenses this file
105*257b46faSpfg+# * to you under the Apache License, Version 2.0 (the
106*257b46faSpfg+# * "License"); you may not use this file except in compliance
107*257b46faSpfg+# * with the License.  You may obtain a copy of the License at
108*257b46faSpfg+# *
109*257b46faSpfg+# *   http://www.apache.org/licenses/LICENSE-2.0
110*257b46faSpfg+# *
111*257b46faSpfg+# * Unless required by applicable law or agreed to in writing,
112*257b46faSpfg+# * software distributed under the License is distributed on an
113*257b46faSpfg+# * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
114*257b46faSpfg+# * KIND, either express or implied.  See the License for the
115*257b46faSpfg+# * specific language governing permissions and limitations
116*257b46faSpfg+# * under the License.
117*257b46faSpfg+# *
118*257b46faSpfg+# *************************************************************/
119*257b46faSpfg+
120*257b46faSpfg+ifeq ($(strip $(SOLARENV)),)
121*257b46faSpfg+$(error No environment set!)
122*257b46faSpfg+endif
123*257b46faSpfg+
124*257b46faSpfg+gb_PARTIALBUILD := T
125*257b46faSpfg+GBUILDDIR := $(SOLARENV)/gbuild
126*257b46faSpfg+include $(GBUILDDIR)/gbuild.mk
127*257b46faSpfg+
128*257b46faSpfg+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
129*257b46faSpfg+
130*257b46faSpfg+# vim: set noet sw=4 ts=4:
131*257b46faSpfg--- misc/apr-util-1.5.4/Module_apr-util.mk	2012-01-05 14:49:40.476216100 +0100
132*257b46faSpfg+++ misc/build/apr-util-1.5.4/Module_apr-util.mk	2012-01-05 14:47:42.567472100 +0100
133*257b46faSpfg@@ -1 +1,29 @@
134*257b46faSpfg-dummy
135*257b46faSpfg+#/**************************************************************
136*257b46faSpfg+# *
137*257b46faSpfg+# * Licensed to the Apache Software Foundation (ASF) under one
138*257b46faSpfg+# * or more contributor license agreements.  See the NOTICE file
139*257b46faSpfg+# * distributed with this work for additional information
140*257b46faSpfg+# * regarding copyright ownership.  The ASF licenses this file
141*257b46faSpfg+# * to you under the Apache License, Version 2.0 (the
142*257b46faSpfg+# * "License"); you may not use this file except in compliance
143*257b46faSpfg+# * with the License.  You may obtain a copy of the License at
144*257b46faSpfg+# *
145*257b46faSpfg+# *   http://www.apache.org/licenses/LICENSE-2.0
146*257b46faSpfg+# *
147*257b46faSpfg+# * Unless required by applicable law or agreed to in writing,
148*257b46faSpfg+# * software distributed under the License is distributed on an
149*257b46faSpfg+# * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
150*257b46faSpfg+# * KIND, either express or implied.  See the License for the
151*257b46faSpfg+# * specific language governing permissions and limitations
152*257b46faSpfg+# * under the License.
153*257b46faSpfg+# *
154*257b46faSpfg+# *************************************************************/
155*257b46faSpfg+
156*257b46faSpfg+$(eval $(call gb_Module_Module,apr-util))
157*257b46faSpfg+
158*257b46faSpfg+$(eval $(call gb_Module_add_targets,apr-util,\
159*257b46faSpfg+	Library_apr-util \
160*257b46faSpfg+	Package_inc \
161*257b46faSpfg+))
162*257b46faSpfg+
163*257b46faSpfg+# vim: set noet ts=4 sw=4:
164*257b46faSpfg--- misc/apr-util-1.5.4/Package_inc.mk	2012-01-05 14:49:40.585222300 +0100
165*257b46faSpfg+++ misc/build/apr-util-1.5.4/Package_inc.mk	2012-01-05 14:47:51.616989700 +0100
166*257b46faSpfg@@ -1 +1,32 @@
167*257b46faSpfg-dummy
168*257b46faSpfg+#/**************************************************************
169*257b46faSpfg+# *
170*257b46faSpfg+# * Licensed to the Apache Software Foundation (ASF) under one
171*257b46faSpfg+# * or more contributor license agreements.  See the NOTICE file
172*257b46faSpfg+# * distributed with this work for additional information
173*257b46faSpfg+# * regarding copyright ownership.  The ASF licenses this file
174*257b46faSpfg+# * to you under the Apache License, Version 2.0 (the
175*257b46faSpfg+# * "License"); you may not use this file except in compliance
176*257b46faSpfg+# * with the License.  You may obtain a copy of the License at
177*257b46faSpfg+# *
178*257b46faSpfg+# *   http://www.apache.org/licenses/LICENSE-2.0
179*257b46faSpfg+# *
180*257b46faSpfg+# * Unless required by applicable law or agreed to in writing,
181*257b46faSpfg+# * software distributed under the License is distributed on an
182*257b46faSpfg+# * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
183*257b46faSpfg+# * KIND, either express or implied.  See the License for the
184*257b46faSpfg+# * specific language governing permissions and limitations
185*257b46faSpfg+# * under the License.
186*257b46faSpfg+# *
187*257b46faSpfg+# *************************************************************/
188*257b46faSpfg+
189*257b46faSpfg+$(eval $(call gb_Package_Package,apr-util_inc,$(EXT_LIBRARIES)/apr-util/$(INPATH)/misc/build/apr-util-1.5.4/include))
190*257b46faSpfg+$(eval $(call gb_Package_add_files, apr-util_inc, inc/apr-util,        \
191*257b46faSpfg+       apu.h                                                           \
192*257b46faSpfg+       apr_uri.h                                                       \
193*257b46faSpfg+       apr_date.h                                                      \
194*257b46faSpfg+       apr_uuid.h                                                      \
195*257b46faSpfg+       apr_md5.h                                                       \
196*257b46faSpfg+       apr_xlate.h                                                     \
197*257b46faSpfg+       apr_base64.h                                                    \
198*257b46faSpfg+))
199*257b46faSpfg+
200