From bb68138f5309f867ed9b80a6850794104832254f Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Thu, 4 Oct 2012 11:49:07 +0000 Subject: m-tx: More check value returned by malloc() git-svn-id: svn://tug.org/texlive/trunk@27877 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/m-tx/Makefile.am | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'Build/source/utils/m-tx/Makefile.am') diff --git a/Build/source/utils/m-tx/Makefile.am b/Build/source/utils/m-tx/Makefile.am index 7cf23755866..4f1f2e466c6 100644 --- a/Build/source/utils/m-tx/Makefile.am +++ b/Build/source/utils/m-tx/Makefile.am @@ -14,14 +14,11 @@ EXTRA_DIST += $(MTX_TREE)-PATCHES dist-hook: rm -rf `find $(distdir) -name .svn` -INCLUDES = -I$(srcdir)/$(MTX_TREE)/libp2c -AM_CPPFLAGS = -DNO_DECLARE_MALLOC +AM_CPPFLAGS = -I$(srcdir)/$(MTX_TREE)/libp2c -DNO_DECLARE_MALLOC AM_CFLAGS = #$(WARNING_CFLAGS) bin_PROGRAMS = prepmx -## prepmx_SOURCES = config.h - prepmx_SOURCES = \ $(MTX_TREE)/analyze.c \ $(MTX_TREE)/analyze.h \ @@ -33,6 +30,7 @@ prepmx_SOURCES = \ $(MTX_TREE)/files.h \ $(MTX_TREE)/globals.c \ $(MTX_TREE)/globals.h \ + $(MTX_TREE)/libp2c/p2c.h \ $(MTX_TREE)/lyrics.c \ $(MTX_TREE)/lyrics.h \ $(MTX_TREE)/mtx.c \ @@ -54,13 +52,7 @@ prepmx_SOURCES = \ $(MTX_TREE)/utility.c \ $(MTX_TREE)/utility.h -LDADD = libp2c.a - -noinst_LIBRARIES = libp2c.a - -libp2c_a_SOURCES = \ - $(MTX_TREE)/libp2c/p2c.h \ - $(MTX_TREE)/libp2c/p2clib.c +## We can not use $(MTX_TREE)/libp2c/p2clib.c (multiple definitions). lua_scripts = m-tx -- cgit v1.2.3