Debian Codegraph @

src/modules/evapi/Makefile

raw symbols SCIP
1 #
2 # WARNING: do not run this directly, it should be run by the main Makefile
3
4 include ../../Makefile.defs
5 auto_gen=
6 NAME=evapi.so
7
8 ifeq ($(CROSS_COMPILE),)
9 BUILDER = $(shell which pkg-config)
10 ifneq ($(BUILDER),)
11 PKGLIBUV = $(shell $(BUILDER) --exists libev > /dev/null 2>&1 ; echo $$? )
12 ifneq ($(PKGLIBUV),0)
13 BUILDER =
14 endif
15 endif
16 endif
17
18 ifneq ($(BUILDER),)
19 DEFS += $(shell $(BUILDER) --cflags libev)
20 LIBS += $(shell $(BUILDER) --libs libev)
21 else
22 ifneq (,$(findstring darwin,$(OS)))
23 DEFS += -I/opt/local/include -I$(LOCALBASE)/include
24 LIBS += -L/opt/local/lib -L$(LOCALBASE)/lib -lev
25 else
26 DEFS += -I$(LOCALBASE)/include -I$(SYSBASE)/include
27 LIBS += -L$(LOCALBASE)/lib -L$(SYSBASE)/lib -lev
28 endif
29 endif
30
31 include ../../Makefile.modules