From 75ec7cb716443db8785869de65ddd92dfc8df82d Mon Sep 17 00:00:00 2001 From: twisti Date: Thu, 10 Feb 2005 11:15:29 +0000 Subject: [PATCH] - using top_builddir instead of top_srcdir where required to support build directories - INCLUDES adjusted --- src/vm/jit/i386/Makefile.am | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/vm/jit/i386/Makefile.am b/src/vm/jit/i386/Makefile.am index 9774c72d3..5e0add08b 100644 --- a/src/vm/jit/i386/Makefile.am +++ b/src/vm/jit/i386/Makefile.am @@ -28,11 +28,13 @@ ## ## Changes: ## -## $Id: Makefile.am 1749 2004-12-10 13:53:36Z twisti $ +## $Id: Makefile.am 1939 2005-02-10 11:15:29Z twisti $ ## Process this file with automake to produce Makefile.in -INCLUDES = -I$(top_srcdir)/src +INCLUDES = -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src + +AM_CCASFLAGS = $(INCLUDES) CLEANFILES = offsets.h @@ -59,13 +61,10 @@ libarch_la_SOURCES = \ i386-dis.c \ symcat.h -asmpart.S: $(top_srcdir)/config.h offsets.h - -.S.lo: - $(LIBTOOL) --mode=compile $(COMPILE) -c $< +$(srcdir)/asmpart.S: $(top_builddir)/config.h offsets.h -offsets.h: $(top_srcdir)/src/vm/jit/tools/genoffsets $(top_srcdir)/config.h $(top_srcdir)/src/vm/global.h $(top_srcdir)/src/threads/native/threads.h - $(top_srcdir)/src/vm/jit/tools/genoffsets > offsets.h +offsets.h: $(top_builddir)/src/vm/jit/tools/genoffsets $(top_builddir)/config.h $(top_srcdir)/src/vm/global.h $(top_srcdir)/src/threads/native/threads.h + $(top_builddir)/src/vm/jit/tools/genoffsets > offsets.h ## Local variables: -- 2.25.1