Removed debian_greagle dir
[maemo-efl] / trunk / ecore / debian_gregale / 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_CONFIGURE_EXTRA_FLAGS :=  --enable-ecore-evas-x11-16        \
7                                                           --disable-ecore-fb                    \
8                                                           --disable-ecore-directfb              \
9                                                           --disable-ecore-evas-gl               \
10                                                           --disable-ecore-evas-dfb              \
11                                                           --disable-ecore-evas-xrender  \
12                                                           --disable-ecore-evas-fb               \
13                                                           --disable-ecore-sdl                   \
14                                                           --disable-ecore-evas-sdl
15
16 DEB_CONFIGURE_SCRIPT_ENV += CURL_LIBS="-lcurl"
17
18 DEB_BUILD_ARCH  ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
19
20 CFLAGS += -I/usr/X11R6/include
21
22 ifneq (,$(findstring armel,$(DEB_BUILD_ARCH)))
23         CFLAGS += -DNDEBUG=1 -fomit-frame-pointer -O2 -ffast-math -funsafe-math-optimizations -fno-math-errno -fsingle-precision-constant
24         ifneq (,$(findstring n8x0,$(DEB_BUILD_OPTIONS)))
25                 CFLAGS += -mfpu=vfp -mfloat-abi=softfp -mcpu=arm1136jf-s
26         endif
27         ifneq (,$(findstring n770,$(DEB_BUILD_OPTIONS)))
28                  CFLAGS += -mcpu=arm926ej-s
29         endif
30 endif
31