include $(ROOTDIR)/makefiles/arch/unix.mk ifeq "$(INSTALLDIR)" "" INSTALLDIR=/usr endif IMAGEDIR = $(INSTALLDIR)/share/pixmaps APPIMAGEDIR = $(INSTALLDIR)/share/pixmaps/%APPLICATION_NAME% CCACHE = $(shell if which ccache > /dev/null; then echo "ccache"; fi) #if ccache is not installed, do not use it CC = $(CCACHE) gcc AR = ar rsu LD = g++ CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG LDFLAGS = EXTERNAL_INCLUDE = $(shell pkg-config --cflags fribidi) ifeq "$(UI_TYPE)" "qt" MOC = moc-qt3 QTINCLUDE = -I /usr/include/qt3 else MOC = $(shell pkg-config QtCore --variable=moc_location) QTINCLUDE = -I $(shell pkg-config --cflags QtCore) endif GTKINCLUDE = $(shell pkg-config --cflags gtk+-2.0 libpng xft) ifeq "$(UI_TYPE)" "qt" UILIBS = -lqt-mt endif ifeq "$(UI_TYPE)" "qt4" UILIBS = $(shell pkg-config --libs QtCore QtGui QtNetwork) endif ifeq "$(UI_TYPE)" "gtk" UILIBS = $(shell pkg-config --libs gtk+-2.0 gio-2.0) -lpng -ljpeg endif RM = rm -rvf RM_QUIET = rm -rf