diff options
author | Michele Calgaro <[email protected]> | 2024-05-11 21:28:48 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-05-11 21:28:48 +0900 |
commit | 2462d03f322261bd616721c2b2065c4004b36c9c (patch) | |
tree | 239947a0737bb8386703a1497f12c09aebd3080a /makefiles/arch/bb10.mk | |
download | tde-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 <[email protected]>
Diffstat (limited to 'makefiles/arch/bb10.mk')
-rw-r--r-- | makefiles/arch/bb10.mk | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/makefiles/arch/bb10.mk b/makefiles/arch/bb10.mk new file mode 100644 index 0000000..ef8dbd3 --- /dev/null +++ b/makefiles/arch/bb10.mk @@ -0,0 +1,42 @@ +include $(ROOTDIR)/makefiles/arch/unix.mk + +QNX_HOST = /Applications/bbndk/host_10_0_9_52/darwin/x86 +QNX_TARGET = /Applications/bbndk/target_10_0_9_386/qnx6 +BB10_SDK_BIN_FOLDER = $(QNX_HOST)/usr/bin + +#BINDIR = $(INSTALLDIR)/Contents/MacOS +#SHAREDIR = $(INSTALLDIR)/Contents/Resources +#IMAGEDIR = $(SHAREDIR)/icons +#APPIMAGEDIR = $(IMAGEDIR) +# +## ~~ is a macros that will be expanded at runtime into QApplication::applicationDirPath() + "/.." +#SHAREDIR_MACRO = ~~/Resources +#IMAGEDIR_MACRO = $(SHAREDIR_MACRO)/icons +#APPIMAGEDIR_MACRO = $(IMAGEDIR_MACRO) +# +ZLSHARED = no + +CCACHE = $(shell if which ccache > /dev/null; then echo "ccache"; fi) #if ccache is not installed, do not use it +CC = QNX_HOST=$(QNX_HOST) QNX_TARGET=$(QNX_TARGET) $(CCACHE) $(BB10_SDK_BIN_FOLDER)/qcc +AR = $(BB10_SDK_BIN_FOLDER)/ntoarmv7-ar rsu +LD = QNX_HOST=$(QNX_HOST) QNX_TARGET=$(QNX_TARGET) $(BB10_SDK_BIN_FOLDER)/qcc +MOC = $(BB10_SDK_BIN_FOLDER)/moc + +ARCH_FLAGS = -Vgcc_ntoarmv7le +CFLAGS = $(ARCH_FLAGS) -Wall -Wno-ctor-dtor-privacy -W +LDFLAGS = $(ARCH_FLAGS) + +EXTERNAL_LIBS = -lcpp-ne -liconv + +QTINCLUDE = -I $(QNX_TARGET)/usr/include/qt4 +UILIBS = -L $(QNX_TARGET)/armle-v7/usr/lib/qt4/lib -lQtCore -lQtGui -lQtNetwork + +#ifeq "$(UI_TYPE)" "qt4" +# QTBASEDIR = ~/QtSDK/Desktop/Qt/4.8.1/gcc +# QTINCLUDE = -I $(QTBASEDIR)/include +# MOC = $(QTBASEDIR)/bin/moc +# UILIBS = -F $(QTBASEDIR)/lib -framework QtCore -framework QtGui -framework QtNetwork +#endif +# +RM = rm -rvf +RM_QUIET = rm -rf |