INSTALL_PROGRAM += -s
endif
-LAUNCHER = yes
+ifneq (,$(findstring thumb,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -mthumb
+endif
+
+LAUNCHER = no
ifneq (,$(findstring maemo-launcher,$(DEB_BUILD_OPTIONS)))
LAUNCHER = yes
endif
LAUNCHER_DEPENDS = -Vlauncher:Depends="maemo-launcher"
LAUNCHER_CFLAGS = -shared
LAUNCHER_LDFLAGS = -pie -shared -export-dynamic
+ CFLAGS += -fPIC
endif
dh_testroot
rm -f build-stamp
- # commands to clean up after the build process.
+# commands to clean up after the build process.
-$(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
dh_clean -k
dh_installdirs
- # install the package into debian/tmp/
+# install the package into debian/tmp/
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
ifeq "$(strip $(LAUNCHER))" "yes"