summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-29 17:09:18 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-05-29 17:09:18 +0000
commit058a16cce36235aaa6132a773fe0386bc72e18fa (patch)
tree46296ee3e6d787c44c1865661bb8299488398357 /Build/source/texk/web2c/luatexdir
parent030c7d295204835a00a4084ca59b1f712afb39fe (diff)
remove some obsolete files from TL2008 build system
git-svn-id: svn://tug.org/texlive/trunk@13518 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir')
-rw-r--r--Build/source/texk/web2c/luatexdir/Makefile.in148
-rw-r--r--Build/source/texk/web2c/luatexdir/am/libluatex.am6
-rw-r--r--Build/source/texk/web2c/luatexdir/am/luatex.am5
-rw-r--r--Build/source/texk/web2c/luatexdir/luatexlib.mk167
4 files changed, 5 insertions, 321 deletions
diff --git a/Build/source/texk/web2c/luatexdir/Makefile.in b/Build/source/texk/web2c/luatexdir/Makefile.in
deleted file mode 100644
index 9d888766d18..00000000000
--- a/Build/source/texk/web2c/luatexdir/Makefile.in
+++ /dev/null
@@ -1,148 +0,0 @@
-# Makefile for luatex.
-# Public domain.
-# $Id$
-
-kpse_include ../make/common.mk
-kpse_include ../make/programs.mk
-kpse_include ../make/library.mk
-
-kpathsea_srcdir_parent = $(srcdir)/../..
-kpathsea_dir_parent = ../..
-
-ALL_CXXFLAGS = @CXXFLAGS@ @DEFS@ $(XXCFLAGS) \
- -I. -I$(srcdir) \
- -I$(kpathsea_dir_parent) -I$(kpathsea_srcdir_parent) \
- @LIBXPDFCPPFLAGS@ \
- -I$(LIBOBSDCOMPATDIR) -I$(LIBOBSDCOMPATDIR)/.. \
- -I$(LIBOBSDCOMPATFSRCDIR) -I$(LIBOBSDCOMPATFSRCDIR)/.. \
- -I$(LIBPNGSRCDIR) -I$(ZLIBSRCDIR) \
- -DPDF_PARSER_ONLY -DDISABLE_OUTLINE -I../../../../src/libs/obsdcompat
-CXX = @CXX@
-
-CTANGLE = ../ctangle
-
-.SUFFIXES: .cc .o
-.cc.o:
- $(CXX) $(ALL_CXXFLAGS) -c $< -o $@
-
-# XCFLAGS=-Wstrict-prototypes -Wmissing-prototypes
-
-LIBPNGDIR=../../../libs/libpng
-LIBPNGSRCDIR=$(srcdir)/$(LIBPNGDIR)
-
-ZLIBDIR=../../../libs/zlib
-ZLIBSRCDIR=$(srcdir)/$(ZLIBDIR)
-
-LIBXPDFDIR=../../../libs/xpdf
-LIBXPDFSRCDIR=$(srcdir)/$(LIBXPDFDIR)
-
-LIBMD5DIR=../../../libs/md5
-LIBMD5SRCDIR=$(srcdir)/$(LIBMD5DIR)
-
-LIBOBSDCOMPATDIR=../../../libs/obsdcompat
-LIBOBSDCOMPATSRCDIR=$(srcdir)/$(LIBOBSDCOMPATDIR)
-
-XCPPFLAGS=-I.. -I$(srcdir)/.. -I../.. -I$(srcdir)/../.. -I$(LIBMD5DIR) \
- -I$(LIBMD5SRCDIR) @LIBPNGCPPFLAGS@ @ZLIBCPPFLAGS@ \
- -I$(LIBXPDFDIR) -I$(LIBXPDFDIR)/.. -I$(LIBXPDFSRCDIR) -I$(LIBXPDFSRCDIR)/.. \
- -I$(LIBOBSDCOMPATDIR) -I$(LIBOBSDCOMPATDIR)/.. -I$(LIBOBSDCOMPATSRCDIR) \
- -I$(LIBOBSDCOMPATSRCDIR)/.. -DpdfTeX
-
-
-OBJS = \
-font/mapfile.o \
-font/pkin.o \
-font/subfont.o \
-font/tounicode.o \
-font/vfpacket.o \
-font/writeenc.o \
-font/writefont.o \
-font/writet1.o \
-font/writet3.o \
-font/writettf.o \
-font/writetype0.o \
-font/writetype2.o \
-font/writecff.o \
-font/tt_glyf.o \
-font/tt_table.o \
-font/sfnt.o \
-font/texfont.o \
-font/tfmofm.o \
-font/vfovf.o \
-font/luafont.o \
-font/dofont.o \
-image/epdf.o \
-image/pdftoepdf.o \
-image/writeimg.o \
-image/writejbig2.o \
-image/writejpg.o \
-image/writepng.o \
-lua/loslibext.o \
-lua/lcallbacklib.o \
-lua/lkpselib.o \
-lua/llualib.o \
-lua/lnodelib.o \
-lua/lpdflib.o \
-lua/lstatslib.o \
-lua/ltexiolib.o \
-lua/ltexlib.o \
-lua/ltokenlib.o \
-lua/lfontlib.o \
-lua/texluac.o \
-lua/luainit.o \
-lua/luastuff.o \
-lua/luatex.o \
-lua/luatoken.o \
-lua/luanode.o \
-lua/llanglib.o \
-lua/limglib.o \
-lang/hnjalloc.o \
-lang/hyphen.o \
-lang/texlang.o \
-pdf/pdfpage.o \
-pdf/pagetree.o \
-tex/linebreak.o \
-tex/postlinebreak.o \
-tex/texnodes.o \
-tex/textoken.o \
-tex/texpdf.o \
-tex/math.o \
-tex/mlist.o \
-tex/primitive.o \
-tex/texdeffont.o \
-tex/filename.o \
-managed-sa.o \
-mathcodes.o \
-textcodes.o \
-utils/avl.o \
-utils/avlstuff.o \
-utils/utils.o \
-utils/writezip.o \
-utils/synctex.o
-
-all: libpdf.a makecpool
-
-libpdf.a: $(OBJS)
- rm -f $@
- $(AR) $(ARFLAGS) $@ $(OBJS)
- $(RANLIB) $@
-
-makecpool: makecpool.o
- $(link_command) makecpool.o
-
-kpse_include ../make/clean.mk
-
-clean::
- rm -f libpdf.a
-
-depend:
- rm -f $(OBJS) $(srcdir)/depend.mk
- for a in $(OBJS); do \
- env XXCFLAGS="-MM -MT \$$@" XCFLAGS="-MM -MT \$$@" $(MAKE) -k $$a; \
- touch $$a; \
- grep -a -v "^$(CC)\|$(CXX)\|$(AR)\|make" $$a | \
- sed 's: [^ ]*/\.\./libs/[^ ]*::g' >> $(srcdir)/depend.mk; \
- done; \
- rm -f $(OBJS)
-
-kpse_include luatexdir/depend.mk
diff --git a/Build/source/texk/web2c/luatexdir/am/libluatex.am b/Build/source/texk/web2c/luatexdir/am/libluatex.am
index 88c03eb7589..3de565a776d 100644
--- a/Build/source/texk/web2c/luatexdir/am/libluatex.am
+++ b/Build/source/texk/web2c/luatexdir/am/libluatex.am
@@ -135,9 +135,3 @@ EXTRA_DIST += \
luatexdir/change-files.txt \
luatexdir/font/subfont.txt
-## Eventually delete these files
-##
-EXTRA_DIST += \
- luatexdir/Makefile.in \
- luatexdir/luatex.mk \
- luatexdir/luatexlib.mk
diff --git a/Build/source/texk/web2c/luatexdir/am/luatex.am b/Build/source/texk/web2c/luatexdir/am/luatex.am
index 1ef3dfd581d..8a82cafea92 100644
--- a/Build/source/texk/web2c/luatexdir/am/luatex.am
+++ b/Build/source/texk/web2c/luatexdir/am/luatex.am
@@ -75,3 +75,8 @@ EXTRA_DIST += $(luatex_sources) \
DISTCLEANFILES += $(nodist_luatex_SOURCES) luatex-web2c \
luatex.p luatex.pool luatex-tangle luatexdir/luatex.version
+
+## Eventually delete these files
+##
+EXTRA_DIST += luatexdir/luatex.mk
+
diff --git a/Build/source/texk/web2c/luatexdir/luatexlib.mk b/Build/source/texk/web2c/luatexdir/luatexlib.mk
deleted file mode 100644
index 55e9ce8dd2a..00000000000
--- a/Build/source/texk/web2c/luatexdir/luatexlib.mk
+++ /dev/null
@@ -1,167 +0,0 @@
-## luatexlib.mk - Makefile fragment for libraries used by luatex.
-# $Id$
-# Public domain.
-
-# luatex depends on a number of libraries.
-# Include dependencies to get them built if we don't do make
-# from the top-level directory.
-
-Makefile: luatexdir/luatexlib.mk
-
-# libpdf itself
-luapdflib = luatexdir/libpdf.a
-luapdflib_sources = $(srcdir)/luatexdir/*.c $(srcdir)/luatexdir/*.h \
- $(srcdir)/luatexdir/*/*.c $(srcdir)/luatexdir/*/*.h \
- $(srcdir)/luatexdir/*/*.cc
-
-$(luapdflib): $(luapdflib_sources) luatexdir/luatexextra.h ctangle
- cd luatexdir && mkdir -p font image lua lang pdf tex utils && $(MAKE) $(common_makeargs) libpdf.a
-
-# lua
-
-LIBLUADIR=../../libs/lua51
-LIBLUASRCDIR=$(srcdir)/$(LIBLUADIR)
-LIBLUADEP=$(LIBLUADIR)/liblua.a
-
-luatarget=posix
-ifeq ($(target),i386-mingw32)
- ifeq ($(host),i386-linux)
- luatarget = mingwcross
- else
- luatarget = mingw
- endif
-else
-endif
-
-
-$(LIBLUADEP):
- mkdir -p $(LIBLUADIR) && cd $(LIBLUADIR) && cp -f $(LIBLUASRCDIR)/* . && $(MAKE) $(luatarget)
-
-# slnunicode
-SLNUNICODEDIR=../../libs/slnunicode
-SLNUNICODESRCDIR=$(srcdir)/$(SLNUNICODEDIR)
-SLNUNICODEDEP=$(SLNUNICODEDIR)/slnunico.o
-$(SLNUNICODEDEP): $(SLNUNICODEDIR)/slnunico.c $(SLNUNICODEDIR)/slnudata.c
- mkdir -p $(SLNUNICODEDIR) && cd $(SLNUNICODEDIR) && cp -f $(SLNUNICODESRCDIR)/* . && $(CC) $(CFLAGS) -I$(LIBLUADIR) -o slnunico.o -c slnunico.c
-
-# zziplib
-
-# zziplib is a configuration nightmare, because it is so stubborn
-# about using a pre-installed zlib. configure and make have to
-# be fooled in two different ways.
-# - configure needs to find
-# the subdirs 'include' and 'lib' in the --with-zlib prefix,
-# and these need to contain the proper headers and libraries.
-# - make needs to find the right headers using an -I via CPPFLAGS,
-# because the zlib path is relative and can't be found otherwise.
-#
-# final trickyness: configure writes a Makefile in the source
-# directory. it is needed by anything, so I delete it right away
-
-zzipretarget=
-
-ifeq ($(target),i386-mingw32)
- zzipretarget=--target=$(target) --build=$(target) --host=$(host)
-endif
-
-
-ZZIPLIBDIR=../../libs/zziplib
-ZZIPLIBSRCDIR=$(srcdir)/$(ZZIPLIBDIR)
-ZZIPLIBDEP = $(ZZIPLIBDIR)/zzip/libzzip.a
-
-$(ZZIPLIBDEP): $(ZZIPLIBSRCDIR)
- mkdir -p $(ZZIPLIBDIR)/zzip && cd $(ZZIPLIBDIR)/zzip && \
- cp ../$(ZZIPLIBSRCDIR)/zzip/Makefile . && $(MAKE) $(common_makeargs)
-
-# luazip
-
-LUAZIPDIR=../../libs/luazip
-LUAZIPSRCDIR=$(srcdir)/$(LUAZIPDIR)
-LUAZIPDEP=$(LUAZIPDIR)/src/luazip.o
-LUAZIPINC=-I../../lua51 -I../$(ZZIPLIBSRCDIR) -I../$(ZZIPLIBDIR)
-
-$(LUAZIPDEP): $(LUAZIPDIR)/src/luazip.c
- mkdir -p $(LUAZIPDIR) && cd $(LUAZIPDIR) && cp -R $(LUAZIPSRCDIR)/* . && \
- cd src && $(CC) $(CFLAGS) $(LUAZIPINC) -g -o luazip.o -c luazip.c
-
-# luafilesystem
-
-LUAFSDIR=../../libs/luafilesystem
-LUAFSSRCDIR=$(srcdir)/$(LUAFSDIR)
-LUAFSDEP=$(LUAFSDIR)/src/lfs.o
-LUAFSINC=-I../../lua51
-
-$(LUAFSDEP): $(LUAFSDIR)/src/lfs.c $(LUAFSDIR)/src/lfs.h
- mkdir -p $(LUAFSDIR) && cd $(LUAFSDIR) && cp -R $(LUAFSSRCDIR)/* . && \
- cd src && $(CC) $(CFLAGS) $(LUAFSINC) -g -o lfs.o -c lfs.c
-
-
-# luasocket
-
-LUASOCKETDIR=../../libs/luasocket
-LUASOCKETSRCDIR=$(srcdir)/$(LUASOCKETDIR)
-LUASOCKETDEP=$(LUASOCKETDIR)/src/socket.a
-LUASOCKETINC=-I../../lua51
-
-$(LUASOCKETDEP): $(LUASOCKETDIR)/src/luasocket.c $(LUASOCKETDIR)/src/luasocket.h
- mkdir -p $(LUASOCKETDIR) && cd $(LUASOCKETDIR) && cp -R $(LUASOCKETSRCDIR)/* . && \
- cd src && make
-
-
-# luapeg
-LUAPEGDIR=../../libs/luapeg
-LUAPEGSRCDIR=$(srcdir)/$(LUAPEGDIR)
-LUAPEGDEP=$(LUAPEGDIR)/lpeg.o
-$(LUAPEGDEP): $(LUAPEGDIR)/lpeg.c
- mkdir -p $(LUAPEGDIR) && cd $(LUAPEGDIR) && cp -f $(LUAPEGSRCDIR)/* . && $(CC) $(CFLAGS) -I$(LIBLUADIR) -g -o lpeg.o -c lpeg.c
-
-
-# luamd5
-LUAMDVDIR=../../libs/luamd5
-LUAMDVSRCDIR=$(srcdir)/$(LUAMDVDIR)
-LUAMDVDEP=$(LUAMDVDIR)/md5lib.o $(LUAMDVDIR)/md5.o
-$(LUAMDVDEP): $(LUAMDVDIR)/md5lib.c $(LUAMDVDIR)/md5.h $(LUAMDVDIR)/md5.c
- mkdir -p $(LUAMDVDIR) && cd $(LUAMDVDIR) && cp -f $(LUAMDVSRCDIR)/* . && $(CC) $(CFLAGS) -I$(LIBLUADIR) -g -o md5.o -c md5.c && $(CC) $(CFLAGS) -I$(LIBLUADIR) -g -o md5lib.o -c md5lib.c
-
-.PHONY: always
-
-# luaff
-LUAFFDIR=../../libs/luafontforge
-LUAFFSRCDIR=$(srcdir)/$(LUAFFDIR)
-LUAFFDEP=$(LUAFFDIR)/libff.a
-$(LUAFFDEP): always
- mkdir -p $(LUAFFDIR) && cd $(LUAFFDIR) && cp -f $(LUAFFSRCDIR)/Makefile . && $(MAKE)
-
-# luaprof
-LUAPROFDIR=../../libs/luaprofiler
-LUAPROFSRCDIR=$(srcdir)/$(LUAPROFDIR)
-LUAPROFDEP=$(LUAPROFDIR)/libprofiler.a
-$(LUAPROFDEP): always
- mkdir -p $(LUAPROFDIR) && cd $(LUAPROFDIR) && cp -f $(LUAPROFSRCDIR)/Makefile . && $(MAKE)
-
-
-# luazlib
-LUAZLIBDIR=../../libs/luazlib
-LUAZLIBSRCDIR=$(srcdir)/$(LUAZLIBDIR)
-LUAZLIBDEP=$(LUAZLIBDIR)/lgzip.o $(LUAZLIBDIR)/lzlib.o
-LUAZLIBINC=-I$(ZLIBSRCDIR) -I$(LIBLUASRCDIR)
-$(LUAZLIBDEP): $(LUAZLIBDIR)/lgzip.c $(LUAZLIBDIR)/lzlib.c
- mkdir -p $(LUAZLIBDIR) && cd $(LUAZLIBDIR) && cp -f $(LUAZLIBSRCDIR)/* . && $(CC) $(CFLAGS) $(LUAZLIBINC) -g -o lgzip.o -c lgzip.c && $(CC) $(CFLAGS) $(LUAZLIBINC) -g -o lzlib.o -c lzlib.c
-
-# mplib (temporary)
-
-LIBMPDIR=mpdir
-LIBMPLIBDEP=$(LIBMPDIR)/lmplib.o $(LIBMPDIR)/.libs/libmplib.a
-
-# Convenience variables.
-
-luatexlibs = $(luapdflib) $(LDLIBPNG) $(LDZLIB) $(LDLIBXPDF) $(LIBMD5DEP) $(LDLIBOBSD) \
- $(LIBLUADEP) $(SLNUNICODEDEP) $(LUAZIPDEP) $(ZZIPLIBDEP) $(LUAFSDEP) $(LUASOCKETDEP) \
- $(LUAPEGDEP) $(LUAMDVDEP) $(LUAZLIBDEP) $(LUAFFDEP) $(LUAPROFDEP) $(LIBMPLIBDEP)
-
-luatexlibsdep = $(luapdflib) $(LIBPNGDEP) $(ZLIBDEP) $(LIBXPDFDEP) $(LIBMD5DEP) $(LIBOBSDDEP) \
- $(LIBLUADEP) $(SLNUNICODEDEP) $(ZZIPLIBDEP) $(LUAZIPDEP) $(LUAFSDEP) $(LUASOCKETDEP) \
- $(LUAPEGDEP) $(LUAMDVDEP) $(LUAZLIBDEP) $(LUAFFDEP) $(LUAPROFDEP) $(makecpool)
-
-## end of luatexlib.mk - Makefile fragment for libraries used by pdf[ex]tex.
-