diff options
author | Karl Berry <karl@freefriends.org> | 2021-02-25 19:22:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-02-25 19:22:25 +0000 |
commit | ad547a6b5986815fda458221149728d9d9ab1d87 (patch) | |
tree | 16296910eb3eca724371474ea9aea3994dc69614 /Build/source/texk/web2c/euptexdir/am | |
parent | 947b43de3dd21d58ccc2ffadefc4441ea1c2a813 (diff) |
restore Build,TODO from r57911
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/euptexdir/am')
-rw-r--r-- | Build/source/texk/web2c/euptexdir/am/euptex.am | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/euptexdir/am/euptex.am b/Build/source/texk/web2c/euptexdir/am/euptex.am new file mode 100644 index 00000000000..597e2e1cd9d --- /dev/null +++ b/Build/source/texk/web2c/euptexdir/am/euptex.am @@ -0,0 +1,123 @@ +## $Id$ +## texk/web2c/euptexdir/am/euptex.am: Makefile fragment for e-upTeX. +## +## Copyright 2015-2021 Karl Berry <tex-live@tug.org> +## Copyright 2011-2015 Peter Breitenlohner <tex-live@tug.org> +## You may freely use, modify and/or distribute this file. + +## e-upTeX +## +if EUPTEX +bin_PROGRAMS += euptex +endif EUPTEX +EXTRA_PROGRAMS += euptex + +euptex_CPPFLAGS = $(PTEXENC_INCLUDES) $(AM_CPPFLAGS) -I$(srcdir)/libmd5 $(ZLIB_INCLUDES) + +# With --enable-ipc, e-upTeX may need to link with -lsocket. +euptex_LDADD = libukanji.a $(pproglib) $(PTEXENC_LIBS) $(LDADD) $(ipc_socketlibs) libmd5.a $(ZLIB_LIBS) +euptex_DEPENDENCIES = libukanji.a $(pproglib) $(PTEXENC_DEPEND) $(default_dependencies) libmd5.a $(ZLIB_DEPEND) + +# 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_srcs) +euptex_web_srcs = \ + tex.web \ + etexdir/etex.ch \ + etexdir/tex.ch0 \ + tex.ch \ + tracingstacklevels.ch \ + zlib-fmt.ch \ + etexdir/tex.ech + +# Generate euptex.ch +euptex.ch: tie$(EXEEXT) euptex.web $(euptex_ch_srcs) + $(tie_c) 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 \ + eptexdir/etex.ch1 \ + euptexdir/euptex.ch1 \ + $(euptex_ch_synctex) \ + eptexdir/fam256.ch \ + euptexdir/pdfstrcmp-eup-pre.ch \ + eptexdir/pdfutils.ch \ + euptexdir/pdfstrcmp-eup-post.ch \ + eptexdir/char-warning-eptex.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 + +# e-upTeX Tests +# +euptex_tests = euptexdir/euptriptest.test euptexdir/pdfprimitive.test euptexdir/eupver.test +euptexdir/euptriptest.log: euptex$(EXEEXT) dvitype$(EXEEXT) pltotf$(EXEEXT) tftopl$(EXEEXT) +euptexdir/pdfprimitive.log: euptex$(EXEEXT) +euptexdir/eupver.log: euptex$(EXEEXT) + +EXTRA_DIST += $(euptex_tests) + +if EUPTEX +TESTS += $(euptex_tests) +TRIPTRAP += euptrip.diffs +TRIPTRAP_CLEAN += euptrip-clean +endif EUPTEX + +## Test data and results +## +## euptexdir/euptriptest.test +EXTRA_DIST += \ + eptexdir/eptrip/eptrip.log \ + eptexdir/eptrip/eptrip.tex \ + euptexdir/euptrip/euptrip.diffs \ + euptexdir/euptrip/texmf.cnf +euptrip.diffs: euptex$(EXEEXT) dvitype$(EXEEXT) pltotf$(EXEEXT) tftopl$(EXEEXT) + $(triptrap_diffs) $@ +.PHONY: euptrip-clean +euptrip-clean: + rm -rf euptripdir +DISTCLEANFILES += euptrip.diffs +## euptexdir/pdfprimitive.test +EXTRA_DIST += \ + euptexdir/pdfprimitive.test \ + eptexdir/tests/pdfprimitive-test.tex \ + euptexdir/tests/pdfprimitive-euptex.log +DISTCLEANFILES += pdfprimitive-euptex.* + |