mirror of
https://github.com/openharmony/third_party_liburing.git
synced 2026-07-20 22:58:41 -04:00
0ae77b95ef
Signed-off-by: fangzhiyi18 <fangzhiyi1@huawei.com>
30 lines
638 B
Makefile
30 lines
638 B
Makefile
#!/usr/bin/make -f
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
#export DH_VERBOSE=1
|
|
|
|
DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
|
|
DEB_CFLAGS_MAINT_PREPEND = -Wall
|
|
DEB_BUILD_OPTIONS += nocheck
|
|
|
|
include /usr/share/dpkg/default.mk
|
|
include /usr/share/dpkg/buildtools.mk
|
|
|
|
%:
|
|
dh $@ --parallel
|
|
|
|
override_dh_auto_configure:
|
|
./configure \
|
|
--prefix=/usr \
|
|
--includedir=/usr/include \
|
|
--datadir=/usr/share \
|
|
--mandir=/usr/share/man \
|
|
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
|
|
--libdevdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
|
|
--cc=$(CC)
|
|
|
|
override_dh_auto_test:
|
|
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
|
$(MAKE) runtests
|
|
endif
|