nanox code removed.
[lbook_fbreader.git] / makefiles / arch / openzaurus.mk
blob75d4c6ac74e3ce7eeb1695078d8da85476ac5941
1 include $(ROOTDIR)/makefiles/arch/unix.mk
3 ifeq "$(UI_TYPE)" "opie"
4 INSTALLDIR = /opt/QtPalmtop
5 IMAGEDIR = $(INSTALLDIR)/pics
6 else # UI_TYPE == gpe
7 INSTALLDIR = /usr
8 IMAGEDIR = /usr/share/pixmaps
9 endif
10 APPIMAGEDIR = $(IMAGEDIR)/%application_name%
12 BASEPATH = /opt/openzaurus-3.5.4/usr/local/arm/oe
13 TOOLSPATH = $(BASEPATH)/bin
14 INCPATH = $(BASEPATH)/arm-linux/include
15 LIBPATH = $(BASEPATH)/arm-linux/lib
17 RM = rm -rvf
18 RM_QUIET = rm -rf
19 QTINCLUDE = -I $(INCPATH)/qt2
20 GTKINCLUDE = -I$(LIBPATH)/glib-2.0/include -I$(LIBPATH)/gtk-2.0/include -I$(INCPATH)/glib-2.0 -I$(INCPATH)/gtk-2.0 -I$(INCPATH)/pango-1.0 -I$(INCPATH)/atk-1.0
21 MOC = $(TOOLSPATH)/moc
22 CC = $(TOOLSPATH)/arm-linux-gcc
23 AR = $(TOOLSPATH)/arm-linux-ar rsu
24 LD = $(TOOLSPATH)/arm-linux-g++
26 XML_LIB = -lexpat
27 ARCHIVER_LIB = -lz -lbz2
29 ifeq "$(UI_TYPE)" "opie"
30 UILIBS = -lqte -lqpe
31 else
32 UILIBS = -lgpewidget -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0
33 endif
35 CFLAGS = -pipe -DOPIE_NO_DEBUG -DQT_NO_DEBUG -DQWS -fno-exceptions -fno-rtti -march=armv4 -mtune=xscale --param inline-unit-growth=200 --param large-function-growth=400 -Wall -Wno-ctor-dtor-privacy -W -Winline
36 LDFLAGS = -Wl,-rpath,$(LIBDIR)