From 006a432a626e7a392b5201196fc1c84ea4500ea9 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 22 Dec 2003 16:09:19 +0000 Subject: 2003-12-22 Ralf Corsepius * 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. --- c/src/lib/libbsp/powerpc/eth_comm/ChangeLog | 9 ++++++++ .../lib/libbsp/powerpc/eth_comm/canbus/Makefile.am | 2 +- .../lib/libbsp/powerpc/eth_comm/clock/Makefile.am | 14 +++---------- .../libbsp/powerpc/eth_comm/console/Makefile.am | 2 +- c/src/lib/libbsp/powerpc/eth_comm/irq/Makefile.am | 9 ++------ .../libbsp/powerpc/eth_comm/network/Makefile.am | 2 +- .../libbsp/powerpc/eth_comm/startup/Makefile.am | 24 +++++++++++++--------- 7 files changed, 31 insertions(+), 31 deletions(-) (limited to 'c') 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 + + * 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 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) -- cgit v1.2.3