diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-04-28 08:56:01 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-04-28 08:56:01 +0000 |
commit | fd52faff2d89c990d952356d440fb8624fb54d6f (patch) | |
tree | 4d01e51cb60b9909a183939c7462a3129289bed8 /Build/source/texk/web2c/etexdir | |
parent | a83875d097d98b2265fdfaa570b8a55628161ed1 (diff) |
fix various build problems: -lsocket, -liconv, foo.exe vs. foo
git-svn-id: svn://tug.org/texlive/trunk@12834 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/etexdir')
-rw-r--r-- | Build/source/texk/web2c/etexdir/am/etex.am | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/Build/source/texk/web2c/etexdir/am/etex.am b/Build/source/texk/web2c/etexdir/am/etex.am index d6a6d066686..257a7ac154c 100644 --- a/Build/source/texk/web2c/etexdir/am/etex.am +++ b/Build/source/texk/web2c/etexdir/am/etex.am @@ -1,4 +1,7 @@ ## texk/web2c/etexdir/am/etex.am: Makefile fragment for e-TeX. +## +## Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org> +## You may freely use, modify and/or distribute this file. ## e-TeX ## @@ -9,10 +12,10 @@ EXTRA_PROGRAMS += etex etex_CPPFLAGS = -## With --enable-ipc, e-TeX may need to link with -lsocket. +# With --enable-ipc, e-TeX may need to link with -lsocket. etex_LDADD = $(LDADD) $(ipc_socketlibs) -## e-TeX C sources +# e-TeX C sources etex_c_h = etexini.c etex0.c etex1.c etex2.c etexcoerce.h etexd.h nodist_etex_SOURCES = $(etex_c_h) etex-pool.c etexextra.c etexdir/etexextra.h @@ -23,7 +26,7 @@ etex-web2c: etex.p $(web2c_texmf) echo timestamp >$@ touch $(etex_c_h) -etex-pool.c: etex.pool $(makecpool) tmf-pool.h +etex-pool.c: etex.pool $(makecpool_stamp) tmf-pool.h $(makecpool) etex.pool $(srcdir)/tmf-pool.h >$@ || rm -f $@ etexextra.c: etexdir/etexextra.h lib/texmfmp.c etexd.h @@ -33,31 +36,30 @@ etexdir/etexextra.h: etexdir/etexextra.in etexdir/etex.version sed s/ETEX-VERSION/`cat etexdir/etex.version`/ \ $(srcdir)/etexdir/etexextra.in >$@ -## Tangling e-TeX +# Tangling e-TeX etex.p etex.pool: etex-tangle etex-tangle: tangle$(EXEEXT) etex.web etex.ch $(tangle) etex etex echo timestamp >$@ touch etex.p etex.pool -## Extract etex version +# Extract etex version etexdir/etex.version: etexdir/etex.ch $(mkdir_p) etexdir grep '^@d eTeX_version_string==' $(srcdir)/etexdir/etex.ch \ | sed "s/^.*'-//;s/'.*$$//" >etexdir/etex.version -## Generate etex.web -etex.web: $(TIE) $(etex_web_srcs) +# Generate etex.web +etex.web: tie$(EXEEXT) $(etex_web_srcs) $(tie) -m etex.web $(etex_web_srcs) etex_web_srcs = \ tex.web \ etexdir/etex.ch \ etexdir/etex.fix -## Generate etex.ch -etex.ch: $(TIE) etex.web $(etex_ch_srcs) +# Generate etex.ch +etex.ch: tie$(EXEEXT) etex.web $(etex_ch_srcs) $(tie) -c etex.ch etex.web $(etex_ch_srcs) - etex_ch_srcs = \ etexdir/tex.ch0 \ tex.ch \ @@ -65,7 +67,6 @@ etex_ch_srcs = \ etexdir/tex.ch1 \ etexdir/tex.ech \ etexdir/etex-binpool.ch - ## EXTRA_DIST += $(etex_web_srcs) $(etex_ch_srcs) etexdir/etexextra.in \ lib/texmfmp.c tmf-pool.h |