aboutsummaryrefslogtreecommitdiff
path: root/vendor/voclient/libsamp/libxrpc/xmlrpc-c-1.16.29/tools/common.mk
blob: 4c377fe1af6ff6cbf00a30fa0c85c26891759c72 (plain) (blame)
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)
blddir/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: