summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegaware/am/omegaware.am
blob: b1a8aa0ee376b16a214f4b9f1e09658790390551 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
## texk/web2c/omegaware/am/omegaware.am: Makefile fragment for omegaware web programs.
##
## Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.

omegaware_programs = odvicopy odvitype otangle wofm2opl wopl2ofm wovf2ovp wovp2ovf

if OTANGLE
bin_PROGRAMS += $(omegaware_programs)
endif OTANGLE
EXTRA_PROGRAMS += $(omegaware_programs)

EXTRA_DIST += omegaware/README omegaware/ChangeLog
DISTCLEANFILES += $(omegaware_programs:=.c) $(omegaware_programs:=.h) \
	$(omegaware_programs:=.p) $(omegaware_programs:=-web2c)

ow_tangle = WEBINPUTS=$(srcdir)/omegaware $(buildenv) $(TANGLE)
ow_otangle = WEBINPUTS=.:$(srcdir)/omegaware $(buildenv) $(OTANGLE)

nodist_odvicopy_SOURCES = odvicopy.c odvicopy.h
odvicopy.c odvicopy.h: odvicopy-web2c
	@$(web2c) odvicopy
odvicopy-web2c: odvicopy.p $(web2c_depend)
	@$(web2c) odvicopy
EXTRA_DIST += $(odvicopy_sources)
odvicopy_sources = omegaware/odvicopy.web omegaware/odvicopy.ch
odvicopy.p: tangle$(EXEEXT) $(odvicopy_sources)
	$(tangle_silent)$(ow_tangle) odvicopy odvicopy

nodist_odvitype_SOURCES = odvitype.c odvitype.h
odvitype.c odvitype.h: odvitype-web2c
	@$(web2c) odvitype
odvitype-web2c: odvitype.p $(web2c_depend)
	@$(web2c) odvitype
EXTRA_DIST += $(odvitype_sources)
odvitype_sources = omegaware/odvitype.web omegaware/odvitype.ch
odvitype.p: tangle$(EXEEXT) $(odvitype_sources)
	$(tangle_silent)$(ow_tangle) odvitype odvitype

nodist_wofm2opl_SOURCES = ofm2opl.c ofm2opl.h
ofm2opl.c ofm2opl.h: ofm2opl-web2c
	@$(web2c) ofm2opl
ofm2opl-web2c: ofm2opl.p $(web2c_depend)
	@$(web2c) ofm2opl
ofm2opl.p: otangle$(EXEEXT) ofm2opl.web omegaware/ofm2opl.ch
	$(tangle_silent)$(ow_otangle) ofm2opl ofm2opl
ofm2opl.web: tie$(EXEEXT) omegaware/ofm2opl.web omegaware/ofm2opl.up
	$(tie_m) omegaware/ofm2opl.web omegaware/ofm2opl.up
EXTRA_DIST += omegaware/ofm2opl.web omegaware/ofm2opl.up omegaware/ofm2opl.ch
DISTCLEANFILES += ofm2opl.web

nodist_wopl2ofm_SOURCES = opl2ofm.c opl2ofm.h
opl2ofm.c opl2ofm.h: opl2ofm-web2c
	@$(web2c) opl2ofm
opl2ofm-web2c: opl2ofm.p $(web2c_depend)
	@$(web2c) opl2ofm
opl2ofm.p: otangle$(EXEEXT) opl2ofm.web omegaware/opl2ofm.ch
	$(tangle_silent)$(ow_otangle) opl2ofm opl2ofm
opl2ofm.web: tie$(EXEEXT) omegaware/opl2ofm.web omegaware/opl2ofm.up
	$(tie_m) omegaware/opl2ofm.web omegaware/opl2ofm.up
EXTRA_DIST += omegaware/opl2ofm.web omegaware/opl2ofm.up omegaware/opl2ofm.ch
DISTCLEANFILES += opl2ofm.web

nodist_otangle_SOURCES = otangle.c otangle.h
otangle.c otangle.h: otangle-web2c
	@$(web2c) otangle
otangle-web2c: otangle.p $(web2c_depend)
	@$(web2c) otangle
EXTRA_DIST += $(otangle_sources)
otangle_sources = omegaware/otangle.web omegaware/otangle.ch
otangle.p: tangle$(EXEEXT) $(otangle_sources)
	$(tangle_silent)$(ow_tangle) otangle otangle

nodist_wovf2ovp_SOURCES = ovf2ovp.c ovf2ovp.h
ovf2ovp.c ovf2ovp.h: ovf2ovp-web2c
	@$(web2c) ovf2ovp
ovf2ovp-web2c: ovf2ovp.p $(web2c_depend)
	@$(web2c) ovf2ovp
ovf2ovp.p: otangle$(EXEEXT) ovf2ovp.web omegaware/ovf2ovp.ch
	$(tangle_silent)$(ow_otangle) ovf2ovp ovf2ovp
