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/alephdir/aleph.mk | |
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/alephdir/aleph.mk')
-rw-r--r-- | Build/source/texk/web2c/alephdir/aleph.mk | 184 |
1 files changed, 184 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/alephdir/aleph.mk b/Build/source/texk/web2c/alephdir/aleph.mk new file mode 100644 index 00000000000..b519e4b000b --- /dev/null +++ b/Build/source/texk/web2c/alephdir/aleph.mk @@ -0,0 +1,184 @@ +# Makefile fragment for Aleph and web2c. --infovore@xs4all.nl. Public domain. +# This fragment contains the parts of the makefile that are most likely to +# differ between releases of Aleph. + +alephdir = alephdir +calephdir = alephdir + +Makefile: $(alephdir)/aleph.mk +# +# Aleph itself. + +# We build aleph +aleph = @ALEPH@ aleph +alephbuild=rc2 + +# The C sources. +aleph_c = alephini.c aleph0.c aleph1.c aleph2.c aleph3.c +aleph_o = alephini.o aleph0.o aleph1.o aleph2.o \ + alephextra.o aleph.o alephbis.o \ + aleph3.o + +# Linking +aleph: $(aleph_o) + $(kpathsea_link) $(aleph_o) $(socketlibs) $(LOADLIBES) + +# The C files +$(aleph_c) alephcoerce.h alephd.h: aleph.p $(web2c_texmf) + $(web2c) aleph +alephextra.c: lib/texmfmp.c + sed s/TEX-OR-MF-OR-MP/aleph/ $(srcdir)/lib/texmfmp.c >$@ +$(alephdir)/alephextra.h: $(alephdir)/alephextra-$(alephbuild).h + -rm -f $@ + test -d $(alephdir) || mkdir $(alephdir) + cp $(srcdir)/$(alephdir)/alephextra-$(alephbuild).h $@ + +# Additional C files, just copy them. +aleph.c: $(calephdir)/aleph.c + -rm -f $@ + cp $(srcdir)/$(calephdir)/aleph.c $@ +alephbis.c: $(calephdir)/alephbis.c + -rm -f $@ + cp $(srcdir)/$(calephdir)/alephbis.c $@ +alephmem.h: $(calephdir)/alephmem.h + -rm -f $@ + cp $(srcdir)/$(calephdir)/alephmem.h $@ + +# The Pascal file +aleph.p aleph.pool: otangle aleph.web aleph.ch + $(OTANGLE) aleph.web aleph.ch + +# Generation of the web and ch files. +aleph.web: tie tex.web $(alephdir)/aleph.mk +aleph.web: $(alephdir)/om16bit.ch +aleph.web: $(alephdir)/omstr.ch +aleph.web: $(alephdir)/omfont.ch +aleph.web: $(alephdir)/omchar.ch +aleph.web: $(alephdir)/omfi.ch +aleph.web: $(alephdir)/ompar.ch +aleph.web: $(alephdir)/omocp.ch +aleph.web: $(alephdir)/omfilter.ch +aleph.web: $(alephdir)/omtrans.ch +aleph.web: $(alephdir)/omdir.ch +aleph.web: $(alephdir)/eobase.ch +aleph.web: $(alephdir)/eofmt.ch +aleph.web: $(alephdir)/eomem-$(alephbuild).ch +aleph.web: $(alephdir)/eo16bit-$(alephbuild).ch +aleph.web: $(alephdir)/eoext.ch +aleph.web: $(alephdir)/eoeqtb.ch +aleph.web: $(alephdir)/eofix.ch +aleph.web: $(alephdir)/eocprt.ch +aleph.web: $(alephdir)/eonewdir-$(alephbuild).ch +aleph.web: $(alephdir)/eover-$(alephbuild).ch +aleph.web: $(alephdir)/eopage-$(alephbuild).ch +aleph.web: $(alephdir)/eochar-$(alephbuild).ch + $(TIE) -m aleph.web $(srcdir)/tex.web \ + $(srcdir)/$(alephdir)/om16bit.ch \ + $(srcdir)/$(alephdir)/omstr.ch \ + $(srcdir)/$(alephdir)/omfont.ch \ + $(srcdir)/$(alephdir)/omchar.ch \ + $(srcdir)/$(alephdir)/omfi.ch \ + $(srcdir)/$(alephdir)/ompar.ch \ + $(srcdir)/$(alephdir)/omocp.ch \ + $(srcdir)/$(alephdir)/omfilter.ch \ + $(srcdir)/$(alephdir)/omtrans.ch \ + $(srcdir)/$(alephdir)/omdir.ch \ + $(srcdir)/$(alephdir)/eobase.ch \ + $(srcdir)/$(alephdir)/eofmt.ch \ + $(srcdir)/$(alephdir)/eomem-$(alephbuild).ch \ + $(srcdir)/$(alephdir)/eo16bit-$(alephbuild).ch \ + $(srcdir)/$(alephdir)/eoext.ch \ + $(srcdir)/$(alephdir)/eoeqtb.ch \ + $(srcdir)/$(alephdir)/eofix.ch \ + $(srcdir)/$(alephdir)/eocprt.ch \ + $(srcdir)/$(alephdir)/eonewdir-$(alephbuild).ch \ + $(srcdir)/$(alephdir)/eover-$(alephbuild).ch \ + $(srcdir)/$(alephdir)/eopage-$(alephbuild).ch \ + $(srcdir)/$(alephdir)/eochar-$(alephbuild).ch +aleph.ch: tie aleph.web $(alephdir)/aleph.mk +aleph.ch: $(calephdir)/com16bit-$(alephbuild).ch +aleph.ch: $(calephdir)/comstr.ch +aleph.ch: $(calephdir)/comfont.ch +aleph.ch: $(calephdir)/comchar.ch +aleph.ch: $(calephdir)/comfi.ch +aleph.ch: $(calephdir)/compar.ch +aleph.ch: $(calephdir)/comocp.ch +aleph.ch: $(calephdir)/comfilter.ch +aleph.ch: $(calephdir)/comtrans.ch +aleph.ch: $(calephdir)/comdir.ch +aleph.ch: $(calephdir)/comsrcspec.ch +aleph.ch: $(calephdir)/ceostuff.ch + $(TIE) -c aleph.ch aleph.web \ + $(srcdir)/$(calephdir)/com16bit-$(alephbuild).ch \ + $(srcdir)/$(calephdir)/comstr.ch \ + $(srcdir)/$(calephdir)/comfont.ch \ + $(srcdir)/$(calephdir)/comchar.ch \ + $(srcdir)/$(calephdir)/comfi.ch \ + $(srcdir)/$(calephdir)/compar.ch \ + $(srcdir)/$(calephdir)/comocp.ch \ + $(srcdir)/$(calephdir)/comfilter.ch \ + $(srcdir)/$(calephdir)/comtrans.ch \ + $(srcdir)/$(calephdir)/comdir.ch \ + $(srcdir)/$(calephdir)/comsrcspec.ch \ + $(srcdir)/$(calephdir)/ceostuff.ch +# Check: right now all we do is build the format. +check: @ALEPH@ aleph-check +aleph-check: aleph aleph.fmt +# Cleaning up from building aleph +clean:: aleph-clean +aleph-clean: + $(LIBTOOL) --mode=clean $(RM) aleph + rm -f $(aleph_c) alephextra.c alephcoerce.h alephd.h + rm -f $(alephdir)/alephextra.h + rm -f aleph.c alephbis.c alephmem.h + rm -f aleph.p aleph.pool aleph.web aleph.ch + +# +# Dumps. +all_afmts = aleph.fmt $(afmts) + +dumps: @ALEPH@ afmts +afmts: $(all_afmts) + +afmtdir = $(web2cdir)/aleph +$(afmtdir):: + $(SHELL) $(top_srcdir)/../mkinstalldirs $(afmtdir) + +aleph.fmt: aleph + $(dumpenv) $(MAKE) progname=aleph files="omega.ini" prereq-check + $(dumpenv) ./aleph --ini --progname=aleph --jobname=aleph \\input omega.tex \\dump </dev/null +lamed.fmt: aleph + $(dumpenv) $(MAKE) progname=lamed files="lambda.tex" prereq-check + $(dumpenv) ./aleph --ini --progname=lamed --jobname=lamed \\input lambda.tex </dev/null + +# +# Installation. +install-aleph: install-aleph-exec install-aleph-data +install-aleph-exec: install-aleph-programs install-aleph-links +install-aleph-data: install-aleph-pool @FMU@ install-aleph-dumps +install-aleph-dumps: install-aleph-fmts + +# The actual binary executables and pool files. +install-programs: @ALEPH@ install-aleph-programs +install-aleph-programs: aleph $(bindir) + for p in aleph; do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done + +install-links: @ALEPH@ install-aleph-links +install-aleph-links: install-aleph-programs + #cd $(bindir) && (rm -f inialeph viraleph; \ + # $(LN) aleph inialeph; $(LN) aleph viraleph) + +install-fmts: @ALEPH@ install-aleph-fmts +install-aleph-fmts: afmts $(afmtdir) + afmts="$(all_afmts)"; \ + for f in $$afmts; do $(INSTALL_DATA) $$f $(afmtdir)/$$f; done + afmts="$(afmts)"; \ + for f in $$afmts; do base=`basename $$f .fmt`; \ + (cd $(bindir) && (rm -f $$base; $(LN) aleph $$base)); done + +# Auxiliary files. +install-data:: @ALEPH@ install-aleph-data +install-aleph-pool: aleph.pool $(texpooldir) + $(INSTALL_DATA) aleph.pool $(texpooldir)/aleph.pool + +# end of aleph.mk |