#!/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 |