From a3fb105c7b6a84accad4b7de2e74b15c2ccdf6fd Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 30 Nov 2003 17:23:55 +0000 Subject: 2003-11-30 Ralf Corsepius * Makefile.am: Add $(dirstamp) to compilation rules. Add AM_CPPFLAGS += -I$(top_builddir). --- cpukit/sapi/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpukit/sapi/Makefile.am') diff --git a/cpukit/sapi/Makefile.am b/cpukit/sapi/Makefile.am index b236657a47..3afe30fa7a 100644 --- a/cpukit/sapi/Makefile.am +++ b/cpukit/sapi/Makefile.am @@ -36,14 +36,15 @@ OBJS = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT)) # Add local stuff here using += # +AM_CPPFLAGS += -I$(top_builddir) AM_CPPFLAGS += -D__RTEMS_INSIDE__ -all-local: $(PREINSTALL_FILES) ${ARCH} $(LIB) +all-local: $(PREINSTALL_FILES) $(LIB) $(LIB): ${OBJS} $(make-library) -${ARCH}/%.$(OBJEXT): src/%.c +${ARCH}/%.$(OBJEXT): src/%.c $(ARCH)/$(dirstamp) ${COMPILE} -o $@ -c $< EXTRA_DIST += $(C_FILES) -- cgit v1.2.3