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/pocketpc.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/pocketpc.mk')
-rw-r--r-- | makefiles/arch/pocketpc.mk | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/makefiles/arch/pocketpc.mk b/makefiles/arch/pocketpc.mk new file mode 100644 index 0000000..5df05e1 --- /dev/null +++ b/makefiles/arch/pocketpc.mk @@ -0,0 +1,32 @@ +SHAREDIR = %APPLICATION_PATH%\\\\share +IMAGEDIR = $(SHAREDIR)\\\\icons +APPIMAGEDIR = $(IMAGEDIR) +FILENAMEDELIMITER = "\\\\" +PATHDELIMITER = ";" +EOLCHARS = "\\r\\n" + +ZLSHARED = no + +PREFIX = /usr/ppc/arm-wince-cegcc/bin/ +CC = $(PREFIX)gcc +AR = $(PREFIX)ar rsu +LD = $(PREFIX)g++ +RESOURCE_COMPILER = /usr/arm-wince-mingw32ce/bin/arm-wince-mingw32ce-windres + +CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DUNICODE -D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0501 -DWINVER=0x0500 -DNOMINMAX +#LDFLAGS = -mwindows + +#UILIBS = -lgdi32 -lcomctl32 -lcomdlg32 -lpng12 -ljpeg -lungif -ltiff +UILIBS = -lcoredll -lpng -ljpeg -lungif -ltiff + +RM = rm -rvf +RM_QUIET = rm -rf + +BUILD_RESOURCE_OBJECT = yes + +.resources: + @echo -n 'Creating resource object...' + @echo 'ApplicationIcon ICON icons/win32/$(TARGET).ico' > $(TARGET).rc + @$(RESOURCE_COMPILER) $(TARGET).rc -o src/$(TARGET)_rc.o + @$(RM_QUIET) $(TARGET).rc + @echo ' OK' |