summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-12-22 16:09:19 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-12-22 16:09:19 +0000
commit006a432a626e7a392b5201196fc1c84ea4500ea9 (patch)
treee8c6a5f69cc47889b460d558ad5502ce1451c8b0 /c/src/lib/libbsp
parent2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-006a432a626e7a392b5201196fc1c84ea4500ea9.tar.bz2
2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* canbus/Makefile.am: Eliminate VPATH. * clock/Makefile.am: Eliminate VPATH. * console/Makefile.am: Eliminate VPATH. * irq/Makefile.am: Eliminate VPATH. * network/Makefile.am: Eliminate VPATH. * startup/Makefile.am: Eliminate VPATH.
Diffstat (limited to 'c/src/lib/libbsp')
-rw-r--r--c/src/lib/libbsp/powerpc/eth_comm/ChangeLog9
-rw-r--r--c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.am2
-rw-r--r--c/src/lib/libbsp/powerpc/eth_comm/clock/Makefile.am14
-rw-r--r--c/src/lib/libbsp/powerpc/eth_comm/console/Makefile.am2
-rw-r--r--c/src/lib/libbsp/powerpc/eth_comm/irq/Makefile.am9
-rw-r--r--c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.am2
-rw-r--r--c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.am24
7 files changed, 31 insertions, 31 deletions
diff --git a/c/src/lib/libbsp/powerpc/eth_comm/ChangeLog b/c/src/lib/libbsp/powerpc/eth_comm/ChangeLog
index ecdaef17fe..9ae5824188 100644
--- a/c/src/lib/libbsp/powerpc/eth_comm/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/eth_comm/ChangeLog
@@ -1,3 +1,12 @@
+2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * canbus/Makefile.am: Eliminate VPATH.
+ * clock/Makefile.am: Eliminate VPATH.
+ * console/Makefile.am: Eliminate VPATH.
+ * irq/Makefile.am: Eliminate VPATH.
+ * network/Makefile.am: Eliminate VPATH.
+ * startup/Makefile.am: Eliminate VPATH.
+
2003-12-19 Joel Sherrill <joel@OARcorp.com>
PR 545/bsps
diff --git a/c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.am b/c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.am
index f06044ebc3..800b170cf0 100644
--- a/c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/eth_comm/canbus/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/eth_comm/clock/Makefile.am b/c/src/lib/libbsp/powerpc/eth_comm/clock/Makefile.am
index f20d3ae2c4..4c206b4872 100644
--- a/c/src/lib/libbsp/powerpc/eth_comm/clock/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/eth_comm/clock/Makefile.am
@@ -2,22 +2,14 @@
## $Id$
##
-VPATH = @srcdir@:@srcdir@/../../shared/clock
-
C_FILES = p_clock.c
-C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
-
-OBJS = $(C_O_FILES)
+OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
include $(top_srcdir)/../../../../automake/compile.am
include $(top_srcdir)/../../../../automake/lib.am
-#
-# (OPTIONAL) Add local stuff here using +=
-#
-
-# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
+# the .o files built here will be put into libbsp.a by ../wrapup/Makefile
-all-local: $(OBJS)
+noinst_DATA = $(OBJS)
include $(top_srcdir)/../../../../automake/local.am
diff --git a/c/src/lib/libbsp/powerpc/eth_comm/console/Makefile.am b/c/src/lib/libbsp/powerpc/eth_comm/console/Makefile.am
index 9f4fde7145..c03b8ffd2f 100644
--- a/c/src/lib/libbsp/powerpc/eth_comm/console/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/eth_comm/console/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/eth_comm/irq/Makefile.am b/c/src/lib/libbsp/powerpc/eth_comm/irq/Makefile.am
index 09975e81b4..2c4a972adc 100644
--- a/c/src/lib/libbsp/powerpc/eth_comm/irq/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/eth_comm/irq/Makefile.am
@@ -15,16 +15,11 @@ OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
include $(top_srcdir)/../../../../automake/compile.am
include $(top_srcdir)/../../../../automake/lib.am
-#
-# (OPTIONAL) Add local stuff here using +=
-#
-
-$(PGM): $(OBJS)
- $(make-rel)
+noinst_DATA = $(OBJS)
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
-all-local: $(PREINSTALL_FILES) $(OBJS) $(PGM)
+all-local: $(PREINSTALL_FILES)
EXTRA_DIST = irq.c irq_asm.S irq_init.c
diff --git a/c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.am b/c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.am
index f06b55e0aa..ae7576a8ab 100644
--- a/c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.am
@@ -24,7 +24,7 @@ $(PGM): $(OBJS)
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
if HAS_NETWORKING
-all-local: $(OBJS) $(PGM)
+all-local: $(PGM)
endif
.PRECIOUS: $(PGM)
diff --git a/c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.am b/c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.am
index 4e7c143ba1..0583c764dd 100644
--- a/c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.am
@@ -2,22 +2,26 @@
## $Id$
##
-VPATH = @srcdir@:@srcdir@/../../../shared
-
PGM = $(ARCH)/startup.rel
-C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c cpuinit.c \
- main.c mmutlbtab.c sbrk.c gnatinstallhandler.c
-C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
-
-OBJS = $(C_O_FILES)
+C_FILES = bspstart.c cpuinit.c mmutlbtab.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/bspclean.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)