forked from Imagelibrary/rtems
2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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.
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* 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 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
PR 545/bsps
|
PR 545/bsps
|
||||||
|
|||||||
@@ -2,22 +2,14 @@
|
|||||||
## $Id$
|
## $Id$
|
||||||
##
|
##
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/../../shared/clock
|
|
||||||
|
|
||||||
C_FILES = p_clock.c
|
C_FILES = p_clock.c
|
||||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
||||||
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
include $(top_srcdir)/../../../../automake/compile.am
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
include $(top_srcdir)/../../../../automake/lib.am
|
||||||
|
|
||||||
#
|
# the .o files built here will be put into libbsp.a by ../wrapup/Makefile
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
noinst_DATA = $(OBJS)
|
||||||
|
|
||||||
all-local: $(OBJS)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ $(PGM): $(OBJS)
|
|||||||
|
|
||||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM)
|
all-local: $(PGM)
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
.PRECIOUS: $(PGM)
|
||||||
|
|
||||||
|
|||||||
@@ -15,16 +15,11 @@ OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
|||||||
include $(top_srcdir)/../../../../automake/compile.am
|
include $(top_srcdir)/../../../../automake/compile.am
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
include $(top_srcdir)/../../../../automake/lib.am
|
||||||
|
|
||||||
#
|
noinst_DATA = $(OBJS)
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
$(PGM): $(OBJS)
|
# the .o files built here will be put into libbsp.a by ../wrapup/Makefile
|
||||||
$(make-rel)
|
|
||||||
|
|
||||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
all-local: $(PREINSTALL_FILES)
|
||||||
|
|
||||||
all-local: $(PREINSTALL_FILES) $(OBJS) $(PGM)
|
|
||||||
|
|
||||||
EXTRA_DIST = irq.c irq.h irq_asm.S irq_init.c
|
EXTRA_DIST = irq.c irq.h irq_asm.S irq_init.c
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ $(PGM): $(OBJS)
|
|||||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||||
|
|
||||||
if HAS_NETWORKING
|
if HAS_NETWORKING
|
||||||
all-local: $(OBJS) $(PGM)
|
all-local: $(PGM)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
.PRECIOUS: $(PGM)
|
||||||
|
|||||||
@@ -2,22 +2,26 @@
|
|||||||
## $Id$
|
## $Id$
|
||||||
##
|
##
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/../../../shared
|
|
||||||
|
|
||||||
PGM = $(ARCH)/startup.rel
|
PGM = $(ARCH)/startup.rel
|
||||||
|
|
||||||
C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
|
C_FILES = bspstart.c cpuinit.c
|
||||||
setvec.c gnatinstallhandler.c cpuinit.c
|
OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
||||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
|
||||||
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
include $(top_srcdir)/../../../../automake/compile.am
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
include $(top_srcdir)/../../../../automake/lib.am
|
||||||
|
|
||||||
#
|
shared_C_FILES = $(top_srcdir)/../../shared/bootcard.c
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
shared_C_FILES += $(top_srcdir)/../../shared/bspclean.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)
|
$(PGM): $(OBJS)
|
||||||
$(make-rel)
|
$(make-rel)
|
||||||
@@ -28,7 +32,7 @@ project_lib_DATA = linkcmds
|
|||||||
|
|
||||||
all-local: $(PGM) $(TMPINSTALL_FILES)
|
all-local: $(PGM) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
EXTRA_DIST = bspstart.c linkcmds setvec.c
|
EXTRA_DIST = linkcmds $(C_FILES)
|
||||||
|
|
||||||
$(PROJECT_LIB)/$(dirstamp):
|
$(PROJECT_LIB)/$(dirstamp):
|
||||||
@$(mkdir_p) $(PROJECT_LIB)
|
@$(mkdir_p) $(PROJECT_LIB)
|
||||||
|
|||||||
Reference in New Issue
Block a user