summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-15 15:12:50 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-15 15:12:50 +0000
commit9c6a5c2e6b8d400f89e8c57ed0ed9f18ec2bad7d (patch)
tree7d8b8d294a9b164d2ef69cdec61fd457f6185857
parent44686714a168a1117a294067e0d9943947aeeb7d (diff)
enable compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@13753 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/afm2pl/Makefile.am9
-rw-r--r--Build/source/texk/bibtex8/Makefile.am7
-rw-r--r--Build/source/texk/detex/Makefile.am1
-rw-r--r--Build/source/texk/dtl/Makefile.am1
-rw-r--r--Build/source/texk/dvidvi/Makefile.am1
-rw-r--r--Build/source/texk/dvipsk/squeeze/Makefile.am2
-rw-r--r--Build/source/texk/lacheck/Makefile.am2
-rw-r--r--Build/source/texk/lcdf-typetools/Makefile.am6
-rw-r--r--Build/source/texk/makeindexk/Makefile.am1
-rw-r--r--Build/source/texk/web2c/lib/Makefile.am2
-rw-r--r--Build/source/texk/web2c/web2c/Makefile.am1
-rw-r--r--Build/source/texk/web2c/window/Makefile.am1
-rw-r--r--Build/source/texk/xdvik/Makefile.am5
-rw-r--r--Build/source/texk/xdvik/squeeze/Makefile.am2
-rw-r--r--Build/source/texk/xdvik/tests/Makefile.am1
15 files changed, 35 insertions, 7 deletions
diff --git a/Build/source/texk/afm2pl/Makefile.am b/Build/source/texk/afm2pl/Makefile.am
index 18791d541cb..e51e4b887b7 100644
--- a/Build/source/texk/afm2pl/Makefile.am
+++ b/Build/source/texk/afm2pl/Makefile.am
@@ -7,6 +7,7 @@ ACLOCAL_AMFLAGS = -I ../../m4
INCLUDES = $(KPATHSEA_INCLUDES)
AM_CPPFLAGS = -DKPATHSEA
+AM_CFLAGS = $(WARNING_CFLAGS)
bin_PROGRAMS = afm2pl
@@ -21,9 +22,15 @@ LDADD = $(KPATHSEA_LIBS)
dist_man1_MANS = afm2pl.1
+TESTS = afm2pl.test
+
+EXTRA_DIST = afm2pl.test logo10.afm xlogo10.map xlogo10.pl
+
+CLEANFILES = logo10.map logo10.pl
+
## Not used
##
-EXTRA_DIST = \
+EXTRA_DIST += \
afm2pl.html \
afm2pl.txt \
afm2pl.xml
diff --git a/Build/source/texk/bibtex8/Makefile.am b/Build/source/texk/bibtex8/Makefile.am
index 982bd2f4bf4..6da1721a524 100644
--- a/Build/source/texk/bibtex8/Makefile.am
+++ b/Build/source/texk/bibtex8/Makefile.am
@@ -6,7 +6,12 @@
ACLOCAL_AMFLAGS = -I ../../m4
INCLUDES = $(KPATHSEA_INCLUDES)
-AM_CPPFLAGS = -DUNIX -DKPATHSEA -DSUPPORT_8BIT -funsigned-char
+AM_CPPFLAGS = -DUNIX -DKPATHSEA -DSUPPORT_8BIT
+## FIXME: (1) this should go away once the code has been carefully
+## FIXME: analyzed and uses 'unsigned char' where necessary.
+## FIXME: (2) this should go to AM_CFLAGS, but AIX xlc only
+## FIXME: accepts this flag when compiling, not when linking.
+AM_CPPFLAGS += -funsigned-char
bin_PROGRAMS = bibtex8
diff --git a/Build/source/texk/detex/Makefile.am b/Build/source/texk/detex/Makefile.am
index a59576e49df..fd42c707fa5 100644
--- a/Build/source/texk/detex/Makefile.am
+++ b/Build/source/texk/detex/Makefile.am
@@ -7,6 +7,7 @@ ACLOCAL_AMFLAGS = -I ../../m4
INCLUDES = $(KPATHSEA_INCLUDES)
AM_CPPFLAGS = -DKPATHSEA
+AM_CFLAGS = $(WARNING_CFLAGS)
## The Makefile.in from 2002 by Thomas Esser applied the sed script
## states.sed to detex.l in order to "convert long labels to a shorter
diff --git a/Build/source/texk/dtl/Makefile.am b/Build/source/texk/dtl/Makefile.am
index 561f8f6b069..6d67998440b 100644
--- a/Build/source/texk/dtl/Makefile.am
+++ b/Build/source/texk/dtl/Makefile.am
@@ -9,6 +9,7 @@ INCLUDES = $(KPATHSEA_INCLUDES)
AM_CPPFLAGS = -DUNIX -DNeedFunctionPrototypes -DKPATHSEA
## We don't use libpathsea, so don't overload fopen and stuff
AM_CPPFLAGS += -DNO_DEBUG
+AM_CFLAGS = $(WARNING_CFLAGS)
bin_PROGRAMS = dt2dv dv2dt
diff --git a/Build/source/texk/dvidvi/Makefile.am b/Build/source/texk/dvidvi/Makefile.am
index 1c2785e1588..2aadc9246bb 100644
--- a/Build/source/texk/dvidvi/Makefile.am
+++ b/Build/source/texk/dvidvi/Makefile.am
@@ -9,6 +9,7 @@ INCLUDES = $(KPATHSEA_INCLUDES)
AM_CPPFLAGS = -DKPATHSEA -DUNIX -DNeedFunctionPrototypes
## We don't use libkpathsea, so don't overload fopen and stuff.
AM_CPPFLAGS += -DNO_DEBUG
+AM_CFLAGS = $(WARNING_CFLAGS)
bin_PROGRAMS = dvidvi
diff --git a/Build/source/texk/dvipsk/squeeze/Makefile.am b/Build/source/texk/dvipsk/squeeze/Makefile.am
index 48f10154c8e..70c53f2b34e 100644
--- a/Build/source/texk/dvipsk/squeeze/Makefile.am
+++ b/Build/source/texk/dvipsk/squeeze/Makefile.am
@@ -5,6 +5,8 @@
##
ACLOCAL_AMFLAGS = -I ../../../m4
+AM_CFLAGS = $(WARNING_CFLAGS)
+
noinst_PROGRAMS = squeeze
nodist_noinst_DATA = stamp-squeeze
diff --git a/Build/source/texk/lacheck/Makefile.am b/Build/source/texk/lacheck/Makefile.am
index 3ac1f44050f..7954489146a 100644
--- a/Build/source/texk/lacheck/Makefile.am
+++ b/Build/source/texk/lacheck/Makefile.am
@@ -5,6 +5,8 @@
##
ACLOCAL_AMFLAGS = -I ../../m4
+AM_CFLAGS = $(WARNING_CFLAGS)
+
bin_PROGRAMS = lacheck
lacheck_SOURCES = lacheck.l
diff --git a/Build/source/texk/lcdf-typetools/Makefile.am b/Build/source/texk/lcdf-typetools/Makefile.am
index b4a728296ef..7f15978f774 100644
--- a/Build/source/texk/lcdf-typetools/Makefile.am
+++ b/Build/source/texk/lcdf-typetools/Makefile.am
@@ -6,7 +6,7 @@ DISTCHECK_CONFIGURE_FLAGS = --without-kpathsea
SUBDIRS = $(SELECTED_SUBDIRS)
DIST_SUBDIRS = liblcdf libefont cfftot1 mmafm mmpfb otfinfo otftotfm t1dotlessj t1lint t1rawafm t1reencode t1testpage ttftotype42
-if tetex_build
+if texlive_build
glyphlistdir = ${prefix}/texmf-dist/fonts/map/glyphlist
glyphlist_DATA = glyphlist.txt texglyphlist.txt
@@ -14,11 +14,11 @@ glyphlist_DATA = glyphlist.txt texglyphlist.txt
encdir = ${prefix}/texmf-dist/fonts/enc/dvips/base
enc_DATA = 7t.enc
-else !tetex_build
+else !texlive_build
pkgdata_DATA = glyphlist.txt texglyphlist.txt 7t.enc
-endif !tetex_build
+endif !texlive_build
EXTRA_DIST = \
ONEWS \
diff --git a/Build/source/texk/makeindexk/Makefile.am b/Build/source/texk/makeindexk/Makefile.am
index bd79df8b929..534123e42d3 100644
--- a/Build/source/texk/makeindexk/Makefile.am
+++ b/Build/source/texk/makeindexk/Makefile.am
@@ -7,6 +7,7 @@ ACLOCAL_AMFLAGS = -I ../../m4
INCLUDES = $(KPATHSEA_INCLUDES)
AM_CPPFLAGS = -DUNIX -DKPATHSEA
+AM_CFLAGS = $(WARNING_CFLAGS)
dist_bin_SCRIPTS = mkindex
diff --git a/Build/source/texk/web2c/lib/Makefile.am b/Build/source/texk/web2c/lib/Makefile.am
index 8316f1cccc3..a6b1e9aba12 100644
--- a/Build/source/texk/web2c/lib/Makefile.am
+++ b/Build/source/texk/web2c/lib/Makefile.am
@@ -4,6 +4,7 @@
## You may freely use, modify and/or distribute this file.
##
INCLUDES = -I$(top_builddir)/.. -I$(top_srcdir) $(KPATHSEA_INCLUDES)
+AM_CFLAGS = $(WARNING_CFLAGS)
## Rebuild libkpathsea
@KPATHSEA_RULE@
@@ -20,6 +21,7 @@ lib_a_SOURCES = \
fprintreal.c \
inputint.c \
input2int.c \
+ lib.h \
main.c \
openclose.c \
printversion.c \
diff --git a/Build/source/texk/web2c/web2c/Makefile.am b/Build/source/texk/web2c/web2c/Makefile.am
index 5c3974dd8a3..f8c1b3ed4e2 100644
--- a/Build/source/texk/web2c/web2c/Makefile.am
+++ b/Build/source/texk/web2c/web2c/Makefile.am
@@ -7,6 +7,7 @@ ACLOCAL_AMFLAGS = -I ../../../m4
INCLUDES = -Inative -I$(srcdir)/native -I$(srcdir)/.. -I$(srcdir)/../..
AM_YFLAGS = -d -v
+AM_CFLAGS = $(WARNING_CFLAGS)
noinst_PROGRAMS = web2c fixwrites splitup makecpool
diff --git a/Build/source/texk/web2c/window/Makefile.am b/Build/source/texk/web2c/window/Makefile.am
index fe8f7cf4c1c..81312a73693 100644
--- a/Build/source/texk/web2c/window/Makefile.am
+++ b/Build/source/texk/web2c/window/Makefile.am
@@ -6,6 +6,7 @@
INCLUDES = -I$(top_srcdir) $(KPATHSEA_INCLUDES)
AM_CPPFLAGS = $(X_CFLAGS)
+AM_CFLAGS = $(WARNING_CFLAGS)
## Rebuild libkpathsea
@KPATHSEA_RULE@
diff --git a/Build/source/texk/xdvik/Makefile.am b/Build/source/texk/xdvik/Makefile.am
index d8be12f2cd1..08977cb42b8 100644
--- a/Build/source/texk/xdvik/Makefile.am
+++ b/Build/source/texk/xdvik/Makefile.am
@@ -5,6 +5,8 @@
##
ACLOCAL_AMFLAGS = -I ../../m4 -I m4
+AM_CFLAGS = $(WARNING_CFLAGS)
+
SUBDIRS = squeeze . tests
include common.am
@@ -214,7 +216,7 @@ uninstall-hook:
rm -f "$(DESTDIR)$(xdvidir)/xdvi.cfg"; \
else :; fi
-## Not yet used
+## Not used
##
EXTRA_DIST += \
BUGS \
@@ -224,7 +226,6 @@ EXTRA_DIST += \
LESSTIF-BUGS \
README.t1fonts \
README.t1mapper \
- m4/acinclude.m4 \
pixmaps/drag_horiz.xbm \
pixmaps/drag_horiz_mask.xbm \
pixmaps/drag_omni.xbm \
diff --git a/Build/source/texk/xdvik/squeeze/Makefile.am b/Build/source/texk/xdvik/squeeze/Makefile.am
index d5b2561d3c4..986b65c000b 100644
--- a/Build/source/texk/xdvik/squeeze/Makefile.am
+++ b/Build/source/texk/xdvik/squeeze/Makefile.am
@@ -5,6 +5,8 @@
##
ACLOCAL_AMFLAGS = -I ../../../m4
+AM_CFLAGS = $(WARNING_CFLAGS)
+
noinst_PROGRAMS = squeeze
nodist_noinst_DATA = stamp-squeeze
diff --git a/Build/source/texk/xdvik/tests/Makefile.am b/Build/source/texk/xdvik/tests/Makefile.am
index 10b95abf1d8..4bcd71228dc 100644
--- a/Build/source/texk/xdvik/tests/Makefile.am
+++ b/Build/source/texk/xdvik/tests/Makefile.am
@@ -6,6 +6,7 @@
include ../common.am
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gui $(common_includes)
+AM_CFLAGS = $(WARNING_CFLAGS)
check_PROGRAMS = run_tests