summaryrefslogtreecommitdiff
path: root/Build/source/texk/afm2pl
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-19 13:59:30 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-19 13:59:30 +0000
commit0b7b2c69ec83497d9accab064da0f4ad07662d42 (patch)
treee8f22a2acecbf3035850f56beb1c8161c53cdf2d /Build/source/texk/afm2pl
parentee507bbd1fc483c58acb33cca25509a4dd81df9b (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/afm2pl')
-rw-r--r--Build/source/texk/afm2pl/Makefile.in.orig43
-rw-r--r--Build/source/texk/afm2pl/ac/withenable.ac3
-rw-r--r--Build/source/texk/afm2pl/configure.in.orig25
3 files changed, 71 insertions, 0 deletions
diff --git a/Build/source/texk/afm2pl/Makefile.in.orig b/Build/source/texk/afm2pl/Makefile.in.orig
new file mode 100644
index 00000000000..d22379fbd5a
--- /dev/null
+++ b/Build/source/texk/afm2pl/Makefile.in.orig
@@ -0,0 +1,43 @@
+# @configure_input@
+# Makefile for afm2pl. Thomas Esser. public domain.
+
+program = afm2pl
+default all: $(program) $(program).1
+
+kpse_include ../make/paths.mk
+kpse_include ../make/common.mk
+kpse_include ../make/programs.mk
+
+# See INSTALL for compilation options.
+# DEFS = @DEFS@ $(XDEFS) -DKPATHSEA -I$(srcdir)/../dvipsk
+DEFS = @DEFS@ $(XDEFS) -DKPATHSEA
+
+objects = $(program).o
+
+$(program): $(kpathsea) $(objects)
+ $(kpathsea_link) $(objects) $(LOADLIBES)
+
+kpse_include ../make/tkpathsea.mk
+
+install: install-exec install-data
+uninstall: uninstall-exec uninstall-data
+
+install-exec: $(program)
+ $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
+ $(INSTALL_LIBTOOL_PROG) $(program) $(bindir)
+uninstall-exec:
+ rm -f $(bindir)/$(program)
+
+install-data: $(program).1
+ $(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir)
+ $(INSTALL_DATA) $(srcdir)/$(program).1 $(man1dir)/$(program).$(manext)
+uninstall-data:
+ rm -f $(man1dir)/$(program).$(manext)
+
+kpse_include ../make/clean.mk
+kpse_include ../make/config.mk
+
+info dvi check:
+
+kpse_include ../make/rdepend.mk
+kpse_include depend.mk
diff --git a/Build/source/texk/afm2pl/ac/withenable.ac b/Build/source/texk/afm2pl/ac/withenable.ac
new file mode 100644
index 00000000000..95940e87ebd
--- /dev/null
+++ b/Build/source/texk/afm2pl/ac/withenable.ac
@@ -0,0 +1,3 @@
+## texk/afm2pl/ac/withenable.ac
+## configure options and TL libraries required for afm2pl
+KPSE_WITH_PROG([afm2pl], [kpathsea])
diff --git a/Build/source/texk/afm2pl/configure.in.orig b/Build/source/texk/afm2pl/configure.in.orig
new file mode 100644
index 00000000000..4678c90e576
--- /dev/null
+++ b/Build/source/texk/afm2pl/configure.in.orig
@@ -0,0 +1,25 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_INIT(afm2pl.c)
+
+AC_CONFIG_HEADERS(c-auto.h:c-auto.in)
+
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PROG_MAKE_SET
+AC_PROG_LN_S
+
+# If libm is present, use it.
+AC_CHECK_LIB(m, main,LIBS="$LIBS -lm")
+
+sinclude(../kpathsea/withenable.ac)
+
+dnl These tests prevent reliable cross-compilation. Sigh.
+dnl Some special hacks are used to make cross-compilation
+dnl succeed in one special case.
+
+AC_UNSET_CC
+AC_RESET_CC
+
+KPSE_CONFIG_FILES([Makefile])
+AC_OUTPUT
+date >stamp-auto