comparison spandsp-0.0.6pre17/test-data/itu/fax/Makefile.am @ 4:26cd8f1ef0b1

import spandsp-0.0.6pre17
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 15:50:58 +0200
parents
children
comparison
equal deleted inserted replaced
3:c6c5a16ce2f2 4:26cd8f1ef0b1
1 ##
2 ## SpanDSP - a series of DSP components for telephony
3 ##
4 ## Makefile.am - Process this file with automake to produce Makefile.in
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License version 2, as
8 ## as published by the Free Software Foundation.
9 ##
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ## GNU General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU General Public License
16 ## License along with this program; if not, write to the Free Software
17 ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 ##
19 ## $Id: Makefile.am,v 1.5 2009/02/25 17:52:52 steveu Exp $
20
21 AM_CFLAGS = $(COMP_VENDOR_CFLAGS)
22 AM_LDFLAGS = $(COMP_VENDOR_LDFLAGS)
23
24 PBM2G3 = pbmtog3
25 FAX2TIFF = fax2tiff
26 TIFFCP = tiffcp
27
28 ITU_TEST_PAGES_PBM = itu1.pbm \
29 itu2.pbm \
30 itu3.pbm \
31 itu4.pbm \
32 itu5.pbm \
33 itu6.pbm \
34 itu7.pbm \
35 itu8.pbm \
36 test1.pbm \
37 test2.pbm \
38 test3.pbm \
39 test4.pbm
40
41 ITU_TEST_PAGES_G3 = itu1.g3 \
42 itu2.g3 \
43 itu3.g3 \
44 itu4.g3 \
45 itu5.g3 \
46 itu6.g3 \
47 itu7.g3 \
48 itu8.g3 \
49 test1.g3 \
50 test2.g3 \
51 test3.g3 \
52 test4.g3
53
54 ITU_TEST_PAGES = itu1.tif \
55 itu2.tif \
56 itu3.tif \
57 itu4.tif \
58 itu5.tif \
59 itu6.tif \
60 itu7.tif \
61 itu8.tif \
62 test1.tif \
63 test2.tif \
64 test3.tif \
65 test4.tif
66
67 MIXED_SIZE_PAGES = R1200_1200_A4.tif \
68 R1200_1200_B4.tif \
69 R1200_1200_A3.tif \
70 R600_1200_A4.tif \
71 R600_1200_B4.tif \
72 R600_1200_A3.tif \
73 R600_600_A4.tif \
74 R600_600_B4.tif \
75 R600_600_A3.tif \
76 R16_800_A4.tif \
77 R16_800_B4.tif \
78 R16_800_A3.tif \
79 R16_154_A4.tif \
80 R16_154_B4.tif \
81 R16_154_A3.tif \
82 R300_600_A4.tif \
83 R300_600_B4.tif \
84 R300_600_A3.tif \
85 R300_300_A4.tif \
86 R300_300_B4.tif \
87 R300_300_A3.tif \
88 R8_154_A4.tif \
89 R8_154_B4.tif \
90 R8_154_A3.tif \
91 R8_77_A4.tif \
92 R8_77_B4.tif \
93 R8_77_A3.tif \
94 R8_385_A4.tif \
95 R8_385_B4.tif \
96 R8_385_A3.tif
97
98 EXTRA_DIST = ${ITU_TEST_PAGES_PBM}
99
100 MAINTAINERCLEANFILES = Makefile.in
101
102 nobase_data_DATA = itutests.tif \
103 ${ITU_TEST_PAGES} \
104 dithered.tif \
105 100pages.tif \
106 ${MIXED_SIZE_PAGES} \
107 mixed_size_pages.tif
108
109 noinst_PROGRAMS = generate_dithered_tif \
110 generate_sized_pages
111
112 generate_dithered_tif_SOURCES = generate_dithered_tif.c
113 generate_dithered_tif_LDADD = -ltiff
114
115 generate_sized_pages_SOURCES = generate_sized_pages.c
116 generate_sized_pages_LDADD = -ltiff
117
118 clean:
119 rm -f *.tif *.g3
120
121 itutests.tif: ${ITU_TEST_PAGES_G3}
122 $(FAX2TIFF) -M -o $@ ${ITU_TEST_PAGES_G3}
123
124 100pages.tif: ${ITU_TEST_PAGES_G3}
125 $(FAX2TIFF) -M -o $@ \
126 ${ITU_TEST_PAGES_G3} \
127 ${ITU_TEST_PAGES_G3} \
128 ${ITU_TEST_PAGES_G3} \
129 ${ITU_TEST_PAGES_G3} \
130 ${ITU_TEST_PAGES_G3} \
131 ${ITU_TEST_PAGES_G3} \
132 ${ITU_TEST_PAGES_G3} \
133 ${ITU_TEST_PAGES_G3} \
134 itu1.g3 itu2.g3 itu3.g3 itu4.g3
135
136 .g3.tif:
137 ${FAX2TIFF} -M -o $*.tif $*.g3
138
139 .pbm.g3:
140 ${PBM2G3} $*.pbm >$*.g3
141
142 dithered.tif: generate_dithered_tif$(EXEEXT)
143 ./generate_dithered_tif$(EXEEXT)
144
145 ${MIXED_SIZE_PAGES}: generate_sized_pages$(EXEEXT)
146 ./generate_sized_pages$(EXEEXT)
147
148 mixed_size_pages.tif: ${MIXED_SIZE_PAGES}
149 $(TIFFCP) ${MIXED_SIZE_PAGES} $@

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.