Debian Codegraph @

src/modules/ims_ipsec_pcscf/Makefile

raw symbols SCIP
1 #
2 # registrar 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=ims_ipsec_pcscf.so
10
11 ifeq ($(CROSS_COMPILE),)
12 BUILDER = $(shell which pkg-config)
13 ifneq ($(BUILDER),)
14 PKGLIBMNL = $(shell $(BUILDER) --exists libmnl > /dev/null 2>&1 ; echo $$? )
15 ifneq ($(PKGLIBMNL),0)
16 BUILDER =
17 endif
18 endif
19 endif
20
21 ifneq ($(BUILDER),)
22 DEFS += $(shell $(BUILDER) --cflags libmnl)
23 LIBS += $(shell $(BUILDER) --libs libmnl)
24 else
25 ifneq ($(OS),darwin)
26 LIBS += -lpthread
27 LIBS += -lmnl
28 endif
29 endif
30
31 include ../../Makefile.modules