blob: ac1bd47664f0d38e8456f8076e77910ac949a624 [file] [log] [blame]
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
LIBION_DESTDIR := $(CURDIR)/debian/tmp/libion-android
CROSS_COMPILE=aarch64-linux-gnu-
CC=$(CROSS_COMPILE)gcc
%:
dh $@
override_dh_auto_build:
+make -C libion CC=$(CC)
override_dh_auto_install:
+make -C libion install \
SRCDIR=$(CURDIR) \
DESTDIR=$(LIBION_DESTDIR) \
INCDIR=/usr/include \
LIBDIR=/usr/lib