diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-17 21:41:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-17 21:41:51 +0000 |
commit | 487ca4806cc046076293cf6cc5fbba0db282bac7 (patch) | |
tree | 847b412ab5158dd7bdd7ed7e5a4cc3fbca94be32 /Build/source/texk/web2c/mpware/Makefile.in | |
parent | a3d3111bfe26b8e5f5bc6049dfb2a4ca2edc7881 (diff) |
texk 1
git-svn-id: svn://tug.org/texlive/trunk@1485 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/mpware/Makefile.in')
-rw-r--r-- | Build/source/texk/web2c/mpware/Makefile.in | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/mpware/Makefile.in b/Build/source/texk/web2c/mpware/Makefile.in new file mode 100644 index 00000000000..c110088a1ba --- /dev/null +++ b/Build/source/texk/web2c/mpware/Makefile.in @@ -0,0 +1,62 @@ +# Makefile for the MetaPost support programs. + +kpse_include ../make/paths.mk +kpse_include ../make/common.mk +kpse_include ../make/programs.mk +kpse_include kpathsea.mk + +proglib = ../lib/lib.a +programs = dmp mpto newer makempx + +default: all +all: $(programs) + +dmp: dmp.o $(kpathsea) + $(kpathsea_link) dmp.o $(LOADLIBES) +mpto: mpto.o + $(kpathsea_link) mpto.o +newer: newer.o + $(link_command) newer.o +makempx: makempx.in Makefile.in + sed -e 's,@BINDIR@,$(bindir),g' -e 's,@web2cver@,@WEB2CVERSION@,g' \ + <$(srcdir)/makempx.in >$@ + -chmod a+x $@ + +newer.o dmp.o: ../c-auto.h + +checkdir = $(srcdir)/../check +check: mpto makempx newer dmp + makempx $(checkdir)/label.mp ../check/xlabel.mpx + ./mpto -tex $(checkdir)/testex.mp | diff $(checkdir)/testex.tex - + sed '16s/^%//' <$(checkdir)/testex.mp >testex1 + -mpto -tex testex1 >/dev/null 2>testex2 + sed '17s/^%//' <$(checkdir)/testex.mp >testex1 + -mpto -tex testex1 >/dev/null 2>>testex2 + sed '18s/^%//' <$(checkdir)/testex.mp >testex1 + -mpto -tex testex1 >/dev/null 2>>testex2 + sed '19s/^%//' <$(checkdir)/testex.mp >testex1 + -mpto -tex testex1 >/dev/null 2>>testex2 + sed '20s/^%//' <$(checkdir)/testex.mp >testex1 + -mpto -tex testex1 >/dev/null 2>>testex2 + diff $(checkdir)/testex.err testex2 + +Makefile: Makefile.in ../config.status + cd .. && $(SHELL) config.status + +install: install-exec install-data +install-exec: $(programs) + $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) $(scriptdir) + $(INSTALL_PROGRAM) newer $(bindir)/newer + $(INSTALL_LIBTOOL_PROG) dmp $(bindir) + $(INSTALL_LIBTOOL_PROG) mpto $(bindir) + $(INSTALL_SCRIPT) makempx $(scriptdir)/makempx +install-data: + +kpse_include ../make/tkpathsea.mk +kpse_include ../make/clean.mk + +mostlyclean:: + rm -f testex1 testex2 + +kpse_include ../make/rdepend.mk +kpse_include mpware/depend.mk |