blob: 984ea3f459fc42b53a6506571e660cad3f68f50c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
ifeq ($(WITH_HUBBUB_BINDING),yes)
DIR_SOURCES := parser.c
DIR_INSTALL_ITEMS := /$(INCLUDEDIR)/dom/bindings/hubbub:errors.h;parser.h
# Hubbub
ifneq ($(PKGCONFIG),)
CFLAGS := $(CFLAGS) $(shell $(PKGCONFIG) libhubbub --cflags)
LDFLAGS := $(LDFLAGS) $(shell $(PKGCONFIG) libhubbub --libs)
else
CFLAGS := $(CFLAGS) -I$(PREFIX)/include
LDFLAGS := $(LDFLAGS) -lhubbub -lparserutils
endif
endif
include $(NSBUILD)/Makefile.subdir
|