File: openzaurus.mk

package info (click to toggle)
fbreader 0.12.10dfsg2-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 12,608 kB
  • ctags: 13,435
  • sloc: cpp: 78,853; xml: 15,548; makefile: 845; sh: 305
file content (33 lines) | stat: -rw-r--r-- 1,122 bytes parent folder | download | duplicates (8)
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
27
28
29
30
31
32
33
include $(ROOTDIR)/makefiles/arch/unix.mk

ifeq "$(UI_TYPE)" "opie"
  INSTALLDIR = /opt/QtPalmtop
  IMAGEDIR = $(INSTALLDIR)/pics
else # UI_TYPE == gpe
  INSTALLDIR = /usr
  IMAGEDIR = /usr/share/pixmaps
endif
APPIMAGEDIR = $(IMAGEDIR)/%application_name%

BASEPATH = /opt/openzaurus-3.5.4/usr/local/arm/oe
TOOLSPATH = $(BASEPATH)/bin
INCPATH = $(BASEPATH)/arm-linux/include
LIBPATH = $(BASEPATH)/arm-linux/lib

RM = rm -rvf
RM_QUIET = rm -rf
QTINCLUDE = -I $(INCPATH)/qt2
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
MOC = $(TOOLSPATH)/moc
CC = $(TOOLSPATH)/arm-linux-gcc
AR = $(TOOLSPATH)/arm-linux-ar rsu
LD = $(TOOLSPATH)/arm-linux-g++

ifeq "$(UI_TYPE)" "opie"
	UILIBS = -lqte -lqpe
else
	UILIBS = -lgpewidget -lgtk-x11-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0
endif

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=2000 -Wall -Wno-ctor-dtor-privacy -W -Winline
LDFLAGS = -Wl,-rpath,$(LIBDIR)