Debian Codegraph @

src/modules/stirshaken/Makefile

raw
1 #
2 # stirshaken module makefile
3 #
4 # WARNING: do not run this directly, it should be run by the main Makefile
5
6 include ../../Makefile.defs
7 auto_gen=
8 NAME=stirshaken.so
9
10 ifeq ($(CROSS_COMPILE),)
11 BUILDER = $(shell which pkg-config)
12 ifneq ($(BUILDER),)
13 PKGLIBSECSIPID = $(shell $(BUILDER) --exists stirshaken > /dev/null 2>&1 ; echo $$? )
14 ifneq ($(PKGLIBSECSIPID),0)
15 BUILDER =
16 endif
17 endif
18 endif
19
20 ifeq ($(BUILDER),)
21 DEFS+= -I.
22 LIBS = -L. -lstirshaken
23 else
24 DEFS+= $(shell pkg-config --cflags stirshaken)
25 LIBS = $(shell pkg-config --libs stirshaken)
26 endif
27
28 include ../../Makefile.modules