summaryrefslogtreecommitdiffstats
path: root/.pc/0008-951-fix-calling-compiler.patch/makefiles/arch/desktop.mk
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-11 21:28:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-11 21:28:48 +0900
commit2462d03f322261bd616721c2b2065c4004b36c9c (patch)
tree239947a0737bb8386703a1497f12c09aebd3080a /.pc/0008-951-fix-calling-compiler.patch/makefiles/arch/desktop.mk
downloadtde-ebook-reader-2462d03f322261bd616721c2b2065c4004b36c9c.tar.gz
tde-ebook-reader-2462d03f322261bd616721c2b2065c4004b36c9c.zip
Initial import (as is) from Debian Snapshot's 'fbreader' source code (https://snapshot.debian.org/package/fbreader/0.99.4%2Bdfsg-6).
The Debian code is provided under GPL2 license. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to '.pc/0008-951-fix-calling-compiler.patch/makefiles/arch/desktop.mk')
-rw-r--r--.pc/0008-951-fix-calling-compiler.patch/makefiles/arch/desktop.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/.pc/0008-951-fix-calling-compiler.patch/makefiles/arch/desktop.mk b/.pc/0008-951-fix-calling-compiler.patch/makefiles/arch/desktop.mk
new file mode 100644
index 0000000..90abdf2
--- /dev/null
+++ b/.pc/0008-951-fix-calling-compiler.patch/makefiles/arch/desktop.mk
@@ -0,0 +1,24 @@
+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)
+
+MOC = "$(shell $(PKG_CONFIG) --variable=host_bins Qt5Core)/moc"
+QTINCLUDE = $(shell $(PKG_CONFIG) --cflags Qt5Gui Qt5Widgets Qt5Network)
+UILIBS = $(shell $(PKG_CONFIG) --libs Qt5Gui Qt5Widgets Qt5Network)
+
+RM = rm -rvf
+RM_QUIET = rm -rf