From a770f7dc16dcbd5ea863f597e42c1901253eb1d7 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Fri, 20 Mar 2009 10:47:15 +0000 Subject: new build system git-svn-id: svn://tug.org/texlive/trunk@12464 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/mpware/Makefile.am | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Build/source/texk/web2c/mpware/Makefile.am (limited to 'Build/source/texk/web2c/mpware/Makefile.am') diff --git a/Build/source/texk/web2c/mpware/Makefile.am b/Build/source/texk/web2c/mpware/Makefile.am new file mode 100644 index 00000000000..2f051227ed6 --- /dev/null +++ b/Build/source/texk/web2c/mpware/Makefile.am @@ -0,0 +1,38 @@ +## +INCLUDES = -I$(top_builddir)/.. -I$(top_srcdir) $(KPATHSEA_INCLUDES) + +proglib = ../lib/lib.a + +## Automake automatically uses $(proglib)=../lib/lib.a as dependency. +## This does not work for the configure substitution $(KPATHSEA_LIBS), +## thus we let $(proglib) artificially depend on $(KPATHSEA_LIBS). + +## Rebuild $(proglib) +$(proglib): $(KPATHSEA_DEPEND) ${top_srcdir}/lib/*.c + cd ../lib && $(MAKE) $(AM_MAKEFLAGS) + +## Rebuild libkpathsea +@KPATHSEA_RULE@ + +bin_PROGRAMS = dmp makempx mpto newer + +dmp_SOURCES = dmp.c dmp.h dmp_ffile.c +dmp_LDADD = $(proglib) $(KPATHSEA_LIBS) + +makempx_SOURCES = makempx.c +makempx_LDADD = $(proglib) $(KPATHSEA_LIBS) + +mpto_SOURCES = mpto.c + +newer_SOURCES = newer.c + +## ###### +## Obsolete ? + +EXTRA_DIST = makempx.in + +## ###### +## Evetually delete these files + +EXTRA_DIST += Makefile.in.orig + -- cgit v1.2.3