summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/tests
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-31 14:59:37 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-31 14:59:37 +0000
commitb678d04ea42f842fb31a05faef08613423b12b14 (patch)
tree4361487e47b2e65d6a2dd47a8cbacf9b30f6b8b4 /Build/source/texk/xdvik/tests
parent6d5dd95b5e099dd28dae2c52de1e9f470d5e55e5 (diff)
imported xdvik-22.84.15
git-svn-id: svn://tug.org/texlive/trunk@12586 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/tests')
-rw-r--r--Build/source/texk/xdvik/tests/Makefile.in-22.84.15119
-rw-r--r--Build/source/texk/xdvik/tests/depend.mk245
-rw-r--r--Build/source/texk/xdvik/tests/depend.mk.orig93
3 files changed, 119 insertions, 338 deletions
diff --git a/Build/source/texk/xdvik/tests/Makefile.in-22.84.15 b/Build/source/texk/xdvik/tests/Makefile.in-22.84.15
new file mode 100644
index 00000000000..bbb55dbfd0b
--- /dev/null
+++ b/Build/source/texk/xdvik/tests/Makefile.in-22.84.15
@@ -0,0 +1,119 @@
+# Makefile for xdvik
+#
+# - 1999/05/08: janl: Removed submakes for libwww and kpathsea. That's what
+# the top makefile is for!
+#
+
+
+### NOTE: ac_include paths must be relative to texk/xdvik, since that
+### is from where the configure is run!
+kpse_include ../make/paths.mk
+kpse_include ../make/library.mk
+kpse_include ../make/common.mk
+kpse_include ../make/programs.mk
+kpse_include xdvi_objects.mk
+
+kpathsea_parent = ../..
+
+x_cppflags=@X_CFLAGS@ @iconv_includes@
+x_ldflags=@X_LIBS@ @x_linker_options@ @iconv_libpath@
+x_pre_libs=@X_PRE_LIBS@
+x_extra_libs=@X_EXTRA_LIBS@ @iconv_libs@
+x_tool_libs=@x_tool_libs@
+x_xmu_lib=@x_xmu_lib@
+x_xpm_libs=@x_xpm_libs@
+x_ext_lib=@x_ext_lib@
+
+x_link = $(LDLIBT1) $(x_ldflags) $(x_tool_libs) $(x_xmu_lib) -lXt $(x_pre_libs) $(x_ext_lib) $(x_xpm_libs) -lX11 $(x_extra_libs)
+
+LDLIBT1=@LDLIBT1@
+LIBT1CPPFLAGS=@LIBT1CPPFLAGS@
+LIBT1DEP=@LIBT1DEP@
+LIBT1DIR = ../../../libs/t1lib
+LIBTYPE1DIR = $(LIBT1DIR)/../type1
+LIBT1SRCDIR = $(srcdir)/$(LIBT1DIR)
+
+LIBGUI=../gui/libgui.a
+LIBGUIDEP=$(LIBGUI)
+
+CPP = @CPP@
+RANLIB = @RANLIB@
+
+# Make `#include <X11/...>' and `-lX...' work.
+# This matches web2c (needed only for Metafont).
+x_cppflags = @X_CFLAGS@
+
+# Extra xdvi-specific compiler options.
+ps_def = @PS_DEF@ -DXSERVER_INFO
+prog_cflags = @XTRA_WARN_CFLAGS@ -I.. -I$(srcdir)/.. $(x_cppflags) $(ps_def)
+
+# Note: to be able to use one depend.mk file for both Motif/Xaw (which
+# is needed since only maintainers are supposed to invoke `make depend')
+# we include *all* object files and have tests for #ifdef MOTIF/XAW inside
+# the files.
+objects = \
+ test_dl_list.o \
+ test_string_list.o \
+ test_string_utils.o \
+ test_util.o \
+ run_tests.o
+
+
+# This are the files from xdvi needed to link the tests
+xdvi_objects = \
+ ../browser.o \
+ ../dvi-draw.o \
+ ../dvi-init.o \
+ ../dvisel.o \
+ ../encodings.o \
+ ../events.o \
+ ../exit-handlers.o \
+ ../filehist.o \
+ ../font-open.o \
+ ../gf.o \
+ ../hypertex.o \
+ ../image-magick.o \
+ ../mime.o \
+ ../my-snprintf.o \
+ ../my-vsnprintf.o \
+ ../pagehist.o \
+ ../pk.o \
+ ../print-internal.o \
+ ../psdps.o \
+ ../psgs.o \
+ ../psheader.o \
+ ../psnews.o \
+ ../read-mapfile.o \
+ ../search-internal.o \
+ ../special.o \
+ ../string-utils.o \
+ ../string_list.o \
+ ../tfmload.o \
+ ../util.o \
+ ../dl_list.o \
+ ../vf.o \
+ ../xdvi.o \
+ ../xserver-info.o \
+ ../x_util.o
+
+default all: run_tests
+
+run_tests: $(objects) $(xdvi_objects) $(LIBT1DEP) $(LIBGUIDEP)
+ $(kpathsea_link) $(objects) $(xdvi_objects) $(LIBGUI) $(x_link) $(LOADLIBES)
+
+test: run_tests
+ ./run_tests
+
+test_verbose: run_tests
+ ./run_tests -v
+
+kpse_include ../make/dist.mk
+kpse_include ../make/clean.mk
+
+clean::
+ rm -f *.o *.a
+
+c_auto_h_dir = ..
+kpse_include ../make/rdepend.mk
+kpse_include ./gui/depend.mk
+kpse_include ./tests/depend.mk
diff --git a/Build/source/texk/xdvik/tests/depend.mk b/Build/source/texk/xdvik/tests/depend.mk
deleted file mode 100644
index 36f811c632a..00000000000
--- a/Build/source/texk/xdvik/tests/depend.mk
+++ /dev/null
@@ -1,245 +0,0 @@
-run_tests.o: run_tests.c \
- run_tests.h \
- ../xdvi-config.h ../c-auto.h \
- ../xdvi.h \
- ../xdvi-config.h \
- ../xdvi-debug.h \
- ../xdvi.h \
- ../version.h \
- $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/config.h \
- $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/c-std.h \
- $(kpathsea_srcdir)/c-unistd.h \
- $(kpathsea_srcdir)/systypes.h \
- $(kpathsea_srcdir)/c-memstr.h \
- $(kpathsea_srcdir)/c-errno.h \
- $(kpathsea_srcdir)/c-minmax.h \
- $(kpathsea_srcdir)/c-limits.h \
- $(kpathsea_srcdir)/c-proto.h \
- $(kpathsea_srcdir)/debug.h \
- $(kpathsea_srcdir)/types.h \
- $(kpathsea_srcdir)/lib.h \
- $(kpathsea_srcdir)/progname.h \
- $(kpathsea_srcdir)/c-pathmx.h \
- $(kpathsea_srcdir)/c-dir.h \
- $(kpathsea_srcdir)/c-vararg.h \
- $(kpathsea_srcdir)/c-fopen.h \
- ../hypertex.h \
- ../dvi-init.h \
- ../special.h \
- ../events.h \
- ../string-utils.h \
- ../my-vsnprintf.h \
- $(kpathsea_srcdir)/tex-file.h \
- $(kpathsea_srcdir)/c-vararg.h \
- ../events.h \
- ../util.h \
- $(kpathsea_srcdir)/c-stat.h \
- $(kpathsea_srcdir)/hash.h \
- $(kpathsea_srcdir)/tex-file.h
-test1.o: test1.c \
- run_tests.h \
- ../xdvi-config.h ../c-auto.h \
- ../xdvi.h \
- ../xdvi-config.h \
- ../xdvi-debug.h \
- ../xdvi.h \
- ../version.h \
- $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/config.h \
- $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/c-std.h \
- $(kpathsea_srcdir)/c-unistd.h \
- $(kpathsea_srcdir)/systypes.h \
- $(kpathsea_srcdir)/c-memstr.h \
- $(kpathsea_srcdir)/c-errno.h \
- $(kpathsea_srcdir)/c-minmax.h \
- $(kpathsea_srcdir)/c-limits.h \
- $(kpathsea_srcdir)/c-proto.h \
- $(kpathsea_srcdir)/debug.h \
- $(kpathsea_srcdir)/types.h \
- $(kpathsea_srcdir)/lib.h \
- $(kpathsea_srcdir)/progname.h \
- $(kpathsea_srcdir)/c-pathmx.h \
- $(kpathsea_srcdir)/c-dir.h \
- $(kpathsea_srcdir)/c-vararg.h \
- $(kpathsea_srcdir)/c-fopen.h \
- ../hypertex.h \
- ../dvi-init.h \
- ../special.h \
- ../events.h \
- ../string-utils.h \
- ../my-vsnprintf.h \
- $(kpathsea_srcdir)/tex-file.h \
- $(kpathsea_srcdir)/c-vararg.h \
- ../events.h \
- ../util.h \
- $(kpathsea_srcdir)/c-stat.h \
- $(kpathsea_srcdir)/hash.h \
- $(kpathsea_srcdir)/tex-file.h
-test_dl_list.o: test_dl_list.c \
- run_tests.h \
- ../xdvi-config.h ../c-auto.h \
- ../xdvi.h \
- ../xdvi-config.h \
- ../xdvi-debug.h \
- ../xdvi.h \
- ../version.h \
- $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/config.h \
- $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/c-std.h \
- $(kpathsea_srcdir)/c-unistd.h \
- $(kpathsea_srcdir)/systypes.h \
- $(kpathsea_srcdir)/c-memstr.h \
- $(kpathsea_srcdir)/c-errno.h \
- $(kpathsea_srcdir)/c-minmax.h \
- $(kpathsea_srcdir)/c-limits.h \
- $(kpathsea_srcdir)/c-proto.h \
- $(kpathsea_srcdir)/debug.h \
- $(kpathsea_srcdir)/types.h \
- $(kpathsea_srcdir)/lib.h \
- $(kpathsea_srcdir)/progname.h \
- $(kpathsea_srcdir)/c-pathmx.h \
- $(kpathsea_srcdir)/c-dir.h \
- $(kpathsea_srcdir)/c-vararg.h \
- $(kpathsea_srcdir)/c-fopen.h \
- ../hypertex.h \
- ../dvi-init.h \
- ../special.h \
- ../events.h \
- ../string-utils.h \
- ../my-vsnprintf.h \
- $(kpathsea_srcdir)/tex-file.h \
- $(kpathsea_srcdir)/c-vararg.h \
- ../events.h \
- ../util.h \
- $(kpathsea_srcdir)/c-stat.h \
- $(kpathsea_srcdir)/hash.h \
- $(kpathsea_srcdir)/tex-file.h \
- ../dl_list.h
-test_string_list.o: \
- test_string_list.c \
- run_tests.h \
- ../xdvi-config.h ../c-auto.h \
- ../xdvi.h \
- ../xdvi-config.h \
- ../xdvi-debug.h \
- ../xdvi.h \
- ../version.h \
- $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/config.h \
- $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/c-std.h \
- $(kpathsea_srcdir)/c-unistd.h \
- $(kpathsea_srcdir)/systypes.h \
- $(kpathsea_srcdir)/c-memstr.h \
- $(kpathsea_srcdir)/c-errno.h \
- $(kpathsea_srcdir)/c-minmax.h \
- $(kpathsea_srcdir)/c-limits.h \
- $(kpathsea_srcdir)/c-proto.h \
- $(kpathsea_srcdir)/debug.h \
- $(kpathsea_srcdir)/types.h \
- $(kpathsea_srcdir)/lib.h \
- $(kpathsea_srcdir)/progname.h \
- $(kpathsea_srcdir)/c-pathmx.h \
- $(kpathsea_srcdir)/c-dir.h \
- $(kpathsea_srcdir)/c-vararg.h \
- $(kpathsea_srcdir)/c-fopen.h \
- ../hypertex.h \
- ../dvi-init.h \
- ../special.h \
- ../events.h \
- ../string-utils.h \
- ../my-vsnprintf.h \
- $(kpathsea_srcdir)/tex-file.h \
- $(kpathsea_srcdir)/c-vararg.h \
- ../events.h \
- ../util.h \
- $(kpathsea_srcdir)/c-stat.h \
- $(kpathsea_srcdir)/hash.h \
- $(kpathsea_srcdir)/tex-file.h \
- ../string_list.h
-test_string_utils.o: \
- test_string_utils.c \
- ../xdvi-config.h ../c-auto.h \
- ../xdvi.h \
- ../xdvi-config.h \
- ../xdvi-debug.h \
- ../xdvi.h \
- ../version.h \
- $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/config.h \
- $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/c-std.h \
- $(kpathsea_srcdir)/c-unistd.h \
- $(kpathsea_srcdir)/systypes.h \
- $(kpathsea_srcdir)/c-memstr.h \
- $(kpathsea_srcdir)/c-errno.h \
- $(kpathsea_srcdir)/c-minmax.h \
- $(kpathsea_srcdir)/c-limits.h \
- $(kpathsea_srcdir)/c-proto.h \
- $(kpathsea_srcdir)/debug.h \
- $(kpathsea_srcdir)/types.h \
- $(kpathsea_srcdir)/lib.h \
- $(kpathsea_srcdir)/progname.h \
- $(kpathsea_srcdir)/c-pathmx.h \
- $(kpathsea_srcdir)/c-dir.h \
- $(kpathsea_srcdir)/c-vararg.h \
- $(kpathsea_srcdir)/c-fopen.h \
- $(kpathsea_srcdir)/c-vararg.h \
- run_tests.h \
- ../hypertex.h \
- ../dvi-init.h \
- ../special.h \
- ../events.h \
- ../string-utils.h \
- ../my-vsnprintf.h \
- $(kpathsea_srcdir)/tex-file.h \
- $(kpathsea_srcdir)/c-vararg.h \
- ../events.h \
- ../util.h \
- $(kpathsea_srcdir)/c-stat.h \
- $(kpathsea_srcdir)/hash.h \
- $(kpathsea_srcdir)/tex-file.h
-test_util.o: test_util.c \
- run_tests.h \
- ../xdvi-config.h ../c-auto.h \
- ../xdvi.h \
- ../xdvi-config.h \
- ../xdvi-debug.h \
- ../xdvi.h \
- ../version.h \
- $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/config.h \
- $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/c-std.h \
- $(kpathsea_srcdir)/c-unistd.h \
- $(kpathsea_srcdir)/systypes.h \
- $(kpathsea_srcdir)/c-memstr.h \
- $(kpathsea_srcdir)/c-errno.h \
- $(kpathsea_srcdir)/c-minmax.h \
- $(kpathsea_srcdir)/c-limits.h \
- $(kpathsea_srcdir)/c-proto.h \
- $(kpathsea_srcdir)/debug.h \
- $(kpathsea_srcdir)/types.h \
- $(kpathsea_srcdir)/lib.h \
- $(kpathsea_srcdir)/progname.h \
- $(kpathsea_srcdir)/c-pathmx.h \
- $(kpathsea_srcdir)/c-dir.h \
- $(kpathsea_srcdir)/c-vararg.h \
- $(kpathsea_srcdir)/c-fopen.h \
- ../hypertex.h \
- ../dvi-init.h \
- ../special.h \
- ../events.h \
- ../string-utils.h \
- ../my-vsnprintf.h \
- $(kpathsea_srcdir)/tex-file.h \
- $(kpathsea_srcdir)/c-vararg.h \
- ../events.h \
- ../util.h \
- $(kpathsea_srcdir)/c-stat.h \
- $(kpathsea_srcdir)/hash.h \
- $(kpathsea_srcdir)/tex-file.h
diff --git a/Build/source/texk/xdvik/tests/depend.mk.orig b/Build/source/texk/xdvik/tests/depend.mk.orig
deleted file mode 100644
index b8c28743aef..00000000000
--- a/Build/source/texk/xdvik/tests/depend.mk.orig
+++ /dev/null
@@ -1,93 +0,0 @@
-run_tests.o: run_tests.c \
- run_tests.h ../xdvi-config.h ../c-auto.h \
- ../xdvi.h \
- ../xdvi-debug.h ../version.h $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/config.h $(kpathsea_srcdir)/c-std.h \
- $(kpathsea_srcdir)/c-unistd.h \
- $(kpathsea_srcdir)/systypes.h \
- $(kpathsea_srcdir)/c-memstr.h \
- $(kpathsea_srcdir)/c-errno.h \
- $(kpathsea_srcdir)/c-minmax.h $(kpathsea_srcdir)/c-limits.h \
- $(kpathsea_srcdir)/c-proto.h $(kpathsea_srcdir)/debug.h \
- $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/progname.h \
- $(kpathsea_srcdir)/c-pathmx.h \
- $(kpathsea_srcdir)/c-dir.h \
- $(kpathsea_srcdir)/c-vararg.h \
- $(kpathsea_srcdir)/c-fopen.h ../hypertex.h ../dvi-init.h ../special.h \
- ../events.h ../string-utils.h ../my-vsnprintf.h \
- $(kpathsea_srcdir)/tex-file.h ../util.h $(kpathsea_srcdir)/c-stat.h \
- $(kpathsea_srcdir)/hash.h
-test_dl_list.o: test_dl_list.c run_tests.h ../xdvi-config.h ../c-auto.h \
- ../xdvi.h \
- ../xdvi-debug.h ../version.h $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/config.h $(kpathsea_srcdir)/c-std.h \
- $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
- $(kpathsea_srcdir)/c-memstr.h \
- $(kpathsea_srcdir)/c-errno.h \
- $(kpathsea_srcdir)/c-minmax.h \
- $(kpathsea_srcdir)/c-limits.h \
- $(kpathsea_srcdir)/c-proto.h $(kpathsea_srcdir)/debug.h \
- $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/progname.h \
- $(kpathsea_srcdir)/c-pathmx.h \
- $(kpathsea_srcdir)/c-dir.h \
- $(kpathsea_srcdir)/c-vararg.h \
- $(kpathsea_srcdir)/c-fopen.h ../hypertex.h ../dvi-init.h ../special.h \
- ../events.h ../string-utils.h ../my-vsnprintf.h \
- $(kpathsea_srcdir)/tex-file.h ../util.h $(kpathsea_srcdir)/c-stat.h \
- $(kpathsea_srcdir)/hash.h \
- ../dl_list.h
-test_string_list.o: test_string_list.c run_tests.h ../xdvi-config.h \
- ../c-auto.h \
- ../xdvi.h \
- ../xdvi-debug.h ../version.h $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/config.h $(kpathsea_srcdir)/c-std.h \
- $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
- $(kpathsea_srcdir)/c-memstr.h \
- $(kpathsea_srcdir)/c-errno.h \
- $(kpathsea_srcdir)/c-minmax.h \
- $(kpathsea_srcdir)/c-limits.h \
- $(kpathsea_srcdir)/c-proto.h $(kpathsea_srcdir)/debug.h \
- $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/progname.h \
- $(kpathsea_srcdir)/c-pathmx.h \
- $(kpathsea_srcdir)/c-dir.h \
- $(kpathsea_srcdir)/c-vararg.h \
- $(kpathsea_srcdir)/c-fopen.h ../hypertex.h ../dvi-init.h ../special.h \
- ../events.h ../string-utils.h ../my-vsnprintf.h \
- $(kpathsea_srcdir)/tex-file.h ../util.h $(kpathsea_srcdir)/c-stat.h \
- $(kpathsea_srcdir)/hash.h \
- ../string_list.h
-test_string_utils.o: test_string_utils.c ../xdvi-config.h ../c-auto.h \
- ../xdvi.h ../xdvi-debug.h ../version.h $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/config.h $(kpathsea_srcdir)/c-std.h \
- $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
- $(kpathsea_srcdir)/c-memstr.h \
- $(kpathsea_srcdir)/c-errno.h \
- $(kpathsea_srcdir)/c-minmax.h \
- $(kpathsea_srcdir)/c-limits.h \
- $(kpathsea_srcdir)/c-proto.h $(kpathsea_srcdir)/debug.h \
- $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/progname.h \
- $(kpathsea_srcdir)/c-pathmx.h \
- $(kpathsea_srcdir)/c-dir.h \
- $(kpathsea_srcdir)/c-vararg.h $(kpathsea_srcdir)/c-fopen.h run_tests.h \
- ../hypertex.h ../dvi-init.h ../special.h ../events.h ../string-utils.h \
- ../my-vsnprintf.h $(kpathsea_srcdir)/tex-file.h ../util.h \
- $(kpathsea_srcdir)/c-stat.h \
- $(kpathsea_srcdir)/hash.h
-test_util.o: test_util.c run_tests.h ../xdvi-config.h ../c-auto.h \
- ../xdvi.h \
- ../xdvi-debug.h ../version.h $(kpathsea_dir)/c-auto.h \
- $(kpathsea_srcdir)/config.h $(kpathsea_srcdir)/c-std.h \
- $(kpathsea_srcdir)/c-unistd.h $(kpathsea_srcdir)/systypes.h \
- $(kpathsea_srcdir)/c-memstr.h \
- $(kpathsea_srcdir)/c-errno.h \
- $(kpathsea_srcdir)/c-minmax.h \
- $(kpathsea_srcdir)/c-limits.h \
- $(kpathsea_srcdir)/c-proto.h $(kpathsea_srcdir)/debug.h \
- $(kpathsea_srcdir)/types.h $(kpathsea_srcdir)/lib.h $(kpathsea_srcdir)/progname.h \
- $(kpathsea_srcdir)/c-pathmx.h \
- $(kpathsea_srcdir)/c-dir.h \
- $(kpathsea_srcdir)/c-vararg.h \
- $(kpathsea_srcdir)/c-fopen.h ../hypertex.h ../dvi-init.h ../special.h \
- ../events.h ../string-utils.h ../my-vsnprintf.h \
- $(kpathsea_srcdir)/tex-file.h ../util.h $(kpathsea_srcdir)/c-stat.h \
- $(kpathsea_srcdir)/hash.h