Menu

[r1498]: / advanced / tools / common.mk  Maximize  Restore  History

Download this file

44 lines (33 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# We try to get Xmlrpc-c directories early in the link library search
# path to avert problems with other versions of Xmlrpc-c being in more
# general directories (such as /usr/local/lib) that are added to the
# search path by curl-config, etc. That's why we separate the -L from
# the corresponding -l.
#
# Note that in a properly configured system, curl-config, etc. do not
# generate -L options for general directories.
CLIENT_LDLIBS = -Lblddir/src -Lblddir/lib/libutil
CLIENT_LDLIBS += -lxmlrpc_client -lxmlrpc -lxmlrpc_util
ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes)
CLIENT_LDLIBS += $(shell libwww-config --libs)
endif
ifeq ($(MUST_BUILD_CURL_CLIENT),yes)
CLIENT_LDLIBS += $(shell curl-config --libs)
endif
ifeq ($(MUST_BUILD_WININET_CLIENT),yes)
CLIENT_LDLIBS += $(shell wininet-config --libs)
endif
CLIENT_LDLIBS += $(LDLIBS_XML)
CLIENTPP_LDLIBS = -Lblddir/src/cpp
CLIENTPP_LDLIBS += -lxmlrpc_client++ -lxmlrpc_packetsocket -lxmlrpc++
include $(SRCDIR)/common.mk
ifneq ($(OMIT_LIB_RULE),Y)
srcdir/tools/lib/dumpvalue.o: FORCE
$(MAKE) -C $(dir $@) -f $(SRCDIR)/tools/lib/Makefile $(notdir $@)
endif
.PHONY: install
install: install-common
.PHONY: check
check:
.PHONY: FORCE
FORCE:
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.