summaryrefslogtreecommitdiff
path: root/Build/source/texk/ps2pkm
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/ps2pkm')
-rw-r--r--Build/source/texk/ps2pkm/Makefile.in.orig64
-rw-r--r--Build/source/texk/ps2pkm/ac/withenable.ac3
-rw-r--r--Build/source/texk/ps2pkm/configure.in.orig23
3 files changed, 90 insertions, 0 deletions
diff --git a/Build/source/texk/ps2pkm/Makefile.in.orig b/Build/source/texk/ps2pkm/Makefile.in.orig
new file mode 100644
index 00000000000..0a55b49752f
--- /dev/null
+++ b/Build/source/texk/ps2pkm/Makefile.in.orig
@@ -0,0 +1,64 @@
+# @configure_input@
+# Makefile for ps2pkm --te@dbs.uni-hannover.de. Public domain.
+version = 1.5m
+
+kpse_include ../make/paths.mk
+kpse_include ../make/common.mk
+kpse_include ../make/programs.mk
+prog_cflags = -DUNIX -DKPATHSEA
+
+libobj = arith.o curves.o fontfcn.o hints.o lines.o objects.o paths.o \
+ regions.o scanfont.o spaces.o t1funcs.o t1info.o t1io.o \
+ t1snap.o t1stub.o token.o type1.o util.o bstring.o basics.o
+common_objects = pkout.o filenames.o
+ps2pkobjs = $(libobj) ps2pk.o encoding.o pkout.o filenames.o
+pk2bmobjs = pk2bm.o pkin.o
+pfb2pfaobjs = pfb2pfa.o filenames.o basics.o
+magobjs = mag.o basics.o
+
+program = ps2pk
+programs = pfb2pfa mag pk2bm $(program)
+
+default all: $(programs)
+
+$(program): $(kpathsea) $(ps2pkobjs)
+ $(kpathsea_link) $(ps2pkobjs) $(LOADLIBES)
+pk2bm: $(kpathsea) $(pk2bmobjs)
+ $(kpathsea_link) $(pk2bmobjs) $(LOADLIBES)
+pfb2pfa: $(kpathsea) $(pfb2pfaobjs)
+ $(kpathsea_link) $(pfb2pfaobjs) $(LOADLIBES)
+mag: $(kpathsea) $(magobjs)
+ $(kpathsea_link) $(magobjs) $(LOADLIBES)
+
+kpse_include ../make/tkpathsea.mk
+
+install: install-exec install-data
+uninstall: uninstall-exec uninstall-data
+
+install-exec: $(programs)
+ $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
+ for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
+uninstall-exec:
+ for p in $(programs); do rm -f $(bindir)/$$p; done
+
+install-data: mag.1 pfb2pfa.1 pk2bm.1 ps2pk.1
+ $(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir)
+ $(INSTALL_DATA) $(srcdir)/mag.1 $(man1dir)/mag.$(manext)
+ $(INSTALL_DATA) $(srcdir)/pfb2pfa.1 $(man1dir)/pfb2pfa.$(manext)
+ $(INSTALL_DATA) $(srcdir)/pk2bm.1 $(man1dir)/pk2bm.$(manext)
+ $(INSTALL_DATA) $(srcdir)/ps2pk.1 $(man1dir)/ps2pk.$(manext)
+uninstall-data:
+ rm -f $(man1dir)/ps2pk.$(manext) $(man1dir)/pk2bm.$(manext) \
+ $(man1dir)/pfb2pfa.$(manext) $(man1dir)/mag.$(manext)
+
+pre-dist-$(distname):
+post-dist-$(distname):
+
+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/ps2pkm/ac/withenable.ac b/Build/source/texk/ps2pkm/ac/withenable.ac
new file mode 100644
index 00000000000..72351528f8d
--- /dev/null
+++ b/Build/source/texk/ps2pkm/ac/withenable.ac
@@ -0,0 +1,3 @@
+## texk/ps2pkm/ac/withenable.ac
+## configure options and TL libraries required for ps2pkm
+KPSE_WITH_PROG([ps2pkm], [kpathsea])
diff --git a/Build/source/texk/ps2pkm/configure.in.orig b/Build/source/texk/ps2pkm/configure.in.orig
new file mode 100644
index 00000000000..4f750585481
--- /dev/null
+++ b/Build/source/texk/ps2pkm/configure.in.orig
@@ -0,0 +1,23 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_INIT(arith.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)
+AC_CHECK_LIB(m, main)
+
+dnl Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS(fcntl.h)
+
+dnl Checks for library functions.
+AC_FUNC_VPRINTF
+AC_CHECK_FUNCS(memset)
+
+KPSE_CONFIG_FILES([Makefile])
+AC_OUTPUT