png support
[lbook_fbreader.git] / makefiles / arch / opensimpad-0.9.0.mk
blob945809b221567ac05dad2424b3ea94d7ebd3d5b4
1 include $(ROOTDIR)/makefiles/arch/unix.mk
3 INSTALLDIR=/opt/QtPalmtop
4 IMAGEDIR = $(INSTALLDIR)/pics
5 APPIMAGEDIR = $(IMAGEDIR)/%application_name%
7 BASEPATH = /stuff/build/opensimpad-0.9.0
9 TOOLSPATH = $(BASEPATH)/cross/arm-linux/bin
10 OEPATH = $(BASEPATH)/staging/arm-linux
11 QTPATH = $(BASEPATH)/staging/arm-linux/qt2
13 MOC = $(BASEPATH)/staging/i686-linux/bin/moc
14 RM = rm -rvf
15 RM_QUIET = rm -rf
16 QTINCLUDE = -I $(QTPATH)/include
17 UILIBS = -L $(QTPATH)/lib -lqte -L $(OEPATH)/lib -lqpe -ljpeg -lpng12 -lz -lts
18 CC = $(TOOLSPATH)/gcc -I $(OEPATH)/include
19 AR = $(TOOLSPATH)/ar rsu
20 LD = $(TOOLSPATH)/g++
22 XML_LIB = -L $(OEPATH)/lib -lexpat
23 ARCHIVER_LIB = -L $(OEPATH)/lib -lz -lbz2
25 CFLAGS = -pipe -DOPIE_NO_DEBUG -DQT_NO_DEBUG -DQWS -fno-exceptions -fno-rtti -march=armv4 -mtune=xscale -mfloat-abi=soft --param large-function-growth=2000 --param inline-unit-growth=200 -Wall -Wno-ctor-dtor-privacy -W -Winline
26 LDFLAGS = -Wl,-rpath,$(LIBDIR)