Makefile.dir 870 Bytes
Newer Older
1 2
UPDATER_VERSION := $(shell (git describe --match 'v*' --dirty || echo 'unknown') | sed -e 's/^v//')

3
LUA_NAME := $(shell for lua in lua5.1 lua-5.1 lua51 lua ; do if pkg-config $$lua ; then echo $$lua ; break ; fi ; done)
4
VALGRIND:=IN_VALGRIND=1 valgrind --leak-check=full --show-leak-kinds=definite,indirect,possible --track-fds=yes --trace-children=no --child-silent-after-fork=yes --error-exitcode=1 --track-origins=yes
5
# For picosat, it otherwise needs some headers not available on musl for a feature we don't need. And we need trace enabled.
6
EXTRA_DEFINES := NGETRUSAGE TRACE UPDATER_VERSION='"$(UPDATER_VERSION)"'
7 8 9
ifdef BUSYBOX_EXEC
EXTRA_DEFINES += BUSYBOX_EMBED
endif
10

11 12
include $(S)/build/Makefile.top

Karel Koci's avatar
Karel Koci committed
13
include $(S)/doc/Makefile.dir
14
include $(S)/src/Makefile.dir
15
include $(S)/tests/Makefile.dir
16 17 18

include $(S)/build/Makefile.dir
include $(S)/build/Makefile.bottom