Debian Codegraph @

src/modules/janssonrpcc/Makefile

raw
1 #
2 # janssonrpcc 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=janssonrpcc.so
10 LIBS=-lm
11
12 BUILDER = $(shell which pkg-config)
13 ifeq ($(BUILDER),)
14 DEFS+=-I$(LOCALBASE)/include
15 LIBS+=-L$(SYSBASE)/include/lib -L$(LOCALBASE)/lib -levent -ljansson
16 else
17 DEFS+= $(shell pkg-config --cflags jansson)
18 LIBS+= $(shell pkg-config --libs jansson)
19 DEFS+= $(shell pkg-config --cflags libevent)
20 LIBS+= $(shell pkg-config --libs libevent)
21 endif
22
23 SERLIBPATH=../../lib
24 include ../../Makefile.modules