* Move binrz meson directives to binrz/ dir * Move rizin-shell-parser to a subproject * Move bochs to a meson subproject * Move rzqnx to meson subproject * Move winkd to a meson subproject * Move rzar to a meson subproject * Move rzw32dbg_wrap to a meson subproject * Move ptrace-wrap to a meson subproject * Move rzgdb to a meson subproject * Rename w32dbg_wrap to rzw32dbg_wrap * Update CODEOWNERS * Remove old references to shlr * Move shlr/heap stuff in core and remove shlr/arm * Move spp to a meson subproject * Remove last references to shlr * Remove use_webui option * Move include files directives to librz/include/meson.build * Move librz meson directives into librz/meson.build * Handle d/ directories inside the specific module meson.build * Move plugins listing to specific module meson.build * Move rzheap to its own subproject * Fix js linter and licenses * Use meson.override_dependency for all rz_ modules
48 lines
1.4 KiB
Makefile
Executable file
48 lines
1.4 KiB
Makefile
Executable file
#!/usr/bin/make -f
|
|
# See debhelper(7) (uncomment to enable)
|
|
# output every command that modifies files on the build system.
|
|
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
DEB_UPSTREAM_VERSION ?= $(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)[-+].*$$/\1/p')
|
|
|
|
EXTRA_FLAGS=
|
|
EXTRA_FLAGS+= --buildtype=release
|
|
EXTRA_FLAGS+= -Dpackager=RizinOrg
|
|
EXTRA_FLAGS+= -Dpackager_version=$(DEB_UPSTREAM_VERSION)
|
|
EXTRA_FLAGS+= -Dsubprojects_check=false
|
|
EXTRA_FLAGS+= -Dlocal=disabled
|
|
EXTRA_FLAGS+= -Duse_sys_capstone=disabled
|
|
EXTRA_FLAGS+= -Duse_sys_magic=disabled
|
|
EXTRA_FLAGS+= -Duse_sys_libzip=disabled
|
|
EXTRA_FLAGS+= -Duse_sys_zlib=disabled
|
|
EXTRA_FLAGS+= -Duse_sys_lz4=disabled
|
|
EXTRA_FLAGS+= -Duse_sys_xxhash=disabled
|
|
EXTRA_FLAGS+= -Duse_sys_libuv=disabled
|
|
EXTRA_FLAGS+= -Duse_sys_openssl=disabled
|
|
|
|
# architectures with debugging support
|
|
DEBUG_SUPPORT=0
|
|
debug_architectures := i386 amd64 arm arm64 mips mips64 powerpc ppc64
|
|
ifeq ($(DEB_HOST_ARCH_CPU),$(findstring $(DEB_HOST_ARCH_CPU),$(debug_architectures)))
|
|
DEBUG_SUPPORT=1
|
|
endif
|
|
|
|
ifeq (0,$(DEBUG_SUPPORT))
|
|
EXTRA_FLAGS+= -Ddebugger=false
|
|
else
|
|
EXTRA_FLAGS+= -Ddebugger=true
|
|
endif
|
|
|
|
%:
|
|
dh $@ --buildsystem=meson
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure --builddirectory=build-deb -- ${EXTRA_FLAGS}
|
|
|
|
override_dh_auto_build:
|
|
dh_auto_build --builddirectory=build-deb
|
|
|
|
override_dh_auto_test:
|
|
# skip tests
|
|
|
|
override_dh_auto_install:
|
|
dh_auto_install --builddirectory=build-deb # --destdir=debian/tmp
|