From c17ed71126def385fe0939803048d4912e2a2931 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 1 Dec 2003 21:38:43 +0000 Subject: 2003-12-01 Ralf Corsepius * automake/compile.am: Add $(ARCH)/$(dirstamp) rules. * aclocal/lead-dot.m4: New (from automake-1.7f). * aclocal/rtems-top.m4: Require AM_SET_LEADING_DOT. Add AC_SUBST(dirstamp). --- testsuites/automake/compile.am | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'testsuites/automake') diff --git a/testsuites/automake/compile.am b/testsuites/automake/compile.am index 98b8d96fbe..97171efbc1 100644 --- a/testsuites/automake/compile.am +++ b/testsuites/automake/compile.am @@ -90,15 +90,19 @@ CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS) AS = $(CC) ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS) -${ARCH}/%.o: %.c +${ARCH}/%.o: %.c $(ARCH)/$(dirstamp) ${COMPILE} -o $@ -c $< -${ARCH}/%.o: %.cc +${ARCH}/%.o: %.cc $(ARCH)/$(dirstamp) ${CXXCOMPILE} -o $@ -c $< -${ARCH}/%.o: %.S +${ARCH}/%.o: %.S $(ARCH)/$(dirstamp) ${CCASCOMPILE} -DASM -o $@ -c $< +${ARCH}/$(dirstamp): + @$(mkinstalldirs) $(ARCH) + @: > $(ARCH)/$(dirstamp) + # Dependency files for use by gmake # NOTE: we don't put them into $(ARCH) # so that 'make clean' doesn't blow it away -- cgit v1.2.3