Imported Upstream version 1.6.13
[platform/upstream/libpng.git] / scripts / makefile.cegcc
index 1aff52e..99848ad 100644 (file)
 # make clean
 
 VERMAJ = 1
-VERMIN = 2
-VERMIC = 50
+VERMIN = 6
+VERMIC = 13
 VER = $(VERMAJ).$(VERMIN).$(VERMIC)
 NAME = libpng
 PACKAGE = $(NAME)-$(VER)
 
-BIN = libpng12-0.dll libpng-3.dll
-LIB = libpng12.a libpng12.dll.a libpng.a libpng.dll.a scripts/png32ce.def
-INCLUDE = png.h pngconf.h
-PC = libpng12.pc libpng.pc
+BIN = libpng16-0.dll
+LIB = libpng16.a libpng16.dll.a libpng.a libpng.dll.a
+INCLUDE = png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
+PC = libpng16.pc libpng.pc
 
 MANIFESTVERBIN = "Libpng-$(VER): Binary files"
 MANIFESTVERDEV = "Libpng-$(VER): Developer files"
@@ -64,7 +64,10 @@ copy-src:
 
 compilation:
        @echo " * Compilation of $(PACKAGE)"
-       cd $(PACKAGE) && CPPFLAGS="$(CPPFLAGS) -DPNG_BUILD_DLL -DPNG_CONSOLE_IO_SUPPORTED -DPNG_NO_MMX_CODE -D_WIN32_WCE=0x0420" CFLAGS="$(CFLAGS) -mms-bitfields -O3 -pipe -fomit-frame-pointer" LDFLAGS="$(LDFLAGS) -Wl,--enable-auto-import -Wl,-s" ./configure --prefix=/opt/wince --host=arm-mingw32ce && make
+       cd $(PACKAGE) && CPPFLAGS="$(CPPFLAGS) -DPNG_CONSOLE_IO_SUPPORTED -D_WIN32_WCE=0x0420" \
+               CFLAGS="$(CFLAGS) -mms-bitfields -O3 -pipe -fomit-frame-pointer" \
+               LDFLAGS="$(LDFLAGS) -Wl,--enable-auto-import -Wl,-s" \
+               ./configure --prefix=/opt/wince --host=arm-mingw32ce && make
 
 copy:
        @echo " * Copy of binary and development files"