nanox code removed.
[lbook_fbreader.git] / makefiles / arch / desktop.mk
blob2520dfa8c12b81145c7ab45ecd01bce898337f43
1 include $(ROOTDIR)/makefiles/arch/unix.mk
3 ifeq "$(INSTALLDIR)" ""
4 INSTALLDIR=/usr
5 endif
6 IMAGEDIR = $(INSTALLDIR)/share/pixmaps
7 APPIMAGEDIR = $(INSTALLDIR)/share/pixmaps/%APPLICATION_NAME%
9 CC = gcc
10 AR = ar rsu
11 LD = g++
13 CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG
14 LDFLAGS =
16 ifeq "$(UI_TYPE)" "qt"
17 MOC = moc-qt3
18 QTINCLUDE = -I /usr/include/qt3
19 else
20 MOC = moc-qt4
21 QTINCLUDE = -I /usr/include/qt4
22 endif
24 GTKINCLUDE = $(shell pkg-config --cflags gtk+-2.0 libpng xft)
26 ifeq "$(UI_TYPE)" "qt"
27 UILIBS = -lqt-mt
28 endif
30 ifeq "$(UI_TYPE)" "qt4"
31 UILIBS = -lQtGui
32 endif
34 ifeq "$(UI_TYPE)" "gtk"
35 UILIBS = $(shell pkg-config --libs gtk+-2.0) -lpng -ljpeg
36 endif
38 ifeq "$(UI_TYPE)" "nanox"
39 UILIBS = -lrt -L$(ROOTDIR)/v3/i386/lib -lfreetype
40 NXINCLUDE = -I$(ROOTDIR)/v3/include/
41 ZLSHARED = no
42 endif
44 XML_LIB = -lexpat
45 ARCHIVER_LIB = -lz -lbz2
47 RM = rm -rvf
48 RM_QUIET = rm -rf