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/ChangeLog | 5 +++++ cpukit/sapi/Makefile.am | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'cpukit/sapi') diff --git a/cpukit/sapi/ChangeLog b/cpukit/sapi/ChangeLog index b0b3d3f717..1594e391c6 100644 --- a/cpukit/sapi/ChangeLog +++ b/cpukit/sapi/ChangeLog @@ -1,3 +1,8 @@ +2003-11-30 Ralf Corsepius + + * Makefile.am: Add $(dirstamp) to compilation rules. + Add AM_CPPFLAGS += -I$(top_builddir). + 2003-11-30 Ralf Corsepius * Makefile.am: Add $(dirstamp) to preinstallation rules. 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