Debian Codegraph @

src/modules/lwsc/Makefile

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