ref: 28cc0cf46dc9455545631e54070edc2a8adc15e0
parent: 536620333aa7b752506626dce651ede08e2cdbc9
author: Chris Liddell <[email protected]>
date: Mon Aug 6 11:24:43 EDT 2012
Remove files for unsupported build tools.
--- a/Jamfile
+++ /dev/null
@@ -1,31 +1,0 @@
-# Build specification for the 'jam' tool
-
-OPTIM = -g -O2 ;
-CCFLAGS = -Wall ;
-
-# assume stdint.h and libpng are available, except on win32
-if $(OS) != NT {
- CCFLAGS += -Wall -DHAVE_STDINT_H -DHAVE_LIBPNG ;
- LINKLIBS += -lpng -lz ;
- Library libjbig2dec : jbig2_image_png.c ;
-}
-
-Library libjbig2dec :
- jbig2_arith.c jbig2_arith_int.c jbig2_arith_iaid.c jbig2_huffman.c
- jbig2_segment.c jbig2_page.c
- jbig2_symbol_dict.c jbig2_text.c
- jbig2_halftone.c
- jbig2_generic.c jbig2_refinement.c jbig2_mmr.c
- jbig2_image.c jbig2_image_pbm.c # jbig2_image_png.c
- jbig2_metadata.c
- jbig2.c
- ;
-
-Main jbig2dec : jbig2dec.c sha1.c ;
-
-LinkLibraries jbig2dec : libjbig2dec ;
-
-InstallBin $(BINDIR) : jbig2dec$(SUFEXE) ;
-InstallLib $(LIBDIR) : libjbig2dec$(SUFLIB) ;
-InstallFile $(LIBDIR)/../include : jbig2.h ;
-
--- a/SConstruct
+++ /dev/null
@@ -1,52 +1,0 @@
-# this is an SCons build specification file
-
-import os
-
-# try to get the version number from various local information
-version = os.popen('git describe --tags 2>/dev/null').read().strip()
-if not version:
- try:
- for line in open('CHANGES'):
- words = line.split()
- if len(words) > 1 and words[0].lower() == 'version':
- version = words[1]
- break
- except IOError:
- pass
-if not version:
- version = 'unknown-version'
-
-env = Environment(CPPDEFINES = {'HAVE_STDINT_H' : None,
- 'PACKAGE' : '\\"jbig2dec\\"',
- 'VERSION' : '\\"'+version+'\\"',
- 'JBIG2_DEBUG' : None,
- 'JBIG2_HALFTONE' : None})
-env.Append(CCFLAGS = ' -g -Wall')
-
-lib_sources = Split("""jbig2.c
- jbig2_arith.c jbig2_arith_int.c jbig2_arith_iaid.c
- jbig2_huffman.c jbig2_metadata.c
- jbig2_segment.c jbig2_page.c
- jbig2_symbol_dict.c jbig2_text.c
- jbig2_halftone.c
- jbig2_generic.c jbig2_refinement.c jbig2_mmr.c
- jbig2_image.c jbig2_image_pbm.c""")
-
-lib_headers = Split("""
- os_types.h config_types.h config_win32.h
- jbig2.h jbig2_priv.h jbig2_image.h
- jbig2_arith.h jbig2_arith_iaid.h jbig2_arith_int.h
- jbig2_huffman.h jbig2_hufftab.h jbig2_mmr.h
- jbig2_generic.h jbig2_symbol_dict.h
- jbig2_metadata.h""")
-
-env.Library('jbig2dec', lib_sources)
-
-jbig2dec_sources = Split("""jbig2dec.c sha1.c""")
-
-jbig2dec_headers = Split(""" sha1.h
- jbig2.h jbig2_image.h getopt.h
- os_types.h config_types.h config_win32.h""")
-
-env.Program('jbig2dec', jbig2dec_sources, LIBS=['jbig2dec'], LIBPATH='.')
-