## texk/web2c/euptexdir/am/euptex.am: Makefile fragment for e-upTeX. ## ## Copyright (C) 2011, 2012 Peter Breitenlohner ## You may freely use, modify and/or distribute this file. ## e-upTeX ## if EUPTEX bin_PROGRAMS += euptex endif EUPTEX EXTRA_PROGRAMS += euptex # e-upTeX Tests # euptex_tests = euptexdir/euptrip.test EXTRA_DIST += $(euptex_tests) euptex_CPPFLAGS = $(PTEXENC_INCLUDES) $(AM_CPPFLAGS) # With --enable-ipc, e-upTeX may need to link with -lsocket. euptex_LDADD = libukanji.a $(pproglib) $(PTEXENC_LIBS) $(LDADD) $(ipc_socketlibs) euptex_DEPENDENCIES = libukanji.a $(pproglib) $(PTEXENC_DEPEND) $(default_dependencies) # e-upTeX C sources euptex_c_h = euptexini.c euptex0.c euptexcoerce.h euptexd.h nodist_euptex_SOURCES = $(euptex_c_h) euptex-pool.c dist_euptex_SOURCES = euptexdir/euptexextra.c euptexdir/euptexextra.h # We must create euptexd.h and [eu]ptexdir/[eu]ptex_version.h before building the euptex_OBJECTS. euptex_prereq = euptexd.h etexdir/etex_version.h ptexdir/ptex_version.h \ eptexdir/eptex_version.h uptexdir/uptex_version.h $(euptex_OBJECTS): $(euptex_prereq) $(euptex_c_h): euptex-web2c @$(web2c) euptex euptex-web2c: euptex.p $(web2c_texmf) euptexdir/euptex.defines @$(web2c) euptex euptex-pool.c: euptex.pool euptexd.h $(makecpool_stamp) $(makecpool) euptex >$@ || rm -f $@ # Tangling e-upTeX euptex.p euptex.pool: euptex-tangle @$(texmf_tangle) euptex euptex euptex-tangle: tangle$(EXEEXT) euptex.web euptex.ch tangle-sh @$(texmf_tangle) euptex euptex # Generate euptex.web euptex.web: tie$(EXEEXT) $(euptex_web_srcs) $(tie) -m euptex.web $(euptex_web_srcs) euptex_web_srcs = \ tex.web \ etexdir/etex.ch \ etexdir/tex.ch0 \ tex.ch \ etexdir/tex.ech # Generate euptex.ch euptex.ch: tie$(EXEEXT) euptex.web $(euptex_ch_srcs) $(tie) -c euptex.ch euptex.web $(euptex_ch_srcs) euptex_ch_srcs = \ eptexdir/etex.ch0 \ ptexdir/ptex-base.ch \ uptexdir/uptex-m.ch \ euptexdir/euptex.ch0 \ eptexdir/eptex.ech \ euptexdir/euptex.ch1 \ eptexdir/etex.ch1 \ $(euptex_ch_synctex) \ euptexdir/fam256-eup-pre.ch \ eptexdir/fam256.ch \ euptexdir/fam256-eup-post.ch \ euptexdir/pdfstrcmp-eup-pre.ch \ eptexdir/pdfstrcmp.ch \ euptexdir/pdfstrcmp-eup-post.ch \ eptexdir/pdfsavepos.ch \ tex-binpool.ch EXTRA_DIST += $(euptex_web_srcs) $(euptex_ch_srcs) euptexdir/euptex.defines DISTCLEANFILES += $(nodist_euptex_SOURCES) euptex.web euptex.ch euptex-web2c \ euptex.p euptex.pool euptex-tangle ## EXTRA_DIST += \ euptexdir/COPYRIGHT \ euptexdir/COPYRIGHT.jis \ euptexdir/ChangeLog \ euptexdir/EUPTEX.txt if EUPTEX TESTS += $(euptex_tests) check_PROGRAMS += dvitype pltotf tftopl TRIPTRAP += euptrip.diffs TRIPTRAP_CLEAN += euptrip-clean endif EUPTEX ## Test data and results ## ## eptexdir/eptrip.test EXTRA_DIST += \ eptexdir/eptrip/etrip.log \ eptexdir/eptrip/etrip.tex \ euptexdir/euptrip/euptrip.diffs \ euptexdir/euptrip/texmf.cnf euptrip.diffs: euptex$(EXEEXT) $(triptrap_diffs) $@ .PHONY: euptrip-clean euptrip-clean: rm -f trip.tfm trip.pl trip.tex trip.fmt trip.log trip.dvi rm -f cuptripin.fot cuptripin.log cuptrip.fot cuptrip.log cuptrip.typ rm -f xuptripin.fot xuptripin.log xuptrip.fot xuptrip.log xuptrip.typ rm -f euptripin.fot euptripin.log euptrip.fot euptrip.log euptrip.typ rm -f etrip.tfm etrip.pl etrip.tex etrip.log etrip.fmt etrip.dvi etrip.out rm -f tripos.tex 8terminal.tex rm -rf tfm DISTCLEANFILES += euptrip.diffs