summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-11-30 17:23:55 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-11-30 17:23:55 +0000
commita3fb105c7b6a84accad4b7de2e74b15c2ccdf6fd (patch)
tree594f979f8767d4f44c7aff45c836b7585250366f /cpukit/sapi
parent2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-a3fb105c7b6a84accad4b7de2e74b15c2ccdf6fd.tar.bz2
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add $(dirstamp) to compilation rules. Add AM_CPPFLAGS += -I$(top_builddir).
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/ChangeLog5
-rw-r--r--cpukit/sapi/Makefile.am5
2 files changed, 8 insertions, 2 deletions
diff --git a/cpukit/sapi/ChangeLog b/cpukit/sapi/ChangeLog
index b0b3d3f717..1594e391c6 100644
--- a/cpukit/sapi/ChangeLog
+++ b/cpukit/sapi/ChangeLog
@@ -1,5 +1,10 @@
2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+ * Makefile.am: Add $(dirstamp) to compilation rules.
+ Add AM_CPPFLAGS += -I$(top_builddir).
+
+2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
* Makefile.am: Add $(dirstamp) to preinstallation rules.
Remove MACROS.
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)