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

## Rebuild libkpathsea
@KPATHSEA_RULE@

noinst_LIBRARIES = lib.a
if PTEX
noinst_LIBRARIES += libp.a
endif PTEX
EXTRA_LIBRARIES = libp.a

## We don't compile `texmfmp.c'; this file is included from 'texextra.c'
## for TeX, 'mfextra.c' for Metafont, ...
lib_a_SOURCES = \
	basechsuffix.c \
	chartostring.c \
	coredump.c \
	eofeoln.c \
	fprintreal.c \
	inputint.c \
	input2int.c \
	lib.h \
	main.c \
	openclose.c \
	printversion.c \
	setupvar.c \
	uexit.c \
	usage.c \
	version.c \
	zround.c

## Replacements for pTeX.
##
libp_a_CPPFLAGS = -DPTEX $(PTEXENC_INCLUDES) $(AM_CPPFLAGS)
libp_a_SOURCES = \
	openclose.c \
	printversion.c

## Not yet used
##
EXTRA_DIST = alloca.c