X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=debian%2Frules;h=8300106af2cd67cad1950c75a07438f5e72f17d7;hb=a0b97bdb5b2391619437f8ef3c9bae321a1227dd;hp=3bd21d479f3193cc76712923b9c6fecc5b949b25;hpb=038ca2921c3f22a637bf5288f5d11b8041e7c548;p=modest diff --git a/debian/rules b/debian/rules index 3bd21d4..8300106 100755 --- a/debian/rules +++ b/debian/rules @@ -21,15 +21,20 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif -LAUNCHER = no -ifneq (,$(findstring maemo-launcher,$(DEB_BUILD_OPTIONS))) - LAUNCHER = yes +ifneq (,$(findstring thumb,$(DEB_BUILD_OPTIONS))) + CFLAGS += -mthumb endif +LAUNCHER = no +#ifneq (,$(findstring maemo-launcher,$(DEB_BUILD_OPTIONS))) +# LAUNCHER = yes +#endif + ifeq "$(strip $(LAUNCHER))" "yes" LAUNCHER_DEPENDS = -Vlauncher:Depends="maemo-launcher" LAUNCHER_CFLAGS = -shared LAUNCHER_LDFLAGS = -pie -shared -export-dynamic + CFLAGS += -fPIC endif @@ -61,7 +66,7 @@ clean: 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 @@ -77,7 +82,7 @@ install: build 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"