2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* Makefile.am: Add $(dirstamp) to compilation rules.
	Add AM_CPPFLAGS += -I$(top_builddir).
This commit is contained in:
Ralf Corsepius
2003-11-30 17:23:55 +00:00
parent 60414096bb
commit a3fb105c7b
4 changed files with 16 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
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.

View File

@@ -128,11 +128,12 @@ 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)
${ARCH}/%.o: src/%.c
${ARCH}/%.o: src/%.c $(ARCH)/$(dirstamp)
${COMPILE} -o $@ -c $<
$(LIB): ${OBJS}

View File

@@ -1,3 +1,8 @@
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.

View File

@@ -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)