forked from Imagelibrary/rtems
2004-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge-in clock/Makefile.am, console/Makefile.am, network/Makefile.am, irq/Makefile.am, start/Makefile.am, startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am. Use automake compilation rules. * clock/Makefile.am, console/Makefile.am, network/Makefile.am, irq/Makefile.am, start/Makefile.am, startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am: Remove. * configure.ac: Reflect changes above.
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
2004-01-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* Makefile.am: Merge-in clock/Makefile.am, console/Makefile.am,
|
||||||
|
network/Makefile.am, irq/Makefile.am, start/Makefile.am,
|
||||||
|
startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am. Use automake
|
||||||
|
compilation rules.
|
||||||
|
* clock/Makefile.am, console/Makefile.am, network/Makefile.am,
|
||||||
|
irq/Makefile.am, start/Makefile.am, startup/Makefile.am,
|
||||||
|
timer/Makefile.am, wrapup/Makefile.am: Remove.
|
||||||
|
* configure.ac: Reflect changes above.
|
||||||
|
|
||||||
2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am: Add PREINSTALL_DIRS.
|
* Makefile.am: Add PREINSTALL_DIRS.
|
||||||
|
|||||||
@@ -4,30 +4,160 @@
|
|||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I ../../../../aclocal
|
ACLOCAL_AMFLAGS = -I ../../../../aclocal
|
||||||
|
|
||||||
# wrapup is the one that actually builds and installs the library
|
include $(top_srcdir)/../../../../automake/compile.am
|
||||||
# from the individual .rel files built in other directories
|
|
||||||
SUBDIRS = . clock console irq startup timer start network wrapup
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../bsp.am
|
include $(top_srcdir)/../../bsp.am
|
||||||
|
|
||||||
|
EXTRA_PROGRAMS =
|
||||||
|
CLEANFILES =
|
||||||
|
noinst_DATA =
|
||||||
|
|
||||||
include_HEADERS += include/ep7312.h
|
include_HEADERS += include/ep7312.h
|
||||||
|
nodist_include_HEADERS += ../../shared/include/coverhd.h
|
||||||
|
|
||||||
nodist_include_HEADERS += $(top_srcdir)/../../shared/include/coverhd.h
|
EXTRA_DIST = start/start.S
|
||||||
|
start$(LIB_VARIANT).$(OBJEXT): start/start.S
|
||||||
|
${CCASCOMPILE} -DASM -o $@ -c $<
|
||||||
|
project_lib_DATA = start$(LIB_VARIANT).$(OBJEXT)
|
||||||
|
|
||||||
all-local: $(PREINSTALL_FILES)
|
dist_project_lib_DATA += startup/linkcmds
|
||||||
|
|
||||||
|
EXTRA_PROGRAMS += startup.rel
|
||||||
|
CLEANFILES += startup.rel
|
||||||
|
startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
|
||||||
|
startup/bspstart.c startup/exit.c ../../shared/bootcard.c \
|
||||||
|
../../shared/main.c ../../shared/sbrk.c \
|
||||||
|
../../shared/gnatinstallhandler.c
|
||||||
|
startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
|
||||||
|
startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
EXTRA_PROGRAMS += startup_g.rel
|
||||||
|
CLEANFILES += startup_g.rel
|
||||||
|
startup_g_rel_SOURCES = $(startup_rel_SOURCES)
|
||||||
|
startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
|
||||||
|
startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
noinst_DATA += startup$(LIB_VARIANT).rel
|
||||||
|
|
||||||
|
EXTRA_PROGRAMS += clock.rel
|
||||||
|
CLEANFILES += clock.rel
|
||||||
|
clock_rel_SOURCES = clock/clockdrv.c
|
||||||
|
clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
|
||||||
|
clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
EXTRA_PROGRAMS += clock_g.rel
|
||||||
|
CLEANFILES += clock_g.rel
|
||||||
|
clock_g_rel_SOURCES = $(clock_rel_SOURCES)
|
||||||
|
clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
|
||||||
|
clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
noinst_DATA += clock$(LIB_VARIANT).rel
|
||||||
|
|
||||||
|
EXTRA_PROGRAMS += console.rel
|
||||||
|
CLEANFILES += console.rel
|
||||||
|
console_rel_SOURCES = console/uart.c ../../shared/console.c
|
||||||
|
console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
|
||||||
|
console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
EXTRA_PROGRAMS += console_g.rel
|
||||||
|
CLEANFILES += console_g.rel
|
||||||
|
console_g_rel_SOURCES = $(console_rel_SOURCES)
|
||||||
|
console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
|
||||||
|
console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
noinst_DATA += console$(LIB_VARIANT).rel
|
||||||
|
|
||||||
|
EXTRA_PROGRAMS += timer.rel
|
||||||
|
CLEANFILES += timer.rel
|
||||||
|
timer_rel_SOURCES = timer/timer.c
|
||||||
|
timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
|
||||||
|
timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
EXTRA_PROGRAMS += timer_g.rel
|
||||||
|
CLEANFILES += timer_g.rel
|
||||||
|
timer_g_rel_SOURCES = $(timer_rel_SOURCES)
|
||||||
|
timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
|
||||||
|
timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
noinst_DATA += timer$(LIB_VARIANT).rel
|
||||||
|
|
||||||
|
include_HEADERS += irq/irq.h
|
||||||
|
|
||||||
|
EXTRA_PROGRAMS += irq.rel
|
||||||
|
CLEANFILES += irq.rel
|
||||||
|
irq_rel_SOURCES = irq/irq.c irq/bsp_irq_init.c ../shared/irq/irq_init.c \
|
||||||
|
irq/bsp_irq_asm.S ../shared/irq/irq_asm.S irq/irq.h
|
||||||
|
irq_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
|
||||||
|
irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
EXTRA_PROGRAMS += irq_g.rel
|
||||||
|
CLEANFILES += irq_g.rel
|
||||||
|
irq_g_rel_SOURCES = $(irq_rel_SOURCES)
|
||||||
|
irq_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
|
||||||
|
irq_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
noinst_DATA += irq$(LIB_VARIANT).rel
|
||||||
|
|
||||||
|
if HAS_NETWORKING
|
||||||
|
network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
|
||||||
|
EXTRA_PROGRAMS += network.rel
|
||||||
|
CLEANFILES += network.rel
|
||||||
|
network_rel_SOURCES = network/network.c
|
||||||
|
network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
|
||||||
|
$(network_CPPFLAGS)
|
||||||
|
network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
EXTRA_PROGRAMS += network_g.rel
|
||||||
|
CLEANFILES += network_g.rel
|
||||||
|
network_g_rel_SOURCES = $(network_rel_SOURCES)
|
||||||
|
network_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \
|
||||||
|
$(network_CPPFLAGS)
|
||||||
|
network_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
|
||||||
|
|
||||||
|
noinst_DATA += network$(LIB_VARIANT).rel
|
||||||
|
endif
|
||||||
|
|
||||||
|
EXTRA_LIBRARIES = libbsp.a
|
||||||
|
CLEANFILES += libbsp.a
|
||||||
|
libbsp_a_SOURCES =
|
||||||
|
libbsp_a_LIBADD = clock$(LIB_VARIANT).rel console$(LIB_VARIANT).rel \
|
||||||
|
startup$(LIB_VARIANT).rel irq$(LIB_VARIANT).rel timer$(LIB_VARIANT).rel
|
||||||
|
if HAS_NETWORKING
|
||||||
|
libbsp_a_LIBADD += network$(LIB_VARIANT).rel
|
||||||
|
endif
|
||||||
|
EXTRA_LIBRARIES += libbsp_g.a
|
||||||
|
CLEANFILES += libbsp_g.a
|
||||||
|
libbsp_g_a_SOURCES = $(libbsp_a_SOURCES)
|
||||||
|
libbsp_g_a_LIBADD = $(libbsp_a_LIBADD)
|
||||||
|
|
||||||
|
noinst_DATA += libbsp$(LIB_VARIANT).a
|
||||||
|
|
||||||
|
all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
PREINSTALL_DIRS =
|
PREINSTALL_DIRS =
|
||||||
|
TMPINSTALL_FILES =
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/ep7312.h: include/ep7312.h $(PROJECT_INCLUDE)/$(dirstamp)
|
$(PROJECT_INCLUDE)/ep7312.h: include/ep7312.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ep7312.h
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ep7312.h
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/ep7312.h
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/ep7312.h
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
|
$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
|
||||||
|
|
||||||
CLEANFILES = $(PREINSTALL_FILES)
|
$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
|
||||||
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
$(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
|
||||||
|
TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
|
||||||
|
|
||||||
|
$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
|
||||||
|
TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/irq.h: irq/irq.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
|
||||||
|
|
||||||
|
CLEANFILES += $(PREINSTALL_FILES)
|
||||||
|
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
||||||
|
CLEANFILES += $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/subdirs.am
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
|
|||||||
@@ -1,30 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
PGM = $(ARCH)/clock.rel
|
|
||||||
|
|
||||||
C_FILES = clockdrv.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
|
||||||
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
$(PGM): $(OBJS)
|
|
||||||
$(make-rel)
|
|
||||||
|
|
||||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM)
|
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
|
||||||
|
|
||||||
EXTRA_DIST = ckinit.c
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
|
||||||
@@ -8,23 +8,16 @@ AC_CONFIG_SRCDIR([bsp_specs])
|
|||||||
RTEMS_TOP(../../../../../..)
|
RTEMS_TOP(../../../../../..)
|
||||||
|
|
||||||
RTEMS_CANONICAL_TARGET_CPU
|
RTEMS_CANONICAL_TARGET_CPU
|
||||||
AM_INIT_AUTOMAKE([no-define foreign 1.8])
|
AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.8])
|
||||||
RTEMS_BSP_CONFIGURE
|
RTEMS_BSP_CONFIGURE
|
||||||
|
|
||||||
RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
|
RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
|
||||||
RTEMS_CANONICALIZE_TOOLS
|
RTEMS_CANONICALIZE_TOOLS
|
||||||
|
RTEMS_PROG_CCAS
|
||||||
|
|
||||||
RTEMS_CHECK_NETWORKING
|
RTEMS_CHECK_NETWORKING
|
||||||
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
|
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
|
||||||
|
|
||||||
# Explicitly list all Makefiles here
|
# Explicitly list all Makefiles here
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile])
|
||||||
clock/Makefile
|
|
||||||
console/Makefile
|
|
||||||
irq/Makefile
|
|
||||||
start/Makefile
|
|
||||||
startup/Makefile
|
|
||||||
timer/Makefile
|
|
||||||
network/Makefile
|
|
||||||
wrapup/Makefile])
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/../../shared/io:@srcdir@/../../../shared
|
|
||||||
|
|
||||||
PGM = $(ARCH)/console.rel
|
|
||||||
|
|
||||||
C_FILES = uart.c console.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
|
||||||
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -I $(srcdir)/../irq
|
|
||||||
|
|
||||||
$(PGM): $(OBJS)
|
|
||||||
$(make-rel)
|
|
||||||
|
|
||||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM)
|
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
|
||||||
|
|
||||||
EXTRA_DIST = uart.c console.c
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
|
||||||
@@ -1,54 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/../../shared/irq
|
|
||||||
|
|
||||||
PGM = $(ARCH)/irq.rel
|
|
||||||
|
|
||||||
C_FILES = irq.c bsp_irq_init.c irq_init.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
|
||||||
|
|
||||||
S_FILES = bsp_irq_asm.S irq_asm.S
|
|
||||||
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
|
|
||||||
|
|
||||||
include_HEADERS = irq.h
|
|
||||||
|
|
||||||
OBJS = $(C_O_FILES) $(S_O_FILES)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
AM_CPPFLAGS += -I$(srcdir)
|
|
||||||
|
|
||||||
$(PGM): $(OBJS)
|
|
||||||
$(make-rel)
|
|
||||||
|
|
||||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM)
|
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
|
||||||
|
|
||||||
EXTRA_DIST = bsp_irq_asm.S bsp_irq_init.c irq.c
|
|
||||||
|
|
||||||
PREINSTALL_DIRS =
|
|
||||||
PREINSTALL_FILES =
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/$(dirstamp):
|
|
||||||
@$(mkdir_p) $(PROJECT_INCLUDE)
|
|
||||||
@: > $(PROJECT_INCLUDE)/$(dirstamp)
|
|
||||||
PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/irq.h: irq.h $(PROJECT_INCLUDE)/$(dirstamp)
|
|
||||||
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
|
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
|
|
||||||
|
|
||||||
CLEANFILES = $(PREINSTALL_FILES)
|
|
||||||
DISTCLEANFILES = $(PREINSTALL_DIRS)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
PGM = $(ARCH)/network.rel
|
|
||||||
|
|
||||||
C_FILES = network.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
|
||||||
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
|
|
||||||
|
|
||||||
$(PGM): $(OBJS)
|
|
||||||
$(make-rel)
|
|
||||||
|
|
||||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
|
||||||
|
|
||||||
if HAS_NETWORKING
|
|
||||||
all-local: $(OBJS) $(PGM)
|
|
||||||
endif
|
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
|
||||||
|
|
||||||
EXTRA_DIST = network.c
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
PGMS = $(ARCH)/start.o
|
|
||||||
|
|
||||||
S_FILES = start.S
|
|
||||||
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
|
||||||
|
|
||||||
OBJS = $(S_O_FILES)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
|
||||||
include $(top_srcdir)/../../bspstart.am
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
|
|
||||||
|
|
||||||
all-local: $(TMPINSTALL_FILES)
|
|
||||||
|
|
||||||
EXTRA_DIST = start.S
|
|
||||||
|
|
||||||
TMPINSTALL_FILES =
|
|
||||||
|
|
||||||
$(PROJECT_LIB)/$(dirstamp):
|
|
||||||
@$(mkdir_p) $(PROJECT_LIB)
|
|
||||||
@: > $(PROJECT_LIB)/$(dirstamp)
|
|
||||||
TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
|
|
||||||
|
|
||||||
$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
|
|
||||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
|
|
||||||
TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
|
|
||||||
|
|
||||||
CLEANFILES = $(TMPINSTALL_FILES)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
##
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/../../../shared
|
|
||||||
|
|
||||||
PGM = $(ARCH)/startup.rel
|
|
||||||
|
|
||||||
C_FILES = bsplibc.c bsppost.c bspstart.c exit.c bootcard.c main.c sbrk.c \
|
|
||||||
gnatinstallhandler.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
|
||||||
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
$(PGM): $(OBJS)
|
|
||||||
$(make-rel)
|
|
||||||
|
|
||||||
project_lib_DATA = linkcmds
|
|
||||||
|
|
||||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
|
||||||
|
|
||||||
all-local: $(PGM) $(TMPINSTALL_FILES)
|
|
||||||
|
|
||||||
EXTRA_DIST = bspstart.c exit.c linkcmds
|
|
||||||
|
|
||||||
TMPINSTALL_FILES =
|
|
||||||
|
|
||||||
$(PROJECT_LIB)/$(dirstamp):
|
|
||||||
@$(mkdir_p) $(PROJECT_LIB)
|
|
||||||
@: > $(PROJECT_LIB)/$(dirstamp)
|
|
||||||
TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
|
|
||||||
|
|
||||||
$(PROJECT_LIB)/linkcmds: linkcmds $(PROJECT_LIB)/$(dirstamp)
|
|
||||||
$(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
|
|
||||||
TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
|
|
||||||
|
|
||||||
CLEANFILES = $(TMPINSTALL_FILES)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/../../../shared
|
|
||||||
|
|
||||||
PGM = $(ARCH)/timer.rel
|
|
||||||
|
|
||||||
C_FILES = timer.c
|
|
||||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
|
||||||
|
|
||||||
OBJS = $(C_O_FILES)
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
|
||||||
|
|
||||||
#
|
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
|
||||||
#
|
|
||||||
|
|
||||||
$(PGM): $(OBJS)
|
|
||||||
$(make-rel)
|
|
||||||
|
|
||||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
|
||||||
|
|
||||||
all-local: $(OBJS) $(PGM)
|
|
||||||
|
|
||||||
.PRECIOUS: $(PGM)
|
|
||||||
|
|
||||||
EXTRA_DIST = timer.c
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
##
|
|
||||||
## $Id$
|
|
||||||
##
|
|
||||||
|
|
||||||
BSP_FILES = clock console startup irq timer network start
|
|
||||||
|
|
||||||
# bummer; have to use $foreach since % pattern subst rules only replace 1x
|
|
||||||
OBJS = $(foreach piece, $(BSP_FILES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
|
|
||||||
$(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.$(OBJEXT)) \
|
|
||||||
$(wildcard \
|
|
||||||
../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/*/$(ARCH)/*.$(OBJEXT))
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
|
||||||
|
|
||||||
$(ARCH)/libbsp.a: ${OBJS}
|
|
||||||
$(make-library)
|
|
||||||
|
|
||||||
noinst_DATA = $(ARCH)/libbsp.a
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
|
||||||
Reference in New Issue
Block a user