diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-04-21 09:44:45 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-04-21 09:44:45 +0000 |
commit | b77e78eaf3652b80e78ae80f770bd3bdf721363d (patch) | |
tree | d3c67296e30534c63d02c5bb5e5790b1d9150cd0 /Build/source/texk/xdvik/common.am | |
parent | ad04e2284cbf8d1a4b268636c7451f89d29c4d0a (diff) |
new build system: mode texk/xdvik and general update
git-svn-id: svn://tug.org/texlive/trunk@12771 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/common.am')
-rw-r--r-- | Build/source/texk/xdvik/common.am | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Build/source/texk/xdvik/common.am b/Build/source/texk/xdvik/common.am new file mode 100644 index 00000000000..f2b19aa6e50 --- /dev/null +++ b/Build/source/texk/xdvik/common.am @@ -0,0 +1,35 @@ +## texk/xdvik/common.am: Makefile fragment for the TeX Live subdirectory texk/xdvik/ +## +## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org> +## You may freely use, modify and/or distribute this file. +## +## Make `#include <X11/...>' work. +x_cppflags = $(X_CFLAGS) $(iconv_includes) +common_includes = $(PS_DEF) $(KPATHSEA_INCLUDES) $(T1LIB_INCLUDES) $(x_cppflags) + +## Make `-lX...' work. Follow the library order used in X11R6 itself. +## +## Since libXaw7 needs libXpm we put x_xpm_libs after the tool_libs, +## but before -lX11. +## libXp may be needed by libXm and libXaw (the now defunct libXaw8), +## if required libXp has been added to x_ext_lib. +## libXmu needs to come before Xt and after the toolkit libs. +x_ldflags = $(X_LIBS) $(x_linker_options) $(iconv_libpath) +x_extra_libs = $(X_EXTRA_LIBS) $(iconv_libs) +xdvi_x_libs = $(x_ldflags) $(x_tool_libs) $(x_xmu_lib) -lXt $(X_PRE_LIBS) +xdvi_x_libs += $(x_ext_lib) $(x_xpm_libs) -lX11 $(x_extra_libs) + +common_ldadd = $(KPATHSEA_LIBS) $(T1LIB_LIBS) $(xdvi_x_libs) + +common_dependencies = $(KPATHSEA_DEPEND) $(T1LIB_DEPEND) + +## Dependencies for libxdvi.a and gui/libgui.a +## +libxdvi_dependencies = ${top_srcdir}/*.[ch] ${top_builddir}/psheader.c +libgui_dependencies = ${top_srcdir}/*.h ${top_srcdir}/print-internal.c ${top_srcdir}/gui/*.[ch] + +## Rebuild libkpathsea +@KPATHSEA_RULE@ +## Rebuild libt1 +@T1LIB_RULE@ + |