Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02: cpp-depends.patch dump-symlinks.patch
Date: Sat, 02 May 2009 15:14:51
Message-Id: E1M0GvR-00013N-Is@stork.gentoo.org
1 loki_val 09/05/02 15:14:49
2
3 Added: cpp-depends.patch dump-symlinks.patch
4 Log:
5 Add patches to fix parallel compilation problems, bug 255440. Also remove some dead code from ebuild.
6 (Portage version: 2.2_rc28/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/cpp-depends.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/cpp-depends.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/cpp-depends.patch?rev=1.1&content-type=text/plain
13
14 Index: cpp-depends.patch
15 ===================================================================
16 diff -NrU5 xmlrpc-c-1.18.02.orig/src/Makefile xmlrpc-c-1.18.02/src/Makefile
17 --- xmlrpc-c-1.18.02.orig/src/Makefile 2009-05-02 12:53:43.000000000 +0200
18 +++ xmlrpc-c-1.18.02/src/Makefile 2009-05-02 13:30:00.000000000 +0200
19 @@ -128,11 +128,15 @@
20 $(SUBDIRS:%=%/all) \
21
22 # Extra dependencies to make parallel make work in spite of all the submakes
23 # (See top level make file for details)
24 ifeq ($MUST_BUILD_CLIENT),yes)
25 -cpp/all: $(BLDDIR)/transport_config.h
26 + cpp/all: $(BLDDIR)/transport_config.h
27 +endif
28 +
29 +ifeq ($(ENABLE_CPLUSPLUS),yes)
30 + cpp/all: $(TARGET_SHARED_LIBRARIES)
31 endif
32
33 #-----------------------------------------------------------------------------
34 # RULES TO LINK LIBRARIES
35 #-----------------------------------------------------------------------------
36
37
38
39 1.1 dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/dump-symlinks.patch
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/dump-symlinks.patch?rev=1.1&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/files/xmlrpc-c-1.18.02/dump-symlinks.patch?rev=1.1&content-type=text/plain
43
44 Index: dump-symlinks.patch
45 ===================================================================
46 diff -NrU5 xmlrpc-c-1.18.02.orig/common.mk xmlrpc-c-1.18.02/common.mk
47 --- xmlrpc-c-1.18.02.orig/common.mk 2009-04-28 00:23:33.000000000 +0200
48 +++ xmlrpc-c-1.18.02/common.mk 2009-04-28 00:37:21.000000000 +0200
49 @@ -282,32 +282,10 @@
50 $(TARGET_MODS_PP:%=%.osh):%.osh:%.cpp
51 $(CXX) -c -o $@ $(INCLUDES) $(CXXFLAGS_ALL) $<
52
53
54 ##############################################################################
55 -# MISC BUILD RULES #
56 -##############################################################################
57 -
58 -# We use the srcdir symbolic link simply to make the make
59 -# rules easier to read in the make output. We could use the $(SRCDIR)
60 -# variable, but that makes the compile and link commands
61 -# a mile long. Note that Make sometime figures that a directory which
62 -# is a dependency is newer than the symbolic link pointing to it and wants
63 -# to rebuild the symbolic link. So we don't make $(SRCDIR) a
64 -# dependency of 'srcdir'.
65 -
66 -# We should do the same for 'blddir'. We did once before, then undid
67 -# it in an erroneous effort to enable parallel make. It's a little harder
68 -# with blddir; when we did it before, we had to use the non-symlink
69 -# version in a few places.
70 -
71 -srcdir:
72 - $(LN_S) $(SRCDIR) $@
73 -blddir:
74 - $(LN_S) $(BLDDIR) $@
75 -
76 -##############################################################################
77 # RECURSIVE SUBDIRECTORY BUILD RULES #
78 ##############################################################################
79
80 .PHONY: $(SUBDIRS:%=%/all)
81 $(SUBDIRS:%=%/all): %/all: $(CURDIR)/%
82 @@ -594,11 +572,10 @@
83 # especially with built .h files. Better not to burden the user, who
84 # gains nothing from it, with that.
85 #
86 rm -f depend.mk
87 rm -f Makefile.depend # We used to create a file by this name
88 - rm -f srcdir blddir
89
90 .PHONY: distdir-common
91 distdir-common:
92 @for file in $(DISTFILES); do \
93 d=$(SRCDIR); \
94 diff -NrU5 xmlrpc-c-1.18.02.orig/lib/abyss/src/Makefile xmlrpc-c-1.18.02/lib/abyss/src/Makefile
95 --- xmlrpc-c-1.18.02.orig/lib/abyss/src/Makefile 2009-04-28 00:23:33.000000000 +0200
96 +++ xmlrpc-c-1.18.02/lib/abyss/src/Makefile 2009-04-28 00:48:59.000000000 +0200
97 @@ -50,22 +50,17 @@
98
99 include $(SRCDIR)/common.mk
100
101 CFLAGS_LOCAL = -D_UNIX
102
103 -INCLUDES = -Iblddir -Isrcdir -Isrcdir/include -Isrcdir/lib/util/include
104 +INCLUDES = -I$(BLDDIR) -I$(SRCDIR) -I$(SRCDIR)/include -I$(SRCDIR)/lib/util/include
105
106 ABYSS_SHLIB = $(call shlibfn,libxmlrpc_abyss)
107 #ABYSS_SHLIB is e.g. libxmlrpc_abyss.so.3.1
108 ABYSS_SHLIBLE = $(call shliblefn,libxmlrpc_abyss)
109 #ABYSS_SHLIBLE is e.g. libxmlrpc_abyss.so
110
111 -# This 'common.mk' dependency makes sure the symlinks get built before
112 -# this make file is used for anything.
113 -
114 -$(SRCDIR)/common.mk: srcdir blddir
115 -
116 .PHONY: all
117 all: libxmlrpc_abyss.a $(TARGET_SHARED_LIBRARIES) $(TARGET_SHARED_LE_LIBS)
118
119
120 # Rule for this is in common.mk, courtesy of TARGET_LIBRARY_NAMES
121 diff -NrU5 xmlrpc-c-1.18.02.orig/lib/expat/xmlparse/Makefile xmlrpc-c-1.18.02/lib/expat/xmlparse/Makefile
122 --- xmlrpc-c-1.18.02.orig/lib/expat/xmlparse/Makefile 2009-04-28 00:23:33.000000000 +0200
123 +++ xmlrpc-c-1.18.02/lib/expat/xmlparse/Makefile 2009-04-28 00:39:45.000000000 +0200
124 @@ -83,11 +83,6 @@
125 distclean: clean distclean-common
126
127 .PHONY: dep
128 dep: dep-common
129
130 -# This 'common.mk' dependency makes sure the symlinks get built before
131 -# this make file is used for anything.
132 -
133 -$(SRCDIR)/common.mk: srcdir
134 -
135 include depend.mk
136 diff -NrU5 xmlrpc-c-1.18.02.orig/lib/expat/xmltok/Makefile xmlrpc-c-1.18.02/lib/expat/xmltok/Makefile
137 --- xmlrpc-c-1.18.02.orig/lib/expat/xmltok/Makefile 2009-04-28 00:23:33.000000000 +0200
138 +++ xmlrpc-c-1.18.02/lib/expat/xmltok/Makefile 2009-04-28 00:38:11.000000000 +0200
139 @@ -24,11 +24,11 @@
140 # we started using the Gcc -Wundef option, that generates a warning, so
141 # se set it explicitly to 0 here.
142
143 CFLAGS_LOCAL = -DXML_BYTE_ORDER=0
144
145 -# -I. is necessary when blddir != srcdir
146 +# -I. is necessary when $(BLDDIR) != $(SRCDIR)
147 INCLUDES = -I. -I$(BLDDIR) -I$(SRCDIR)/lib/util/include
148
149 default: all
150
151 TARGET_LIBRARY_NAMES := libxmlrpc_xmltok
152 diff -NrU5 xmlrpc-c-1.18.02.orig/lib/libutil/Makefile xmlrpc-c-1.18.02/lib/libutil/Makefile
153 --- xmlrpc-c-1.18.02.orig/lib/libutil/Makefile 2009-04-28 00:23:33.000000000 +0200
154 +++ xmlrpc-c-1.18.02/lib/libutil/Makefile 2009-04-28 00:48:59.000000000 +0200
155 @@ -41,23 +41,18 @@
156 MAJ=3
157 # Major number of shared libraries in this directory
158
159 include $(SRCDIR)/common.mk
160
161 -INCLUDES = -I$(BLDDIR) -Isrcdir \
162 - -I$(BLDDIR)/include -Isrcdir/include -Isrcdir/lib/util/include
163 +INCLUDES = -I$(BLDDIR) -I$(SRCDIR) \
164 + -I$(BLDDIR)/include -I$(SRCDIR)/include -I$(SRCDIR)/lib/util/include
165
166 UTIL_SHLIB = $(call shlibfn,libxmlrpc_util)
167 #UTIL_SHLIB is e.g. libxmlrpc_util.so.3.1
168 UTIL_SHLIBLE = $(call shliblefn,libxmlrpc_util)
169 #UTIL_SHLIBLE is e.g. libxmlrpc_util.so
170
171 -# This 'common.mk' dependency makes sure the symlinks get built before
172 -# this make file is used for anything.
173 -
174 -$(SRCDIR)/common.mk: srcdir blddir
175 -
176 .PHONY: all
177 all: libxmlrpc_util.a $(TARGET_SHARED_LIBRARIES) $(TARGET_SHARED_LE_LIBS)
178
179 # Rule for this is in common.mk, courtesy of TARGET_LIBRARY_NAMES:
180 $(UTIL_SHLIB): $(TARGET_MODS:%=%.osh)
181 diff -NrU5 xmlrpc-c-1.18.02.orig/src/cpp/Makefile xmlrpc-c-1.18.02/src/cpp/Makefile
182 --- xmlrpc-c-1.18.02.orig/src/cpp/Makefile 2009-04-28 00:23:33.000000000 +0200
183 +++ xmlrpc-c-1.18.02/src/cpp/Makefile 2009-04-28 00:38:11.000000000 +0200
184 @@ -37,18 +37,18 @@
185 # INCLUDES and DEP_SOURCES are used by dep-common target
186 INCLUDES = $(BASIC_INCLUDES) $(CLIENT_INCLUDES) $(LIBXML_INCLUDES) \
187 $(SERVER_INCLUDES) $(SERVER_ABYSS_INCLUDES) $(TRANSPORT_INCLUDES)
188 DEP_SOURCES = *.cpp
189
190 -WININET_TRANSPORT_DIR = srcdir/lib/wininet_transport
191 -CURL_TRANSPORT_DIR = srcdir/lib/curl_transport
192 -LIBWWW_TRANSPORT_DIR = srcdir/lib/libwww_transport
193 +WININET_TRANSPORT_DIR = $(SRCDIR)/lib/wininet_transport
194 +CURL_TRANSPORT_DIR = $(SRCDIR)/lib/curl_transport
195 +LIBWWW_TRANSPORT_DIR = $(SRCDIR)/lib/libwww_transport
196
197 ifeq ($(ENABLE_LIBXML2_BACKEND),yes)
198 LIBXML_INCLUDES = $(LIBXML2_CFLAGS)
199 else
200 - LIBXML_INCLUDES = -Isrcdir/lib/expat/xmlparse
201 + LIBXML_INCLUDES = -I$(SRCDIR)/lib/expat/xmlparse
202 endif
203
204 ifeq ($(ENABLE_LIBXML2_BACKEND),yes)
205 XML_PARSER_LIBDEP = $(shell xml2-config --libs)
206 else
207 @@ -80,26 +80,20 @@
208 MAJ = 5
209 # Major number of shared libraries in this directory
210
211 include $(SRCDIR)/common.mk
212
213 -
214 -# This 'common.mk' dependency makes sure the symlinks get built before
215 -# this make file is used for anything.
216 -
217 -$(SRCDIR)/common.mk: srcdir blddir
218 -
219 TRANSPORT_INCLUDES = \
220 -I$(WININET_TRANSPORT_DIR) \
221 -I$(CURL_TRANSPORT_DIR) \
222 -I$(LIBWWW_TRANSPORT_DIR) \
223
224 BASIC_INCLUDES = \
225 - -Iblddir/include \
226 - -Isrcdir/include \
227 - -Iblddir \
228 - -Isrcdir/lib/util/include
229 + -I$(BLDDIR)/include \
230 + -I$(SRCDIR)/include \
231 + -I$(BLDDIR) \
232 + -I$(SRCDIR)/lib/util/include
233
234
235 # TARGET_STATIC_LIBARIES, etc. are set by common.mk, based on
236 # TARGET_LIB_NAMES_PP.
237
238 @@ -125,22 +119,22 @@
239 $(LIBXMLRPC) \
240 $(LIBXMLRPC_SERVER) \
241 $(LIBXMLRPC_UTIL)
242 $(LIBXMLRPC_CPP_SH): LIBOBJECTS = XmlRpcCpp.osh
243 $(LIBXMLRPC_CPP_SH): LIBDEP = \
244 - -Lblddir/src -lxmlrpc_server -lxmlrpc \
245 + -L$(BLDDIR)/src -lxmlrpc_server -lxmlrpc \
246 $(XML_PARSER_LIBDEP) \
247 -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
248
249 LIBXMLRPCPP_SH = $(call shlibfn, lib$(LIBXMLRPCPP_NAME))
250
251 $(LIBXMLRPCPP_SH): $(LIBXMLRPCPP_MODS:%=%.osh) \
252 $(LIBXMLRPC) \
253 $(LIBXMLRPC_UTIL)
254 $(LIBXMLRPCPP_SH): LIBOBJECTS = $(LIBXMLRPCPP_MODS:%=%.osh)
255 $(LIBXMLRPCPP_SH): LIBDEP = \
256 - -Lblddir/src -lxmlrpc \
257 + -L$(BLDDIR)/src -lxmlrpc \
258 $(XML_PARSER_LIBDEP) \
259 -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
260
261
262 LIBXMLRPC_SERVERPP_SH = $(call shlibfn, libxmlrpc_server++)
263 @@ -151,11 +145,11 @@
264 $(LIBXMLRPC_UTIL) \
265 $(LIBXMLRPC)
266 $(LIBXMLRPC_SERVERPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVERPP_MODS:%=%.osh)
267 $(LIBXMLRPC_SERVERPP_SH): LIBDEP = \
268 -L. -l$(LIBXMLRPCPP_NAME) \
269 - -Lblddir/src -lxmlrpc_server -lxmlrpc \
270 + -L$(BLDDIR)/src -lxmlrpc_server -lxmlrpc \
271 $(XML_PARSER_LIBDEP) \
272 -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
273
274 LIBXMLRPC_SERVER_ABYSSPP_SH = $(call shlibfn, libxmlrpc_server_abyss++)
275
276 @@ -167,11 +161,11 @@
277 $(LIBXMLRPC_UTIL) \
278 $(LIBXMLRPC)
279 $(LIBXMLRPC_SERVER_ABYSSPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVER_ABYSSPP_MODS:%=%.osh)
280 $(LIBXMLRPC_SERVER_ABYSSPP_SH): LIBDEP = \
281 -L. -lxmlrpc_server++ -l$(LIBXMLRPCPP_NAME) \
282 - -Lblddir/src -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc \
283 + -L$(BLDDIR)/src -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc \
284 $(XML_PARSER_LIBDEP) \
285 -L$(LIBXMLRPC_ABYSS_DIR) -lxmlrpc_abyss \
286 -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util \
287
288 $(LIBXMLRPC_SERVER_CGIPP_SH): $(LIBXMLRPC_SERVER_CGIPP_MODS:%=%.osh) \
289 @@ -179,11 +173,11 @@
290 $(call shliblefn, lib$(LIBXMLRPCPP_NAME)) \
291 $(LIBXMLRPC)
292 $(LIBXMLRPC_SERVER_CGIPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVER_CGIPP_MODS:%=%.osh)
293 $(LIBXMLRPC_SERVER_CGIPP_SH): LIBDEP = \
294 -L. -lxmlrpc_server++ -l$(LIBXMLRPCPP_NAME) \
295 - -Lblddir/src -lxmlrpc_server -lxmlrpc \
296 + -L$(BLDDIR)/src -lxmlrpc_server -lxmlrpc \
297 $(XML_PARSER_LIBDEP) \
298 -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
299
300 LIBXMLRPC_SERVER_PSTREAMPP_SH = $(call shlibfn, libxmlrpc_server_pstream++)
301
302 @@ -193,11 +187,11 @@
303 $(call shliblefn, libxmlrpc_packetsocket) \
304 $(call shliblefn, libxmlrpc_server++)
305 $(LIBXMLRPC_SERVER_PSTREAMPP_SH): LIBOBJECTS = $(LIBXMLRPC_SERVER_PSTREAMPP_MODS:%=%.osh)
306 $(LIBXMLRPC_SERVER_PSTREAMPP_SH): LIBDEP = \
307 -L. -lxmlrpc_server++ -l$(LIBXMLRPCPP_NAME) -lxmlrpc_packetsocket \
308 - -Lblddir/src -lxmlrpc_server -lxmlrpc \
309 + -L$(BLDDIR)/src -lxmlrpc_server -lxmlrpc \
310 $(XML_PARSER_LIBDEP) \
311 -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util \
312
313 LIBXMLRPC_CLIENTPP_SH = $(call shlibfn, libxmlrpc_client++)
314
315 @@ -208,22 +202,22 @@
316 $(call shliblefn, lib$(LIBXMLRPCPP_NAME)) \
317 $(LIBXMLRPC_CLIENT)
318 $(LIBXMLRPC_CLIENTPP_SH): LIBOBJECTS = $(LIBXMLRPC_CLIENTPP_MODS:%=%.osh)
319 $(LIBXMLRPC_CLIENTPP_SH): LIBDEP = \
320 -L. -l$(LIBXMLRPCPP_NAME) -lxmlrpc_packetsocket \
321 - -Lblddir/src -lxmlrpc_client -lxmlrpc \
322 + -L$(BLDDIR)/src -lxmlrpc_client -lxmlrpc \
323 $(XML_PARSER_LIBDEP) \
324 -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
325
326 LIBXMLRPC_PACKETSOCKET_SH = $(call shlibfn, libxmlrpc_packetsocket)
327
328 $(LIBXMLRPC_PACKETSOCKET_SH): $(LIBXMLRPC_PACKETSOCKET_MODS:%=%.osh) \
329 $(call shliblefn, lib$(LIBXMLRPCPP_NAME))
330 $(LIBXMLRPC_PACKETSOCKET_SH): LIBOBJECTS = $(LIBXMLRPC_PACKETSOCKET_MODS:%=%.osh)
331 $(LIBXMLRPC_PACKETSOCKET_SH): LIBDEP = \
332 -L. -l$(LIBXMLRPCPP_NAME) \
333 - -Lblddir/src -lxmlrpc \
334 + -L$(BLDDIR)/src -lxmlrpc \
335 $(XML_PARSER_LIBDEP) \
336 -L$(LIBXMLRPC_UTIL_DIR) -lxmlrpc_util
337
338 libxmlrpc_cpp.a: XmlRpcCpp.o
339 libxmlrpc_cpp.a: LIBOBJECTS = XmlRpcCpp.o
340 diff -NrU5 xmlrpc-c-1.18.02.orig/src/cpp/test/Makefile xmlrpc-c-1.18.02/src/cpp/test/Makefile
341 --- xmlrpc-c-1.18.02.orig/src/cpp/test/Makefile 2009-04-28 00:23:33.000000000 +0200
342 +++ xmlrpc-c-1.18.02/src/cpp/test/Makefile 2009-04-28 00:48:59.000000000 +0200
343 @@ -26,16 +26,11 @@
344 LIBS += $(shell libwww-config --libs)
345 endif
346
347 LIBS += -lpthread
348
349 -INCLUDES = -Isrcdir/include -I$(BLDDIR) -Isrcdir -Isrcdir/lib/util/include
350 -
351 -# This 'Makefile' dependency makes sure the symlinks get built before
352 -# this make file is used for anything.
353 -
354 -Makefile: srcdir
355 +INCLUDES = -I$(SRCDIR)/include -I$(BLDDIR) -I$(SRCDIR) -I$(SRCDIR)/lib/util/include
356
357 include $(SRCDIR)/common.mk
358
359
360 TEST_OBJS = test.o registry.o server_abyss.o server_pstream.o tools.o
361 diff -NrU5 xmlrpc-c-1.18.02.orig/src/Makefile xmlrpc-c-1.18.02/src/Makefile
362 --- xmlrpc-c-1.18.02.orig/src/Makefile 2009-04-28 00:23:33.000000000 +0200
363 +++ xmlrpc-c-1.18.02/src/Makefile 2009-04-28 00:32:07.000000000 +0200
364 @@ -115,15 +115,10 @@
365 MAJ=3
366 # Major number of shared libraries in this directory
367
368 include $(SRCDIR)/common.mk
369
370 -# This 'common.mk' dependency makes sure the symlinks get built before
371 -# this make file is used for anything.
372 -
373 -$(SRCDIR)/common.mk: srcdir blddir
374 -
375 # TARGET_STATIC_LIBRARIES, etc. are set by common.mk, based on
376 # TARGET_LIBRARY_NAMES.
377
378
379 all: \
380 diff -NrU5 xmlrpc-c-1.18.02.orig/tools/common.mk xmlrpc-c-1.18.02/tools/common.mk
381 --- xmlrpc-c-1.18.02.orig/tools/common.mk 2009-04-28 00:23:33.000000000 +0200
382 +++ xmlrpc-c-1.18.02/tools/common.mk 2009-04-28 00:49:45.000000000 +0200
383 @@ -5,11 +5,11 @@
384 # the corresponding -l.
385 #
386 # Note that in a properly configured system, curl-config, etc. do not
387 # generate -L options for general directories.
388
389 -CLIENT_LDLIBS = -Lblddir/src -Lblddir/lib/libutil
390 +CLIENT_LDLIBS = -L$(BLDDIR)/src -L$(BLDDIR)/lib/libutil
391
392 CLIENT_LDLIBS += -lxmlrpc_client -lxmlrpc -lxmlrpc_util
393
394 ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes)
395 CLIENT_LDLIBS += $(shell libwww-config --libs)
396 @@ -21,17 +21,17 @@
397 CLIENT_LDLIBS += $(shell wininet-config --libs)
398 endif
399
400 CLIENT_LDLIBS += $(LDLIBS_XML)
401
402 -CLIENTPP_LDLIBS = -Lblddir/src/cpp
403 +CLIENTPP_LDLIBS = -L$(BLDDIR)/src/cpp
404 CLIENTPP_LDLIBS += -lxmlrpc_client++ -lxmlrpc_packetsocket -lxmlrpc++
405
406 include $(SRCDIR)/common.mk
407
408 ifneq ($(OMIT_LIB_RULE),Y)
409 -srcdir/tools/lib/dumpvalue.o: FORCE
410 +$(SRCDIR)/tools/lib/dumpvalue.o: FORCE
411 $(MAKE) -C $(dir $@) -f $(SRCDIR)/tools/lib/Makefile $(notdir $@)
412 endif
413
414 .PHONY: install
415 install: install-common
416 diff -NrU5 xmlrpc-c-1.18.02.orig/tools/lib/Makefile xmlrpc-c-1.18.02/tools/lib/Makefile
417 --- xmlrpc-c-1.18.02.orig/tools/lib/Makefile 2009-04-28 00:23:33.000000000 +0200
418 +++ xmlrpc-c-1.18.02/tools/lib/Makefile 2009-04-28 00:40:19.000000000 +0200
419 @@ -13,29 +13,24 @@
420 OMIT_LIB_RULE = Y
421
422 include $(SRCDIR)/tools/common.mk
423
424 INCLUDES = \
425 - -Isrcdir/$(SUBDIR)/include \
426 - -Iblddir \
427 - -Isrcdir/include \
428 - -Isrcdir/lib/util/include \
429 + -I$(SRCDIR)/$(SUBDIR)/include \
430 + -I$(BLDDIR) \
431 + -I$(SRCDIR)/include \
432 + -I$(SRCDIR)/lib/util/include \
433
434 LIBOBJS = \
435 dumpvalue.o \
436
437 .PHONY: all
438 all: $(LIBOBJS)
439
440 %.o:%.c
441 $(CC) -c $(CFLAGS_ALL) $<
442
443 -# This common.mk dependency makes sure the symlinks get built before
444 -# this make file is used for anything.
445 -
446 -$(SRCDIR)/tools/common.mk: srcdir blddir
447 -
448 include depend.mk
449
450 .PHONY: dep
451 dep: dep-common
452
453 diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xmlrpc/Makefile xmlrpc-c-1.18.02/tools/xmlrpc/Makefile
454 --- xmlrpc-c-1.18.02.orig/tools/xmlrpc/Makefile 2009-04-28 00:23:33.000000000 +0200
455 +++ xmlrpc-c-1.18.02/tools/xmlrpc/Makefile 2009-04-28 00:38:11.000000000 +0200
456 @@ -14,14 +14,14 @@
457
458 include $(SRCDIR)/tools/common.mk
459
460 INCLUDES = \
461 -I../lib/include \
462 - -Iblddir \
463 - -Iblddir/include \
464 - -Isrcdir/include \
465 - -Isrcdir/lib/util/include
466 + -I$(BLDDIR) \
467 + -I$(BLDDIR)/include \
468 + -I$(SRCDIR)/include \
469 + -I$(SRCDIR)/lib/util/include
470
471 LDFLAGS = $(LADD)
472
473 all: xmlrpc
474
475 @@ -32,11 +32,11 @@
476 stripcaseeq.o \
477 string_parser.o \
478
479 UTILS = $(UTIL_OBJS:%=$(UTIL_DIR)/%)
480
481 -DUMPVALUE = srcdir/tools/lib/dumpvalue.o
482 +DUMPVALUE = $(SRCDIR)/tools/lib/dumpvalue.o
483
484 # Can we just use $(LIBS) in the link?
485
486 LIBS = $(LIBXMLRPC_CLIENT) $(LIBXMLRPC) $(LIBXMLRPC_XML) $(LIBXMLRPC_UTIL)
487
488 @@ -46,15 +46,10 @@
489 $(CCLD) -o $@ $(LDFLAGS) $(XMLRPC_OBJS) $(UTILS) $(CLIENT_LDLIBS)
490
491 %.o:%.c $(BLDDIR)/include/xmlrpc-c/config.h
492 $(CC) -c $(CFLAGS_ALL) $<
493
494 -# This common.mk dependency makes sure the symlinks get built before
495 -# this make file is used for anything.
496 -
497 -$(SRCDIR)/tools/common.mk: srcdir blddir
498 -
499 include depend.mk
500
501 .PHONY: dep
502 dep: dep-common
503
504 diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xml-rpc-api2cpp/Makefile xmlrpc-c-1.18.02/tools/xml-rpc-api2cpp/Makefile
505 --- xmlrpc-c-1.18.02.orig/tools/xml-rpc-api2cpp/Makefile 2009-04-28 00:23:33.000000000 +0200
506 +++ xmlrpc-c-1.18.02/tools/xml-rpc-api2cpp/Makefile 2009-04-28 00:31:08.000000000 +0200
507 @@ -46,15 +46,10 @@
508 $(CXXLD) -o $@ $(LDFLAGS) $(OBJECTS) $(LDLIBS)
509
510 %.o:%.cpp
511 $(CXX) -c $(CXXFLAGS_ALL) $<
512
513 -# This common.mk dependency makes sure the symlinks get built before
514 -# this make file is used for anything.
515 -
516 -$(SRCDIR)/tools/common.mk: srcdir blddir
517 -
518 include depend.mk
519
520 .PHONY: clean
521 clean: clean-common
522 rm -f $(PROGS)
523 diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xml-rpc-api2txt/Makefile xmlrpc-c-1.18.02/tools/xml-rpc-api2txt/Makefile
524 --- xmlrpc-c-1.18.02.orig/tools/xml-rpc-api2txt/Makefile 2009-04-28 00:23:33.000000000 +0200
525 +++ xmlrpc-c-1.18.02/tools/xml-rpc-api2txt/Makefile 2009-04-28 00:30:54.000000000 +0200
526 @@ -16,15 +16,10 @@
527
528 all: $(PROGS)
529
530 include $(SRCDIR)/tools/common.mk
531
532 -# This common.mk dependency makes sure the symlinks get built before
533 -# this make file is used for anything.
534 -
535 -$(SRCDIR)/tools/common.mk: srcdir blddir
536 -
537 include depend.mk
538
539 .PHONY: clean
540 clean: clean-common
541 rm -f $(PROGS)
542 diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xmlrpc_cpp_proxy/Makefile xmlrpc-c-1.18.02/tools/xmlrpc_cpp_proxy/Makefile
543 --- xmlrpc-c-1.18.02.orig/tools/xmlrpc_cpp_proxy/Makefile 2009-04-28 00:23:33.000000000 +0200
544 +++ xmlrpc-c-1.18.02/tools/xmlrpc_cpp_proxy/Makefile 2009-04-28 00:28:49.000000000 +0200
545 @@ -45,15 +45,10 @@
546 $(CXXLD) -o $@ $(LDFLAGS) $(OBJECTS) $(LDLIBS) $(LADD)
547
548 %.o:%.cpp $(BLDDIR)/include/xmlrpc-c/config.h
549 $(CXX) -c $(CXXFLAGS_ALL) $<
550
551 -# This common.mk dependency makes sure the symlinks get built before
552 -# this make file is used for anything.
553 -
554 -$(SRCDIR)/tools/common.mk: srcdir blddir
555 -
556 include depend.mk
557
558 .PHONY: clean
559 clean: clean-common
560 rm -f xmlrpc_cpp_proxy
561 diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xmlrpc_pstream/Makefile xmlrpc-c-1.18.02/tools/xmlrpc_pstream/Makefile
562 --- xmlrpc-c-1.18.02.orig/tools/xmlrpc_pstream/Makefile 2009-04-28 00:23:33.000000000 +0200
563 +++ xmlrpc-c-1.18.02/tools/xmlrpc_pstream/Makefile 2009-04-28 00:38:11.000000000 +0200
564 @@ -16,22 +16,22 @@
565
566 include $(SRCDIR)/tools/common.mk
567
568 INCLUDES = \
569 -I../lib/include \
570 - -Isrcdir/lib/util/include \
571 - -Iblddir \
572 - -Iblddir/include \
573 - -Isrcdir/include \
574 + -I$(SRCDIR)/lib/util/include \
575 + -I$(BLDDIR) \
576 + -I$(BLDDIR)/include \
577 + -I$(SRCDIR)/include \
578
579 LDFLAGS = $(LADD)
580
581 all: xmlrpc_pstream
582
583 OBJECTS = \
584 xmlrpc_pstream.o \
585 - srcdir/tools/lib/dumpvalue.o \
586 + $(SRCDIR)/tools/lib/dumpvalue.o \
587
588 LIBS = \
589 $(LIBXMLRPC_CLIENTPP) \
590 $(LIBXMLRPCPP) \
591 $(LIBXMLRPC_CLIENT) \
592 @@ -52,18 +52,13 @@
593 UTILS = $(UTIL_OBJS:%=$(UTIL_DIR)/%)
594
595 xmlrpc_pstream: $(OBJECTS) $(LIBS) $(UTILS)
596 $(CXXLD) -o $@ $(LDFLAGS) $(OBJECTS) $(UTILS) $(LDLIBS) $(LADD)
597
598 -%.o:%.cpp blddir/include/xmlrpc-c/config.h
599 +%.o:%.cpp $(BLDDIR)/include/xmlrpc-c/config.h
600 $(CXX) -c $(CXXFLAGS_ALL) $<
601
602 -# This common.mk dependency makes sure the symlinks get built before
603 -# this make file is used for anything.
604 -
605 -$(SRCDIR)/tools/common.mk: srcdir blddir
606 -
607 include depend.mk
608
609 .PHONY: clean
610 clean: clean-common
611 rm -f xmlrpc_pstream
612 diff -NrU5 xmlrpc-c-1.18.02.orig/tools/xmlrpc_transport/Makefile xmlrpc-c-1.18.02/tools/xmlrpc_transport/Makefile
613 --- xmlrpc-c-1.18.02.orig/tools/xmlrpc_transport/Makefile 2009-04-28 00:23:33.000000000 +0200
614 +++ xmlrpc-c-1.18.02/tools/xmlrpc_transport/Makefile 2009-04-28 00:29:09.000000000 +0200
615 @@ -39,15 +39,10 @@
616 $(CCLD) -o $@ $(LDFLAGS) $< $(CLIENT_LDLIBS) $(UTILS)
617
618 %.o:%.c
619 $(CC) -c $(CFLAGS_ALL) $<
620
621 -# This common.mk dependency makes sure the symlinks get built before
622 -# this make file is used for anything.
623 -
624 -$(SRCDIR)/tools/common.mk: srcdir blddir
625 -
626 include depend.mk
627
628 .PHONY: dep
629 dep: dep-common