blob: 85d590e230eb834ee7d057ab7d8b34f25d08f39e (
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
|
## Makefile.am for the TeX Live subdirectory texk/web2c/web2c/
##
## Copyright (C) 2009-2013 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
##
ACLOCAL_AMFLAGS = -I ../../../m4
AM_CPPFLAGS = -I$(srcdir)/../..
AM_YFLAGS = -d -v
AM_CFLAGS = $(WARNING_CFLAGS)
noinst_PROGRAMS = web2c fixwrites splitup makecpool
noinst_LIBRARIES = libweb2c.a
BUILT_SOURCES = w2c/config.h
DISTCLEANFILES = w2c/config.h
# Don't include our <c-auto.h>.
w2c/config.h: ../w2c/config.h
@if test -f $@; then :; else \
trap 'rm -rf w2c.lock' 1 2 13 15; \
if mkdir w2c.lock 2>/dev/null; then \
$(MKDIR_P) w2c; \
if $(AM_V_P); then :; else echo " GEN $@"; fi; \
sed -e '/c-auto\.h>/d' $(srcdir)/../w2c/config.h >$@; \
rmdir w2c.lock; \
else \
while test -d w2c.lock; do sleep 1; done; \
fi; \
test -f $@; \
fi
noinst_HEADERS = coerce.h
dist_noinst_SCRIPTS = convert
dist_noinst_DATA = \
common.defines \
cvtbib.sed \
cvtmf1.sed \
cvtmf2.sed \
mfmp.defines \
texmf.defines
libweb2c_a_SOURCES = \
kps.c
$(libweb2c_a_OBJECTS): w2c/config.h
web2c_SOURCES = \
web2c-parser.y \
web2c-lexer.l \
main.c \
web2c.h
$(web2c_OBJECTS): web2c-parser.h stamp-lib
web2c_LDADD = -L. -lweb2c
DISTCLEANFILES += web2c-parser.output
fixwrites_SOURCES = \
fixwrites.c
$(fixwrites_OBJECTS): stamp-lib
fixwrites_LDADD = $(web2c_LDADD)
splitup_SOURCES = \
splitup.c
$(splitup_OBJECTS): stamp-lib
splitup_LDADD = $(web2c_LDADD)
makecpool_SOURCES = \
makecpool.c
nodist_noinst_DATA = stamp-lib stamp-web2c stamp-fixwrites stamp-splitup stamp-makecpool
stamp-lib:
@if test -f $@; then :; else \
trap 'rm -rf lib.lock' 1 2 13 15; \
if mkdir lib.lock 2>/dev/null; then \
$(MAKE) $(AM_MAKEFLAGS) libweb2c.a && echo timestamp >$@; \
rmdir lib.lock; \
else \
while test -d lib.lock; do sleep 1; done; \
fi; \
test -f $@; \
fi
stamp-web2c: web2c$(EXEEXT)
$(AM_V_at)echo timestamp >$@
stamp-fixwrites: fixwrites$(EXEEXT)
$(AM_V_at)echo timestamp >$@
stamp-splitup: splitup$(EXEEXT)
$(AM_V_at)echo timestamp >$@
stamp-makecpool: makecpool$(EXEEXT)
$(AM_V_at)echo timestamp >$@
CLEANFILES = $(nodist_noinst_DATA)
distclean-local:
rm -rf kpathsea w2c
|