PageRenderTime 18ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/wrappers/zmq/library/externals/Makefile

http://github.com/tybor/Liberty
Makefile | 22 lines | 8 code | 8 blank | 6 comment | 0 complexity | 308759614614de2e671fd64b5515e5a4 MD5 | raw file
 1XML=zmq.gcc-xml
 2HEADER=plugin/c/zmq_liberty.h
 3HEADERS=/usr/include/zmq.h
 4
 5wrappers: $(XML)
 6	wrappers-generator --local  $(XML) $(HEADERS)
 7
 8## Previous versions used
 9## `pkg-config --cflags-only-I libzmq| cut -c 3- |tr --delete  '[:space:]' `/zmq.h 
10## to Pick the included directories from the compilation flags, hoping
11## that only one is given, cut from the third character, skipping the '-I'
12## remove all space characters then add /zmq.h 
13
14## Since it does not work reliably I now assume that the library is installed in usual places.
15
16$(XML): 
17	pkg-config --exists libzmq --atleast-version=2.1.9
18	gccxml `pkg-config --cflags libzmq` $(HEADER) -fxml=$(XML)
19
20
21
22