diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-11-13 22:40:29 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-11-13 22:40:29 +0000 |
commit | b21b0ab3e77d91fc32e4324d3dfaf57ce24096ab (patch) | |
tree | f20f740d0789c29c4ee5784b1455ef841c14ae36 /c/src/lib/libbsp/sparc/leon/wrapup/Makefile.am | |
parent | 2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl> (diff) | |
download | rtems-b21b0ab3e77d91fc32e4324d3dfaf57ce24096ab.tar.bz2 |
2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs,
configure.in, times, clock/.cvsignore, clock/Makefile.am,
clock/ckinit.c, console/.cvsignore, console/Makefile.am,
console/console.c, console/consolereserveresources.c,
console/debugputs.c, gnatsupp/.cvsignore,
gnatsupp/Makefile.am, gnatsupp/gnatsupp.c,
include/.cvsignore, include/Makefile.am, include/bsp.h,
include/coverhd.h, include/leon.h, start/.cvsignore,
start/Makefile.am, startup/.cvsignore, startup/Makefile.am,
startup/boardinit.S, startup/linkcmds, startup/setvec.c,
startup/spurious.c, timer/.cvsignore, timer/Makefile.am,
timer/timer.c, tools/.cvsignore, tools/Makefile.am,
tools/configure.in, tools/runtest.in, wrapup/.cvsignore,
wrapup/Makefile.am: New file.
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon/wrapup/Makefile.am')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon/wrapup/Makefile.am | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/leon/wrapup/Makefile.am b/c/src/lib/libbsp/sparc/leon/wrapup/Makefile.am new file mode 100644 index 0000000000..56ffe742f3 --- /dev/null +++ b/c/src/lib/libbsp/sparc/leon/wrapup/Makefile.am @@ -0,0 +1,40 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +#if HAS_NETWORKING +#NETWORKING_DRIVER = network +#endif + +BSP_PIECES = startup console clock timer gnatsupp $(NETWORK) +# pieces to pick up out of libcpu/sparc +CPU_PIECES = reg_win syscall + +# bummer; have to use $foreach since % pattern subst rules only replace 1x +OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ + $(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) +LIB = $(ARCH)/libbsp.a + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../../../../automake/compile.am +include $(top_srcdir)/../../../../../../automake/lib.am + +# +# (OPTIONAL) Add local stuff here using += +# + +$(LIB): $(OBJS) + $(make-library) + +$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB) + $(INSTALL_DATA) $< $@ + +TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a + +all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES) + +.PRECIOUS: $(LIB) + +include $(top_srcdir)/../../../../../../automake/local.am |