mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 23:20:40 +00:00
a6e0d6c480
* Update meson and make build systems * Remove leftovers and unused dependencies
44 lines
708 B
Makefile
44 lines
708 B
Makefile
include $(SHLR)/sdb.mk
|
|
include $(SHLR)/zip/deps.mk
|
|
|
|
LDFLAGS+=-lm
|
|
|
|
# NetBSD 7.0 ships with backtrace(3) in -lexecinfo
|
|
ifeq (${BUILD_OS},netbsd)
|
|
ifneq ($(shell expr "`uname -r`" : '[0-6]\.'), 2)
|
|
LDFLAGS+=-lexecinfo
|
|
endif
|
|
endif
|
|
|
|
ifeq (${BUILD_OS},serenityos)
|
|
LDFLAGS+=
|
|
else
|
|
ifeq ($(OSTYPE),bsd)
|
|
LDFLAGS+=-lkvm
|
|
endif
|
|
endif
|
|
|
|
# FreeBSD 10.0 ships with backtrace(3) in -lexecinfo
|
|
ifeq (${BUILD_OS},freebsd)
|
|
ifneq ($(shell expr "`uname -r`" : '[0-9]\.'), 2)
|
|
LDFLAGS+=-lexecinfo
|
|
endif
|
|
LDFLAGS+=-lutil
|
|
endif
|
|
|
|
ifeq (${BUILD_OS},dragonfly)
|
|
LDFLAGS+=-lexecinfo
|
|
endif
|
|
|
|
ifeq (${BUILD_OS},haiku)
|
|
LDFLAGS+=-lexecinfo
|
|
endif
|
|
|
|
ifneq ($(OSTYPE),darwin)
|
|
ifneq ($(OSTYPE),haiku)
|
|
LDFLAGS+=-lm
|
|
LINK+=-lm
|
|
endif
|
|
endif
|
|
|