rev 399 - trunk
[email protected] Wed, 27 Apr 2005 21:37:42 -0700 (PDT)
| Newsgroups | gmane.comp.printing.ghostscript.jbig2dec.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: giles
Date: 2005-04-27 21:37:42 -0700 (Wed, 27 Apr 2005)
New Revision: 399
Added:
trunk/SConstruct
Log:
Add experimental scons build file.
Added: trunk/SConstruct
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/SConstruct 2005-04-28 04:36:32 UTC (rev 398)
+++ trunk/SConstruct 2005-04-28 04:37:42 UTC (rev 399)
@@ -0,0 +1,31 @@
+# this is an SCons build specification file
+
+env =3D Environment(CPPDEFINES =3D {'HAVE_STDINT_H' : None,
+ 'PACKAGE' : '\\"jbig2dec\\"',
+ 'VERSION' : '\\"0.8\\"'})
+
+lib_sources =3D Split("""jbig2.c=20
+ jbig2_arith.c jbig2_arith_int.c jbig2_arith_iaid.c=20
+ jbig2_huffman.c jbig2_metadata.c
+ jbig2_segment.c jbig2_page.c=20
+ jbig2_symbol_dict.c jbig2_text.c=20
+ jbig2_generic.c jbig2_refinement.c jbig2_mmr.c=20
+ jbig2_image.c jbig2_image_pbm.c""")
+
+lib_headers =3D Split("""
+ os_types.h config_types.h config_win32.h=20
+ jbig2.h jbig2_priv.h jbig2_image.h=20
+ jbig2_arith.h jbig2_arith_iaid.h jbig2_arith_int.h=20
+ jbig2_huffman.h jbig2_hufftab.h jbig2_mmr.h=20
+ jbig2_generic.h jbig2_symbol_dict.h=20
+ jbig2_metadata.h""")
+
+env.Library('jbig2dec', lib_sources)
+
+jbig2dec_sources =3D Split("""jbig2dec.c sha1.c""")
+
+jbig2dec_headers =3D Split(""" sha1.h=20
+ jbig2.h jbig2_image.h getopt.h=20
+ os_types.h config_types.h config_win32.h""")
+
+env.Program('jbig2dec', jbig2dec_sources, LIBS=3D['jbig2dec'], LIBPATH=3D=
'.')