Debian Codegraph @

src/modules/ims_isc/Makefile

raw
1 #
2 # ims_isc make file
3 #
4 #
5
6 include ../../Makefile.defs
7 auto_gen=
8 NAME=ims_isc.so
9
10 ifeq ($(CROSS_COMPILE),)
11 XML2CFG=$(shell which xml2-config)
12 ifeq ($(XML2CFG),)
13 XML2CFG=$(shell \
14 if pkg-config --exists libxml-2.0; then \
15 echo 'pkg-config libxml-2.0'; \
16 fi)
17 endif
18 endif
19
20 ifneq ($(XML2CFG),)
21 DEFS += $(shell $(XML2CFG) --cflags )
22 LIBS += $(shell $(XML2CFG) --libs)
23 else
24 DEFS+=-I$(LOCALBASE)/include/libxml2 \
25 -I$(LOCALBASE)/include
26 LIBS+=-L$(LOCALBASE)/lib -lxml2
27 endif
28
29 include ../../Makefile.modules