summaryrefslogtreecommitdiffstats
path: root/makefiles/arch/opensimpad-0.9.0.mk
blob: 9818ad3ea71c16244fcfe9d8a54a8219fa38b414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
include $(ROOTDIR)/makefiles/arch/unix.mk

INSTALLDIR=/opt/QtPalmtop
IMAGEDIR = $(INSTALLDIR)/pics
APPIMAGEDIR = $(IMAGEDIR)/%application_name%

BASEPATH = /stuff/build/opensimpad-0.9.0

TOOLSPATH = $(BASEPATH)/cross/arm-linux/bin
OEPATH = $(BASEPATH)/staging/arm-linux
QTPATH = $(BASEPATH)/staging/arm-linux/qt2

MOC = $(BASEPATH)/staging/i686-linux/bin/moc
RM = rm -rvf
RM_QUIET = rm -rf
QTINCLUDE = -I $(QTPATH)/include
UILIBS = -L $(QTPATH)/lib -lqte -L $(OEPATH)/lib -lqpe -ljpeg -lpng12 -lz -lts
CC = $(TOOLSPATH)/gcc -I $(OEPATH)/include
AR = $(TOOLSPATH)/ar rsu
LD = $(TOOLSPATH)/g++

XML_LIBS = -L $(OEPATH)/lib -lexpat
ARCHIVER_LIBS = -L $(OEPATH)/lib -lz -lbz2

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
LDFLAGS = -Wl,-rpath,$(LIBDIR)