Debian Codegraph @

src/modules/presence_xml/Makefile

raw symbols SCIP
1 #
2 # WARNING: do not run this directly, it should be run by the main Makefile
3
4 include ../../Makefile.defs
5 auto_gen=
6 NAME=presence_xml.so
7 LIBS=
8
9 ifeq ($(CROSS_COMPILE),)
10 XML2CFG=$(shell which xml2-config)
11 ifeq ($(XML2CFG),)
12 XML2CFG=$(shell \
13 if pkg-config --exists libxml-2.0; then \
14 echo 'pkg-config libxml-2.0'; \
15 fi)
16 endif
17 ifeq ($(OS), darwin)
18 ICU_BUILDER = $(shell \
19 if pkg-config --exists icu-uc; then \
20 echo 'pkg-config icu-uc'; \
21 fi)
22 endif
23 endif
24
25 ifneq ($(XML2CFG),)
26 DEFS += $(shell $(XML2CFG) --cflags )
27 LIBS += $(shell $(XML2CFG) --libs)
28 else
29 DEFS+=-I$(LOCALBASE)/include/libxml2 \
30 -I$(LOCALBASE)/include
31 LIBS+=-L$(LOCALBASE)/lib -lxml2
32 endif
33
34 ifneq ($(ICU_BUILDER),)
35 DEFS += $(shell $(ICU_BUILDER) --cflags )
36 LIBS += $(shell $(ICU_BUILDER) --libs)
37 endif
38
39 include ../../Makefile.modules