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/ps2pkm | |
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/ps2pkm')
-rw-r--r-- | Build/source/texk/ps2pkm/Makefile.in.orig | 64 | ||||
-rw-r--r-- | Build/source/texk/ps2pkm/ac/withenable.ac | 3 | ||||
-rw-r--r-- | Build/source/texk/ps2pkm/configure.in.orig | 23 |
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 |