Including imlib2
[maemo-efl] / trunk / imlib2 / debian / rules
1 #!/usr/bin/make -f
2
3 include /usr/share/cdbs/1/rules/debhelper.mk
4 include /usr/share/cdbs/1/class/autotools.mk
5
6 DEB_DESTDIR = $(CURDIR)/debian/tmp
7
8 DEB_CONFIGURE_EXTRA_FLAGS := --disable-mmx              \
9                                                          --disable-amd64        \
10                                                          --without-gif          \
11                                                          --without-id3
12
13 DEB_BUILD_ARCH  ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
14
15 ifneq (,$(findstring armel,$(DEB_BUILD_ARCH)))
16         CFLAGS += -DNDEBUG=1 -fomit-frame-pointer -O2 -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant
17 endif
18