summaryrefslogtreecommitdiff
path: root/bindings/xml/Makefile
blob: bdebe4104f8d073d0717441dbcc65cfc0c36baf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ifeq ($(WITH_LIBXML_BINDING),yes)
  DIR_SOURCES := xmlbinding.c xmlparser.c

  DIR_INSTALL_ITEMS := /include/dom/bindings/libxml:xmlbinding.h;xmlerror.h;xmlparser.h

  # LibXML2
  ifneq ($(PKGCONFIG),)
    CFLAGS := $(CFLAGS) $(shell $(PKGCONFIG) libxml-2.0 --cflags)
    LDFLAGS := $(LDFLAGS) $(shell $(PKGCONFIG) libxml-2.0 --libs)
  else
    LDFLAGS := $(LDFLAGS) -lxml2
  endif
endif

include build/makefiles/Makefile.subdir