summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/web2c/Makefile.am
blob: f8c1b3ed4e286239384620ecee97737737048c20 (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
## Makefile.am for the TeX Live subdirectory texk/web2c/web2c/
##
## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
##
ACLOCAL_AMFLAGS = -I ../../../m4

INCLUDES =  -Inative -I$(srcdir)/native -I$(srcdir)/.. -I$(srcdir)/../..
AM_YFLAGS = -d -v
AM_CFLAGS = $(WARNING_CFLAGS)

noinst_PROGRAMS = web2c fixwrites splitup makecpool

## Include <kpathsea/c-auto.h> instead of <web2c/c-auto.h>
native/config.h: ../config.h
	sed -e 's,web2c/c-auto,kpathsea/c-auto,' $(srcdir)/../config.h >$@

noinst_HEADERS = coerce.h

dist_noinst_SCRIPTS = convert

dist_noinst_DATA = \
	common.defines \
	cvtbib.sed \
	cvtmf1.sed \
	cvtmf2.sed \
	mfmp.defines \
	texmf.defines

web2c_SOURCES = \
	native/config.h \
	web2c-parser.y \
	web2c-lexer.l \
	kps.c \
	main.c \
	web2c.h

DISTCLEANFILES = web2c-parser.output

fixwrites_SOURCES = \
	fixwrites.c \
	kps.c

splitup_SOURCES = \
	kps.c \
	splitup.c

makecpool_SOURCES = \
	makecpool.c

nodist_noinst_DATA = stamp-web2c stamp-fixwrites stamp-splitup stamp-makecpool

stamp-web2c: web2c$(EXEEXT)
	echo timestamp >$@

stamp-fixwrites: fixwrites$(EXEEXT)
	echo timestamp >$@

stamp-splitup: splitup$(EXEEXT)
	echo timestamp >$@

stamp-makecpool: makecpool$(EXEEXT)
	echo timestamp >$@

CLEANFILES = $(nodist_noinst_DATA)

## Obsolete ??
##
EXTRA_DIST = convert.bat