summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mpdir/mpostlib.mk
blob: 01d798b60bbafe77aeaacf6f6ca446297d19905e (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
## mpostlib.mk - Makefile fragment for libraries used by mpost
# Public domain.

# Include dependencies to get the built if we don't do make
# from the top-level directory.

Makefile: mpdir/mpostlib.mk

# libmpost 
mpostlib = mpdir/libmpost.a
mpostlib_sources = $(srcdir)/mpdir/*.c $(srcdir)/mpdir/*.h

mpdir/libmpost.a: $(mpostlib_sources)
	cd mpdir && $(MAKE) $(common_makeargs) libmpost.a

# makecpool

makecpool = mpdir/makecpool

mpdir/makecpool: mpdir/makecpool.c
	cd mpdir && $(MAKE) $(common_makeargs) makecpool

# Convenience variables.

mpostlibs = $(mpostlib)
mpostlibsdep = $(mpostlib) $(makecpool)

## end of mpostlib.mk - Makefile fragment for libraries used by mpost