summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-12-22 16:09:26 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-12-22 16:09:26 +0000
commitd48576d81b3a03ec88adb4d886f6232973177a57 (patch)
tree17dfbee76ad6d4dba3e6c78eb6b249f0120980ab /c/src/lib/libbsp/powerpc
parent2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-d48576d81b3a03ec88adb4d886f6232973177a57.tar.bz2
2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* dlentry/Makefile.am: Eliminate VPATH. * flashentry/Makefile.am: Eliminate VPATH. * startup/Makefile.am: Eliminate VPATH.
Diffstat (limited to 'c/src/lib/libbsp/powerpc')
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/ChangeLog6
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/dlentry/Makefile.am2
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/flashentry/Makefile.am2
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/startup/Makefile.am23
4 files changed, 21 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/powerpc/helas403/ChangeLog b/c/src/lib/libbsp/powerpc/helas403/ChangeLog
index 07e608a66e..55287935d1 100644
--- a/c/src/lib/libbsp/powerpc/helas403/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/helas403/ChangeLog
@@ -1,3 +1,9 @@
+2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * dlentry/Makefile.am: Eliminate VPATH.
+ * flashentry/Makefile.am: Eliminate VPATH.
+ * startup/Makefile.am: Eliminate VPATH.
+
2003-12-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* startup/linkcmds: Remove SEARCH_DIR.
diff --git a/c/src/lib/libbsp/powerpc/helas403/dlentry/Makefile.am b/c/src/lib/libbsp/powerpc/helas403/dlentry/Makefile.am
index d6280d9825..3e8d1ce7db 100644
--- a/c/src/lib/libbsp/powerpc/helas403/dlentry/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/helas403/dlentry/Makefile.am
@@ -21,7 +21,7 @@ $(PGM): $(OBJS)
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
-all-local: $(OBJS) $(PGM)
+all-local: $(PGM)
.PRECIOUS: $(PGM)
diff --git a/c/src/lib/libbsp/powerpc/helas403/flashentry/Makefile.am b/c/src/lib/libbsp/powerpc/helas403/flashentry/Makefile.am
index 2926759b68..41e3e9c686 100644
--- a/c/src/lib/libbsp/powerpc/helas403/flashentry/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/helas403/flashentry/Makefile.am
@@ -21,7 +21,7 @@ $(PGM): $(OBJS)
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
-all-local: $(OBJS) $(PGM)
+all-local: $(PGM)
.PRECIOUS: $(PGM)
diff --git a/c/src/lib/libbsp/powerpc/helas403/startup/Makefile.am b/c/src/lib/libbsp/powerpc/helas403/startup/Makefile.am
index 492d86d183..d5b28c5348 100644
--- a/c/src/lib/libbsp/powerpc/helas403/startup/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/helas403/startup/Makefile.am
@@ -2,22 +2,25 @@
## $Id$
##
-VPATH = @srcdir@:@srcdir@/../../../shared
-
PGM = $(ARCH)/startup.rel
-C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
- setvec.c gnatinstallhandler.c
-C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
-
-OBJS = $(C_O_FILES)
+C_FILES = bspclean.c bspstart.c setvec.c
+OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
include $(top_srcdir)/../../../../automake/compile.am
include $(top_srcdir)/../../../../automake/lib.am
-#
-# (OPTIONAL) Add local stuff here using +=
-#
+shared_C_FILES = $(top_srcdir)/../../shared/bootcard.c
+shared_C_FILES += $(top_srcdir)/../../shared/bsplibc.c
+shared_C_FILES += $(top_srcdir)/../../shared/bsppost.c
+shared_C_FILES += $(top_srcdir)/../../shared/main.c
+shared_C_FILES += $(top_srcdir)/../../shared/sbrk.c
+shared_C_FILES += $(top_srcdir)/../../shared/gnatinstallhandler.c
+OBJS += \
+ $(shared_C_FILES:$(top_srcdir)/../../shared/%.c=$(ARCH)/%.$(OBJEXT))
+
+$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../shared/%.c $(ARCH)/$(dirstamp)
+ ${COMPILE} -o $@ -c $<
$(PGM): $(OBJS)
$(make-rel)