| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
include /usr/share/dpkg/architecture.mk |
| 4 |
include /usr/share/dpkg/pkg-info.mk |
| 5 |
|
| 6 |
# Security Hardening |
| 7 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 |
export DEB_LDFLAGS_MAINT_APPEND = -fPIC |
| 9 |
export DEB_CPPFLAGS_MAINT_APPEND = -I/usr/include/android -DNDEBUG `pkg-config --cflags squashfuse` |
| 10 |
export OUT_DIR = debian/out |
| 11 |
|
| 12 |
lib%.so: debian/lib%.mk |
| 13 |
dh_auto_build --buildsystem=makefile -- -f $< |
| 14 |
|
| 15 |
%: |
| 16 |
dh $@ |
| 17 |
|
| 18 |
|
| 19 |
override_dh_shlibdeps: |
| 20 |
dh_shlibdeps -l/usr/lib/$(DEB_HOST_MULTIARCH)/android |
| 21 |
|
| 22 |
override_dh_auto_build: libext4_utils.so libfec.so |