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/xdvik/Makefile.am | |
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/xdvik/Makefile.am')
-rw-r--r-- | Build/source/texk/xdvik/Makefile.am | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Build/source/texk/xdvik/Makefile.am b/Build/source/texk/xdvik/Makefile.am index b2e7db23cc9..d8be12f2cd1 100644 --- a/Build/source/texk/xdvik/Makefile.am +++ b/Build/source/texk/xdvik/Makefile.am @@ -170,11 +170,13 @@ xdvi_bin_DEPENDENCIES = libxdvi.a $(common_dependencies) LDADD = libxdvi.a $(common_ldadd) -psheader.c: psheader.txt squeeze/squeeze$(EXEEXT) +# When cross-compiling, EXEEXT for the build and hosts system may differ. +# Thus we depend on the auxiliary file squeeze/stamp-squeeze. +psheader.c: psheader.txt squeeze/stamp-squeeze squeeze/squeeze $(srcdir)/psheader.txt $@ -squeeze/squeeze$(EXEEXT): - cd squeeze && $(MAKE) $(AM_MAKEFLAGS) +squeeze/stamp-squeeze: + cd squeeze && $(MAKE) $(AM_MAKEFLAGS) stamp-squeeze EXTRA_DIST = psheader.txt CLEANFILES = psheader.c |