Debian Codegraph @

src/modules/jansson/Makefile

raw symbols SCIP
1 #
2 # jansson module makefile
3 #
4 #
5 # WARNING: do not run this directly, it should be run by the main Makefile
6
7 include ../../Makefile.defs
8 auto_gen=
9 NAME=jansson.so
10
11 ifeq ($(CROSS_COMPILE),)
12 JNS_BUILDER=$(shell \
13 if pkg-config --exists jansson; then \
14 echo 'pkg-config jansson'; \
15 fi)
16 endif
17
18 ifneq ($(JNS_BUILDER),)
19 DEFS += $(shell $(JNS_BUILDER) --cflags)
20 LIBS += $(shell $(JNS_BUILDER) --libs)
21 else
22 DEFS+=-I$(LOCALBASE)/include
23 LIBS+=-L$(SYSBASE)/include/lib -L$(LOCALBASE)/lib -ljansson
24 endif
25
26 SERLIBPATH=../../lib
27 include ../../Makefile.modules