diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-12 16:38:56 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-12 16:38:56 +0000 |
commit | 69537ca9eccfa12142dea588fa34b70a6d220705 (patch) | |
tree | 6480f82ae96a1614df3d0719635213e194dc66ae /c/src/lib/libbsp/i386/i386ex/wrapup/Makefile.am | |
parent | Called symbol table ".nm" not .num like every other BSP. (diff) | |
download | rtems-69537ca9eccfa12142dea588fa34b70a6d220705.tar.bz2 |
Patch rtems-rc-20000104-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that converts the libbsp/i386 subdirectory to full automake.
Diffstat (limited to 'c/src/lib/libbsp/i386/i386ex/wrapup/Makefile.am')
-rw-r--r-- | c/src/lib/libbsp/i386/i386ex/wrapup/Makefile.am | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/i386ex/wrapup/Makefile.am b/c/src/lib/libbsp/i386/i386ex/wrapup/Makefile.am new file mode 100644 index 0000000000..6bef023a8c --- /dev/null +++ b/c/src/lib/libbsp/i386/i386ex/wrapup/Makefile.am @@ -0,0 +1,39 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +# We only build the Network library if HAS_NETWORKING was defined +# dec21140 is supported via libchip +if HAS_NETWORKING +NETWORK = network +endif + +BSP_FILES = startup clock console timer $(NETWORK) +GENERIC_FILES = + +# bummer; have to use $foreach since % pattern subst rules only replace 1x +OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ + $(foreach piece, $(GENERIC_FILES), \ + ../../../$(piece)/$(ARCH)/$(piece).rel) +LIB = $(ARCH)/libbsp.a + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +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} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES) + +include $(top_srcdir)/../../../../../../automake/local.am |