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/ebr.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/ebr.mk')
-rw-r--r-- | makefiles/arch/ebr.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/makefiles/arch/ebr.mk b/makefiles/arch/ebr.mk new file mode 100644 index 0000000..d115143 --- /dev/null +++ b/makefiles/arch/ebr.mk @@ -0,0 +1,19 @@ +include $(ROOTDIR)/makefiles/arch/unix.mk + +INSTALLDIR = /mnt/ext2 +ZLSHARED = no + +SDK_DIR = /usr/local/arm/3.4.1 +SDK_BIN_DIR = $(SDK_DIR)/arm-linux/bin + +CC = $(SDK_BIN_DIR)/gcc +AR = $(SDK_BIN_DIR)/ar rsu +LD = $(SDK_BIN_DIR)/g++ + +CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -I $(ROOTDIR)/../ebr/microwin/src/include -I $(ROOTDIR)/../ebr/ext/include -DXMLCONFIGHOMEDIR=\"/mnt/ext2\" -DDO_ICONV_CAST +LDFLAGS = -L $(ROOTDIR)/../ebr/microwin/lib/jpeg -L $(ROOTDIR)/../ebr/microwin/lib/mfont -L $(ROOTDIR)/../ebr/microwin/src/lib -L $(ROOTDIR)/../ebr/ext/lib + +UILIBS = -lnano-X -ljpeg -lmfont + +RM = rm -rvf +RM_QUIET = rm -rf |