1## process this file with automake to generate Makefile.in
2
3# require automake 1.7
4AUTOMAKE_OPTIONS = foreign 1.7 dist-bzip2 dist-zip -Wall
5
6ACLOCAL_AMFLAGS = -I m4
7
8lib_LTLIBRARIES = libjbig2dec.la
9include_HEADERS = jbig2.h
10
11AM_CFLAGS = $(XCFLAGS)
12
13libjbig2dec_la_LDFLAGS = -version-info @JBIG2DEC_LT_CURRENT@:@JBIG2DEC_LT_REVISION@:@JBIG2DEC_LT_AGE@ -no-undefined
14libjbig2dec_la_SOURCES = jbig2.c \
15	jbig2_arith.c jbig2_arith_int.c jbig2_arith_iaid.c jbig2_huffman.c jbig2_hufftab.c \
16	jbig2_segment.c jbig2_page.c \
17	jbig2_symbol_dict.c jbig2_text.c \
18	jbig2_generic.c jbig2_refinement.c jbig2_mmr.c \
19	jbig2_halftone.c \
20	jbig2_image.c jbig2_image_pbm.c \
21	os_types.h config_types.h config_win32.h \
22	jbig2.h jbig2_priv.h jbig2_image.h \
23	jbig2_arith.h jbig2_arith_iaid.h jbig2_arith_int.h \
24	jbig2_huffman.h jbig2_hufftab.h jbig2_mmr.h \
25	jbig2_generic.h jbig2_symbol_dict.h jbig2_text.h \
26	memento.c memento.h
27
28bin_PROGRAMS = jbig2dec
29noinst_PROGRAMS = test_sha1 test_huffman test_arith
30
31jbig2dec_SOURCES = jbig2dec.c sha1.c sha1.h \
32	jbig2.h jbig2_image.h getopt.h \
33	os_types.h config_types.h config_win32.h
34jbig2dec_LDADD = libjbig2dec.la @LIBOBJS@ $(PNG_LIBS)
35
36pkgconfigdir = $(libdir)/pkgconfig
37pkgconfig_DATA = jbig2dec.pc
38
39dist_man_MANS = jbig2dec.1
40
41EXTRA_DIST = test_jbig2dec.py msvc.mak LICENSE CHANGES
42
43MAINTAINERCLEANFILES = config_types.h.in
44
45TESTS = test_sha1 test_jbig2dec.py test_huffman test_arith
46
47test_sha1_SOURCES = sha1.c sha1.h
48test_sha1_CFLAGS = -DTEST
49
50test_arith_SOURCES = jbig2_arith.c
51test_arith_CFLAGS = -DTEST
52test_arith_LDADD = libjbig2dec.la
53
54test_huffman_SOURCES = jbig2_huffman.c
55test_huffman_CFLAGS = -DTEST
56test_huffman_LDADD = libjbig2dec.la
57
58