blob: 7a32101c2c19d4c24d514596495fc83f4e2566b4 (
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
|
## $Id$
## texk/web2c/alephdir/am/aleph.am: Makefile fragment for Aleph.
##
## Copyright 2015-2025 Karl Berry <tex-live@tug.org>
## Copyright 2009-2015 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
## Aleph
##
if ALEPH
bin_PROGRAMS += aleph
endif ALEPH
EXTRA_PROGRAMS += aleph
al_tangle = WEBINPUTS=.:$(srcdir) AM_V_P=$(AM_V_P) $(SHELL) ./tangle-sh $@ $(OTANGLE)
# With --enable-ipc, Aleph may need to link with -lsocket.
aleph_LDADD = $(LDADD) $(ipc_socketlibs)
aleph_CPPFLAGS = -I$(srcdir)/alephdir $(AM_CPPFLAGS)
# Aleph C sources
aleph_c_h = alephini.c aleph0.c alephcoerce.h alephd.h
nodist_aleph_SOURCES = $(aleph_c_h) aleph-pool.c
dist_aleph_SOURCES = \
alephdir/aleph.c \
alephdir/alephbis.c \
alephdir/alephextra.c \
alephdir/alephextra.h \
alephdir/alephmem.h
# We must create alephd.h before building the aleph_OBJECTS.
$(aleph_OBJECTS): alephd.h
$(aleph_c_h): aleph-web2c
@$(web2c) aleph
aleph-web2c: aleph.p $(web2c_texmf) alephdir/aleph.defines
@$(web2c) aleph
aleph-pool.c: aleph.pool alephd.h $(makecpool_stamp)
$(makecpool) aleph >$@ || { rm -f $@; exit 1; }
# Tangling Aleph
aleph.p aleph.pool: aleph-tangle
$(al_tangle) aleph aleph
aleph-tangle: otangle$(EXEEXT) aleph.web aleph.ch tangle-sh
$(al_tangle) aleph aleph
# Generate aleph.web
aleph_web_srcs = \
tex.web \
alephdir/om16bit.ch \
alephdir/omstr.ch \
alephdir/omfont.ch \
alephdir/omchar.ch \
alephdir/omfi.ch \
alephdir/ompar.ch \
alephdir/omocp.ch \
alephdir/omfilter.ch \
alephdir/omtrans.ch \
alephdir/omdir.ch \
alephdir/eobase.ch \
alephdir/eofmt.ch \
alephdir/eomem.ch \
alephdir/eo16bit.ch \
alephdir/eoext.ch \
alephdir/eoeqtb.ch \
alephdir/eofix.ch \
alephdir/eocprt.ch \
alephdir/eonewdir.ch \
alephdir/eover.ch \
alephdir/eopage.ch \
alephdir/eochar.ch \
alephdir/latespecial.ch
aleph.web: tie$(EXEEXT) $(aleph_web_srcs)
$(tie_m) $(aleph_web_srcs)
# Generate aleph.ch
aleph_ch_srcs = \
alephdir/com16bit.ch \
alephdir/comstr.ch \
alephdir/comfont.ch \
alephdir/comchar.ch \
alephdir/comfi.ch \
alephdir/compar.ch \
alephdir/comocp.ch \
alephdir/comfilter.ch \
alephdir/comtrans.ch \
alephdir/comdir.ch \
alephdir/comsrcspec.ch \
alephdir/ceostuff.ch
aleph.ch: tie$(EXEEXT) aleph.web $(aleph_ch_srcs)
$(tie_c) aleph.web $(aleph_ch_srcs)
##
EXTRA_DIST += $(aleph_web_srcs) $(aleph_ch_srcs)
DISTCLEANFILES += $(nodist_aleph_SOURCES) aleph.web aleph.ch aleph-web2c \
aleph.p aleph.pool aleph-tangle
EXTRA_DIST += \
alephdir/ChangeLog \
alephdir/aleph.defines \
alephdir/aleph.version
# Aleph Tests
#
aleph_tests = alephdir/aleph.test \
alephdir/aleph-ofm.test alephdir/aleph-lmr.test \
alephdir/aleph-cat.test
alephdir/aleph.log \
alephdir/aleph-ofm.log alephdir/aleph-lmr.log \
alephdir/aleph-cat.log \
: aleph$(EXEEXT)
EXTRA_DIST += $(aleph_tests)
## alephdir/aleph-ofm.test
EXTRA_DIST += alephdir/tests/al-ofm.tex alephdir/tests/al-ofm.log
DISTCLEANFILES += al-ofm.*
## alephdir/aleph-lmr.test
EXTRA_DIST += alephdir/tests/lmr1.tex alephdir/tests/al-lmr1.log
DISTCLEANFILES += al-lmr*.*
## alephdir/aleph-cat.test
EXTRA_DIST += alephdir/tests/catcd.tex alephdir/tests/al-cat.log
DISTCLEANFILES += al-cat.*
if ALEPH
TESTS += $(aleph_tests)
endif ALEPH
# (end of aleph.am)
|