ovf2ovp.web: tie$(EXEEXT) omegaware/ovf2ovp.web omegaware/ovf2ovp.up
	$(tie_m) omegaware/ovf2ovp.web omegaware/ovf2ovp.up
EXTRA_DIST += omegaware/ovf2ovp.web omegaware/ovf2ovp.up omegaware/ovf2ovp.ch
DISTCLEANFILES += ovf2ovp.web
	
nodist_wovp2ovf_SOURCES = ovp2ovf.c ovp2ovf.h
ovp2ovf.c ovp2ovf.h: ovp2ovf-web2c
	@$(web2c) ovp2ovf
ovp2ovf-web2c: ovp2ovf.p $(web2c_depend)
	@$(web2c) ovp2ovf
ovp2ovf.p: otangle$(EXEEXT) ovp2ovf.web omegaware/ovp2ovf.ch
	$(tangle_silent)$(ow_otangle) ovp2ovf ovp2ovf
ovp2ovf.web: tie$(EXEEXT) omegaware/ovp2ovf.web omegaware/ovp2ovf.up
	$(tie_m) omegaware/ovp2ovf.web omegaware/ovp2ovf.up
EXTRA_DIST += omegaware/ovp2ovf.web omegaware/ovp2ovf.up omegaware/ovp2ovf.ch
DISTCLEANFILES += ovp2ovf.web

## Tests
##
OTANGLE_tests = omegaware/odvicopy.test omegaware/odvitype.test \
	omegaware/otangle.test
omegaware/odvicopy.log: odvicopy$(EXEEXT) odvitype$(EXEEXT)
omegaware/odvitype.log: odvitype$(EXEEXT)
omegaware/odvitype.log: odvitype$(EXEEXT)
OMFONTS_tests = omegaware/bad.test omegaware/charwd.test \
	omegaware/check.test omegaware/help.test \
	omegaware/level1.test omegaware/ligkern.test \
	omegaware/ofonts.test omegaware/omfonts.test \
	omegaware/overbmp.test omegaware/realnum.test \
	omegaware/repeat.test omegaware/selectfont.test \
	omegaware/shorten.test omegaware/specialhex.test \
	omegaware/version.test omegaware/vrepeat.test \
	omegaware/yannis.test
omegaware/bad.log omegaware/charwd.log omegaware/help.log omegaware/overbmp.log omegaware/repeat.log \
	omegaware/selectfont.log omegaware/specialhex.log omegaware/version.log omegaware/vrepeat.log: \
	wofm2opl$(EXEEXT) wopl2ofm$(EXEEXT) wovf2ovp$(EXEEXT) wovp2ovf$(EXEEXT)
omegaware/check.log omegaware/level1.log omegaware/realnum.log: wofm2opl$(EXEEXT) wopl2ofm$(EXEEXT)
omegaware/ligkern.log: wofm2opl$(EXEEXT) wopl2ofm$(EXEEXT) wovp2ovf$(EXEEXT)
omegaware/omfonts.log: wofm2opl$(EXEEXT) wopl2ofm$(EXEEXT) wovf2ovp$(EXEEXT) wovp2ovf$(EXEEXT) pltotf$(EXEEXT) tftopl$(EXEEXT)
omegaware/shorten.log: wofm2opl$(EXEEXT) wopl2ofm$(EXEEXT) pltotf$(EXEEXT)
omegaware/yannis.log: wofm2opl$(EXEEXT) wopl2ofm$(EXEEXT) wovf2ovp$(EXEEXT) wovp2ovf$(EXEEXT) pltotf$(EXEEXT)
EXTRA_DIST += $(OTANGLE_tests) $(OMFONTS_tests)

if OTANGLE
TESTS += $(OTANGLE_tests) $(OMFONTS_tests)
endif OTANGLE

## omegaware/bad.test
EXTRA_DIST += \
	omegaware/tests/badofm.ofm omegaware/tests/badopl.opl \
	omegaware/tests/badovf.ofm omegaware/tests/badovf.ovf omegaware/tests/badovp.ovp
DISTCLEANFILES += omegaware/bad*.*
## omegaware/charwd.test
EXTRA_DIST += omegaware/tests/charwd-r.pl omegaware/tests/charwd-v.vpl
DISTCLEANFILES += omegaware/tests/charwdr.* omegaware/tests/charwdv.*
## omegaware/check.test
EXTRA_DIST += \
	omegaware/tests/check.ofm omegaware/tests/check.opl omegaware/tests/checked.opl
DISTCLEANFILES += omegaware/tests/xcheck*
## omegaware/level1.test
EXTRA_DIST += omegaware/tests/level1.opl
DISTCLEANFILES += omegaware/tests/xlevel1.*
## omegaware/ligkern.test
EXTRA_DIST += \
	omegaware/tests/ligall.opl omegaware/tests/ligbch.opl omegaware/tests/ligbdy.opl \
	omegaware/tests/ligblb.opl omegaware/tests/ligblv.opl omegaware/tests/ligblv.ovp \
	omegaware/tests/ligloop1.ofm omegaware/tests/ligloop1.opl omegaware/tests/ligloop2.opl \
	omegaware/tests/liguse.opl omegaware/tests/liguse1.opl omegaware/tests/liguse2.opl
