forked from Imagelibrary/rtems
2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am: Eliminate VPATH. * console/Makefile.am: Eliminate VPATH. * network/Makefile.am: Eliminate VPATH. * nvram/Makefile.am: Eliminate VPATH. * pci/Makefile.am: Eliminate VPATH. * start/Makefile.am: Eliminate VPATH. * startup/Makefile.am: Eliminate VPATH. * timer/Makefile.am: Eliminate VPATH. * tod/Makefile.am: Eliminate VPATH. * universe/Makefile.am: Eliminate VPATH. * vectors/Makefile.am: Eliminate VPATH.
This commit is contained in:
@@ -1,3 +1,17 @@
|
|||||||
|
2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* clock/Makefile.am: Eliminate VPATH.
|
||||||
|
* console/Makefile.am: Eliminate VPATH.
|
||||||
|
* network/Makefile.am: Eliminate VPATH.
|
||||||
|
* nvram/Makefile.am: Eliminate VPATH.
|
||||||
|
* pci/Makefile.am: Eliminate VPATH.
|
||||||
|
* start/Makefile.am: Eliminate VPATH.
|
||||||
|
* startup/Makefile.am: Eliminate VPATH.
|
||||||
|
* timer/Makefile.am: Eliminate VPATH.
|
||||||
|
* tod/Makefile.am: Eliminate VPATH.
|
||||||
|
* universe/Makefile.am: Eliminate VPATH.
|
||||||
|
* vectors/Makefile.am: Eliminate VPATH.
|
||||||
|
|
||||||
2003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* start/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
|
* start/Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,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)
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -3,18 +3,12 @@
|
|||||||
##
|
##
|
||||||
|
|
||||||
S_FILES = start.S
|
S_FILES = start.S
|
||||||
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
OBJS = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
||||||
|
|
||||||
OBJS = $(S_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
|
||||||
include $(top_srcdir)/../../bspstart.am
|
include $(top_srcdir)/../../bspstart.am
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
|
project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
|
||||||
|
|
||||||
all-local: $(TMPINSTALL_FILES)
|
all-local: $(TMPINSTALL_FILES)
|
||||||
|
|||||||
@@ -2,31 +2,29 @@
|
|||||||
## $Id$
|
## $Id$
|
||||||
##
|
##
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/../../../shared
|
|
||||||
|
|
||||||
PGM = $(ARCH)/startup.rel
|
PGM = $(ARCH)/startup.rel
|
||||||
|
|
||||||
C_FILES = bspstart.c bspclean.c sbrk.c setvec.c spurious.c genpvec.c swap.c \
|
C_FILES = bspstart.c bspclean.c setvec.c spurious.c genpvec.c swap.c
|
||||||
main.c bootcard.c bsplibc.c bsppost.c gnatinstallhandler.c
|
OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
||||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
|
||||||
|
|
||||||
S_FILES = bsptrap.S
|
S_FILES = bsptrap.S
|
||||||
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
||||||
|
|
||||||
OBJS = $(C_O_FILES) $(S_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
|
||||||
|
|
||||||
#FIXME: What is this?
|
shared_C_FILES = $(top_srcdir)/../../shared/bootcard.c
|
||||||
# Files expected to be from the shared directory:
|
shared_C_FILES += $(top_srcdir)/../../shared/bsplibc.c
|
||||||
# sbrk bootcard main bsplibc bsppost
|
shared_C_FILES += $(top_srcdir)/../../shared/bsppost.c
|
||||||
STARTUP_C_PIECES = bspstart bspclean sbrk setvec spurious genpvec swap main \
|
shared_C_FILES += $(top_srcdir)/../../shared/main.c
|
||||||
bootcard bsplibc bsppost
|
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)
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
${COMPILE} -o $@ -c $<
|
||||||
#
|
|
||||||
|
|
||||||
$(PGM): $(OBJS)
|
$(PGM): $(OBJS)
|
||||||
$(make-rel)
|
$(make-rel)
|
||||||
@@ -35,8 +33,7 @@ project_lib_DATA = linkcmds
|
|||||||
|
|
||||||
all-local: $(PGM) $(TMPINSTALL_FILES)
|
all-local: $(PGM) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
EXTRA_DIST = bspclean.c bspstart.c bsptrap.S genpvec.c linkcmds \
|
EXTRA_DIST = linkcmds $(C_FILES) $(S_FILES)
|
||||||
rtems-ctor.cc setvec.c spurious.c swap.c
|
|
||||||
|
|
||||||
$(PROJECT_LIB)/$(dirstamp):
|
$(PROJECT_LIB)/$(dirstamp):
|
||||||
@$(mkdir_p) $(PROJECT_LIB)
|
@$(mkdir_p) $(PROJECT_LIB)
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user