diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2006-11-20 14:43:48 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2006-11-20 14:43:48 +0000 |
commit | 5952e40b396499c0cd62bdbcf1853538873b76c1 (patch) | |
tree | 968b37e966ba1825e2de091a071774af1a7ffa9b /Build/source/texk/web2c/metapost.mk | |
parent | 9fcf4d90b8b3a11712287d4ddf3fd47614a7ea68 (diff) |
Metapost 0.99 sources, except dmp
git-svn-id: svn://tug.org/texlive/trunk@2470 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/metapost.mk')
-rw-r--r-- | Build/source/texk/web2c/metapost.mk | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/metapost.mk b/Build/source/texk/web2c/metapost.mk index 1ea6157b228..0f3b9f164f1 100644 --- a/Build/source/texk/web2c/metapost.mk +++ b/Build/source/texk/web2c/metapost.mk @@ -7,7 +7,8 @@ Makefile: metapost.mk -mpost = mpost +metapost = mpost dvitomp +mpostdir = mpdir # mpware is the subdirectory. mpware = mpware @@ -17,10 +18,16 @@ mpware_sources = mpware/dmp.c mpware/makempx.in mpware/mpto.c mpware/newer.c # mpost mp_c = mpini.c mp0.c mp1.c mp2.c -mp_o = mpini.o mp0.o mp1.o mp2.o mpextra.o -mpost: $(mp_o) - $(kpathsea_link) $(mp_o) $(LOADLIBES) -$(mp_c) mpcoerce.h mpd.h: mp.p $(web2c_texmf) web2c/cvtmf1.sed web2c/cvtmf2.sed +mp_o = mpini.o mp0.o mp1.o mp2.o mpextra.o loadpool.o + +# this will break cross-compiles, but i dont know how to fix. +# -- Taco +loadpool.c: mp.pool $(mpostdir)/makecpool + ./$(mpostdir)/makecpool mp.pool mpdir/mplib.h > loadpool.c + +mpost: $(mp_o) $(mpostlibsdep) + $(kpathsea_link) $(mp_o) $(mpostlibs) $(LOADLIBES) +$(mp_c) mpcoerce.h mpd.h: mp.p $(web2c_texmf) $(srcdir)/$(mpostdir)/mp.defines web2c/cvtmf1.sed web2c/cvtmf2.sed $(web2c) mp mpextra.c: lib/texmfmp.c sed s/TEX-OR-MF-OR-MP/mp/ $(srcdir)/lib/texmfmp.c >$@ |