Commits

Anonymous committed 204716a

libpng build scripts

Comments (0)

Files changed (1)

symbian/SConscript.libpng.py

+# This file is generated with mmp2sconscript
+from scons_symbian import *
+from glob import glob
+
+Import("TARGET_NAME UID3 PACKAGE_NAME")
+
+# Built as dll because needed by SDL and the application
+target     = TARGET_NAME
+targettype = TARGETTYPE_LIB
+libraries  = ['euser', 'estlib']
+
+# Static libs
+libraries += []
+
+#uid3 = UID3
+
+sources = glob( "deps/libpng/png*.c")
+[ sources.remove(x) for x in glob("deps/libpng/pngtes*.c")]
+
+
+includes    = ['deps/libpng/']
+sysincludes = ['/epoc32/include', '/epoc32/include/libc']
+defines     = []
+
+SymbianProgram( target, targettype,
+    sources = sources,
+    includes    = includes,
+    sysincludes = sysincludes,
+    libraries   = libraries,
+    defines     = defines,
+    #uid3 = uid3, 
+    package = PACKAGE_NAME,
+)
+