DISTCLEANFILES += omegaware/tests/xlig*.*
## omegaware/odvicopy.test (and ofonts.test)
EXTRA_DIST += \
	omegaware/tests/ofontd1.dvi omegaware/tests/ofontd1.typ \
	omegaware/tests/ofontd2.dvi omegaware/tests/ofontd2.typ \
	omegaware/tests/ofontd3.dvi omegaware/tests/ofontd3.typ \
	omegaware/tests/ofontr1.vf omegaware/tests/ofontr2.ovf \
	omegaware/tests/ofontr3.ovf omegaware/tests/ofontv4.vf \
	omegaware/tests/ofontv5.ovf omegaware/tests/ofontv6.ovf
DISTCLEANFILES += ofont*vf omegaware/tests/xpagenum.*
## omegaware/odvitype.test (and odvicopy.test, ofonts.test)
omegaware/odvitype.log: odvitype$(EXEEXT)
EXTRA_DIST += omegaware/tests/ofontd0.dtl omegaware/tests/ofontd0.dvi \
	omegaware/tests/ofontd0.typ omegaware/tests/ofontr0.tfm \
	omegaware/tests/ofontr1.tfm omegaware/tests/ofontr2.ofm \
	omegaware/tests/ofontr3.ofm omegaware/tests/ofontv4.tfm \
	omegaware/tests/ofontv5.ofm omegaware/tests/ofontv6.ofm
DISTCLEANFILES += omegaware/tests/xofont*
## omegaware/ofonts.test
EXTRA_DIST += omegaware/tests/ofontr0.pl \
	omegaware/tests/ofontr1.pl omegaware/tests/ofontr1.vpl \
	omegaware/tests/ofontr2.opl omegaware/tests/ofontr2.ovp \
	omegaware/tests/ofontr3.opl omegaware/tests/ofontr3.ovp \
	omegaware/tests/ofontv4.pl omegaware/tests/ofontv4.vpl \
	omegaware/tests/ofontv5.opl omegaware/tests/ofontv5.ovp \
	omegaware/tests/ofontv6.opl omegaware/tests/ofontv6.ovp
## omegaware/omfonts.test
EXTRA_DIST += omegaware/tests/Cherokee.pl omegaware/tests/OCherokee.ovp
DISTCLEANFILES += omegaware/tests/Cherokee.tfm omegaware/tests/OCherokee.ofm \
	omegaware/tests/OCherokee.opl omegaware/tests/OCherokee.ovf \
	omegaware/tests/xCherokee.* omegaware/tests/xOCherokee.*
## omegaware/otangle.test
omegaware/otangle.log: otangle$(EXEEXT)
DISTCLEANFILES += ocftest.*
## omegaware/overbmp.test
EXTRA_DIST += omegaware/tests/inbmp.opl omegaware/tests/overbmp.opl \
	omegaware/tests/overbmp.ovp
DISTCLEANFILES += omegaware/tests/xinbmp* omegaware/tests/xoverbmp*
## omegaware/realnum.test
EXTRA_DIST += omegaware/tests/realnum.opl omegaware/tests/realnum.out
DISTCLEANFILES += omegaware/tests/xrealnum.*
## omegaware/repeat.test
EXTRA_DIST += omegaware/tests/repeat.opl omegaware/tests/repeated.opl
DISTCLEANFILES += omegaware/tests/xrepeated.*
## omegaware/selectfont.test
EXTRA_DIST += omegaware/tests/sample.out omegaware/tests/sample.ovp \
	omegaware/tests/sample0-h.opl
DISTCLEANFILES += omegaware/tests/sample*.ofm omegaware/tests/sample*.ovf \
	omegaware/tests/sample1-h.opl omegaware/tests/xsample*.out
## omegaware/shorten.test
EXTRA_DIST += omegaware/tests/shorten.opl
DISTCLEANFILES += omegaware/tests/shortend.*
## omegaware/specialhex.test
EXTRA_DIST += omegaware/tests/specialhex.ovp
DISTCLEANFILES += omegaware/tests/specialhex.ofm omegaware/tests/specialhex.opl \
	omegaware/tests/specialhex.ovf omegaware/tests/xspecialhex.*
## omegaware/vrepeat.test
EXTRA_DIST += \
	omegaware/tests/vrepeat0.ofm omegaware/tests/vrepeat0.opl \
	omegaware/tests/vrepeat1.ofm omegaware/tests/vrepeat1.opl \
	omegaware/tests/vrepeat1.ovf omegaware/tests/vrepeat1.ovp
DISTCLEANFILES += omegaware/tests/yrepeat*
## omegaware/yannis.test
EXTRA_DIST += \
	omegaware/tests/arabicr.pl omegaware/tests/arabic.ovp
DISTCLEANFILES += omegaware/tests/*yarabic*