1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
include $(ROOTDIR)/makefiles/arch/unix.mk
INSTALLDIR = /opt/QtPalmtop
ifeq "$(UI_TYPE)" "qtopia-240x320"
IMAGEDIR = $(INSTALLDIR)/pics
else # UI_TYPE == qtopia-640x480
IMAGEDIR = $(INSTALLDIR)/pics144
endif
APPIMAGEDIR = $(IMAGEDIR)/%APPLICATION_NAME%
QTPATH = /opt/Qtopia/sharp
TOOLSPATH = /opt/Embedix/tools/arm-linux/bin
MOC = $(QTPATH)/bin/moc
RM = rm -rvf
RM_QUIET = rm -rf
QTINCLUDE = -I $(QTPATH)/include
UILIBS = -L $(QTPATH)/lib -lqte -lqpe
CC = $(TOOLSPATH)/gcc
AR = $(TOOLSPATH)/ar rsu
LD = $(TOOLSPATH)/g++
CFLAGS = -pipe -Duint16_t="unsigned short" -Duint32_t="unsigned int" -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS -fno-exceptions -fno-rtti -Wall -Wno-ctor-dtor-privacy -W -DUSE_ZAURUS_FONTHACK -ftemplate-depth-30
LDFLAGS = -Wl,-rpath,$(LIBDIR),-rpath,/usr/lib
|