summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegaware/am/omegaware.am
blob: 800ac8bc6278e5229256c37a79244bcc2669a84b (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
## texk/web2c/omegaware/am/omegaware.am: Makefile fragment for omegaware web programs.
##
## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.

omegaware_tools = odvicopy odvitype otangle
omegaware_font_tools = ofm2opl opl2ofm ovf2ovp ovp2ovf
omegaware_programs = $(omegaware_tools) $(omegaware_font_tools)

if OTANGLE
bin_PROGRAMS += $(omegaware_tools)
if !OMFONTS
bin_PROGRAMS += $(omegaware_font_tools)
endif !OMFONTS
endif OTANGLE
EXTRA_PROGRAMS += $(omegaware_programs)

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

ow_tangle = WEBINPUTS=$(srcdir)/omegaware $(buildenv) $(TANGLE)

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

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

nodist_ofm2opl_SOURCES = ofm2opl.c ofm2opl.h
ofm2opl.c ofm2opl.h: ofm2opl-web2c
ofm2opl-web2c: $(web2c_depend) ofm2opl.p
	$(web2c) ofm2opl
	echo timestamp >$@
	touch ofm2opl.c ofm2opl.h
EXTRA_DIST += $(ofm2opl_sources)
ofm2opl_sources = omegaware/ofm2opl.web omegaware/ofm2opl.ch
ofm2opl.p: tangle$(EXEEXT) $(ofm2opl_sources)
	$(ow_tangle) ofm2opl ofm2opl

nodist_opl2ofm_SOURCES = opl2ofm.c opl2ofm.h
opl2ofm.c opl2ofm.h: opl2ofm-web2c
opl2ofm-web2c: $(web2c_depend) opl2ofm.p
	$(web2c) opl2ofm
	echo timestamp >$@
	touch opl2ofm.c opl2ofm.h
EXTRA_DIST += $(opl2ofm_sources)
opl2ofm_sources = omegaware/opl2ofm.web omegaware/opl2ofm.ch
opl2ofm.p: tangle$(EXEEXT) $(opl2ofm_sources)
	$(ow_tangle) opl2ofm opl2ofm

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

nodist_ovf2ovp_SOURCES = ovf2ovp.c ovf2ovp.h
ovf2ovp.c ovf2ovp.h: ovf2ovp-web2c
ovf2ovp-web2c: $(web2c_depend) ovf2ovp.p
	$(web2c) ovf2ovp
	echo timestamp >$@
	touch ovf2ovp.c ovf2ovp.h
EXTRA_DIST += $(ovf2ovp_sources)
ovf2ovp_sources = omegaware/ovf2ovp.web omegaware/ovf2ovp.ch
ovf2ovp.p: tangle$(EXEEXT) $(ovf2ovp_sources)
	$(ow_tangle) ovf2ovp ovf2ovp

nodist_ovp2ovf_SOURCES = ovp2ovf.c ovp2ovf.h
ovp2ovf.c ovp2ovf.h: ovp2ovf-web2c
ovp2ovf-web2c: $(web2c_depend) ovp2ovf.p
	$(web2c) ovp2ovf
	echo timestamp >$@
	touch ovp2ovf.c ovp2ovf.h
EXTRA_DIST += $(ovp2ovf_sources)
ovp2ovf_sources = omegaware/ovp2ovf.web omegaware/ovp2ovf.ch
ovp2ovf.p: tangle$(EXEEXT) $(ovp2ovf_sources)
	$(ow_tangle) ovp2ovf ovp2ovf

## Tests
##
EXTRA_DIST += omegaware/level1.test omegaware/omfonts.test \
	omegaware/otangle.test omegaware/specialhex.test

if OTANGLE
TESTS += omegaware/otangle.test
if !OMFONTS
TESTS += omegaware/level1.test omegaware/omfonts.test omegaware/specialhex.test
endif !OMFONTS
endif OTANGLE

## omegaware/level1.test
DISTCLEANFILES += tests/xlevel1.ofm tests/xlevel1.opl
## omegaware/omfonts.test
DISTCLEANFILES += tests/Cherokee.tfm tests/OCherokee.ofm \
	tests/OCherokee.opl tests/OCherokee.ovf \
	tests/xCherokee.pl tests/xOCherokee.ofm \
	tests/xOCherokee.opl tests/xOCherokee.ovp
## omegaware/otangle.test
DISTCLEANFILES += cftest.p
## omegaware/specialhex.test
DISTCLEANFILES += tests/specialhex.ofm tests/specialhex.opl \
	tests/specialhex.ovf tests/xspecialhex.ofm \
	tests/xspecialhex.opl tests/xspecialhex.ovp