PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/src/wrappers/xml/library/externals/Makefile

http://github.com/tybor/Liberty
Makefile | 15 lines | 7 code | 4 blank | 4 comment | 0 complexity | e7648d43f77b6a679e0561f7ccaf5b79 MD5 | raw file
 1## To avoid an Ubuntu Intrepid Ibex bug.
 2## See https://bugs.launchpad.net/ubuntu/+source/gccxml/+bug/293807 for further informations.
 3##GCCXML_COMPILER=gcc-4.2
 4
 5XML=libxml2.gcc-xml
 6HEADER=libxml2-liberty.h
 7HEADERS := $(shell pkg-config --cflags-only-I libxml-2.0| cut -c 3- |tr --delete  '[:space:]' )/libxml/*
 8## The previous variable is computed from the output of pkg-config, removing the "-I" 
 9
10wrappers: $(XML)
11	wrappers-generator --local $(XML) $(HEADERS) 
12
13$(XML): $(HEADER) 
14	gccxml `pkg-config --cflags libxml-2.0` $(HEADER) -fxml=$(XML)
15