diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-19 13:59:30 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-19 13:59:30 +0000 |
commit | 0b7b2c69ec83497d9accab064da0f4ad07662d42 (patch) | |
tree | e8f22a2acecbf3035850f56beb1c8161c53cdf2d /Build/source/texk/dviljk | |
parent | ee507bbd1fc483c58acb33cca25509a4dd81df9b (diff) |
prepare for new build system
git-svn-id: svn://tug.org/texlive/trunk@12429 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dviljk')
-rw-r--r-- | Build/source/texk/dviljk/Makefile.in.orig | 112 | ||||
-rw-r--r-- | Build/source/texk/dviljk/ac/withenable.ac | 3 | ||||
-rw-r--r-- | Build/source/texk/dviljk/configure.in.orig | 20 |
3 files changed, 135 insertions, 0 deletions
diff --git a/Build/source/texk/dviljk/Makefile.in.orig b/Build/source/texk/dviljk/Makefile.in.orig new file mode 100644 index 00000000000..2b5ea365d1e --- /dev/null +++ b/Build/source/texk/dviljk/Makefile.in.orig @@ -0,0 +1,112 @@ +# @configure_input@ +# Makefile for dviljk -- kb@mail.tug.org. Public domain. +version = 2.6 + +.NOTPARALLEL: + +kpse_include ../make/paths.mk +kpse_include ../make/common.mk +kpse_include ../make/programs.mk + +prog_cflags = -DKPATHSEA + +common_objects = tfm.o + +program = dvilj +objects = dvilj.o $(common_objects) +objects2p = dvilj2p.o $(common_objects) +program2p = dvilj2p +objects4 = dvilj4.o $(common_objects) +program4 = dvilj4 +objects4l = dvilj4l.o $(common_objects) +program4l = dvilj4l +program6 = dvilj6 + +programs = $(program) $(program2p) $(program4) $(program4l) + +default: $(program4) +all: $(programs) + +$(program): $(objects) $(kpathsea) + $(kpathsea_link) $(objects) $(LOADLIBES) +$(program2p): $(objects2p) $(kpathsea) + $(kpathsea_link) $(objects2p) $(LOADLIBES) +$(program4): $(objects4) $(kpathsea) + $(kpathsea_link) $(objects4) $(LOADLIBES) +$(program4l): $(objects4l) $(kpathsea) + $(kpathsea_link) $(objects4l) $(LOADLIBES) + +dvilj.o: + $(compile) -c -DLJ $(srcdir)/dvi2xx.c -o $@ +dvilj2p.o: + $(compile) -c -DLJ2P $(srcdir)/dvi2xx.c -o $@ +dvilj4.o: + $(compile) -c -DLJ4 $(srcdir)/dvi2xx.c -o $@ +dvilj4l.o: + $(compile) -c -DLJ4 -DLJ4L $(srcdir)/dvi2xx.c -o $@ + +dvilj.o dvilj2p.o dvilj4.o dvilj4l.o: dvi2xx.c + +VERSION = `grep 'define VERSION' dvi2xx.c | sed -e 's/^.*version //' -e 's/).*//'` +dvilj.man: dvilj.pod dvi2xx.c + pod2man --center="TeX-Live" --release="Version $(VERSION)" $< >$@ +dvilj.ps: dvilj.man + man -t -l $< >$@ + +kpse_include ../make/tkpathsea.mk + +install: install-exec install-data +uninstall: uninstall-exec uninstall-data + +install-exec: + $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) + test ! -f $(program) \ + || $(INSTALL_LIBTOOL_PROG) $(program) $(bindir) + test ! -f $(program2p) \ + || $(INSTALL_LIBTOOL_PROG) $(program2p) $(bindir) + test ! -f $(program4) \ + || $(INSTALL_LIBTOOL_PROG) $(program4) $(bindir) + test ! -f $(program4l) \ + || $(INSTALL_LIBTOOL_PROG) $(program4l) $(bindir) + $(INSTALL_SCRIPT) $(srcdir)/dvihp $(scriptdir)/dvihp + cd $(bindir) && (rm -f $(program6); $(LN) $(program4) $(program6)) +uninstall-exec: + cd $(bindir); rm -f $(programs) + +install-data: + $(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir) + $(INSTALL_DATA) $(srcdir)/dvilj.man $(man1dir)/dvilj.$(manext) + for p in dvilj2p dvilj4 dvilj4l dvilj6; do \ + rm -f $(man1dir)/$$p.$(manext); \ + ln -s dvilj.$(manext) $(man1dir)/$$p.$(manext); \ + done + $(INSTALL_DATA) $(srcdir)/dvihp.man $(man1dir)/dvihp.$(manext) + +# It seems simplest to keep this separate. Use find and cpio instead of +# just cp -r in case the source hierarchy is cvs- or rcs-ified. +# Use "" to quote wildcards because backslash is a directory separator +# on MS-DOS and MS-Windows. +install-fonts: + find fonts -name \( "*.tfm" -o -name "*.vf" \) -print | cpio -pld $(texmf) + +uninstall-data: + rm -f $(man1dir)/dvilj.$(manext) + + +distname = dviljk +program_files = dvihp dvilj.man README.fonts +version_files = dvi2xx.c dvihp + +pre-dist-$(distname): +post-dist-$(distname): + ln -s `pwd`/fonts `pwd`/tex `pwd`/src.fonts $(distdir) + +kpse_include ../make/dist.mk +kpse_include ../make/config.mk + +info dvi check: + +kpse_include ../make/clean.mk + +kpse_include ../make/rdepend.mk +kpse_include depend.mk diff --git a/Build/source/texk/dviljk/ac/withenable.ac b/Build/source/texk/dviljk/ac/withenable.ac new file mode 100644 index 00000000000..3f25facbd84 --- /dev/null +++ b/Build/source/texk/dviljk/ac/withenable.ac @@ -0,0 +1,3 @@ +## texk/dviljk/ac/withenable.ac +## configure options and TL libraries required for dviljk +KPSE_WITH_PROG([dviljk], [kpathsea]) diff --git a/Build/source/texk/dviljk/configure.in.orig b/Build/source/texk/dviljk/configure.in.orig new file mode 100644 index 00000000000..32c3066d897 --- /dev/null +++ b/Build/source/texk/dviljk/configure.in.orig @@ -0,0 +1,20 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(dvi2xx.c) + +AC_CONFIG_HEADERS([c-auto.h:c-auto.in], [date >stamp-auto]) + +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_MAKE_SET +AC_PROG_LN_S + +sinclude(../kpathsea/withenable.ac) + +dnl These tests prevent reliable cross-compilation. Sigh. +AC_C_CHAR_UNSIGNED +AC_CHECK_SIZEOF(long) + +AC_CHECK_FUNCS(rmdir unlink mkdtemp mktemp) + +KPSE_CONFIG_FILES([Makefile]) +AC_OUTPUT |