diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-03-20 17:16:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-03-20 17:16:31 +0000 |
commit | 50cf94da7e57a9e83d7c0753dd55eae5fd55455a (patch) | |
tree | 288068f2a62470daa8f84477db5439d1828818f7 /c/src/lib/libbsp/sh/gensh1/wrapup | |
parent | Patch from Ralf Corsepius to properly detect that Cygwin32 does not (diff) | |
download | rtems-50cf94da7e57a9e83d7c0753dd55eae5fd55455a.tar.bz2 |
SH port submitted from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
Diffstat (limited to 'c/src/lib/libbsp/sh/gensh1/wrapup')
-rw-r--r-- | c/src/lib/libbsp/sh/gensh1/wrapup/Makefile.in | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sh/gensh1/wrapup/Makefile.in b/c/src/lib/libbsp/sh/gensh1/wrapup/Makefile.in new file mode 100644 index 0000000000..ef0fa74558 --- /dev/null +++ b/c/src/lib/libbsp/sh/gensh1/wrapup/Makefile.in @@ -0,0 +1,64 @@ +# +# $Id $ +# +# $Id$ +# +# build and install libbsp +# + +@SET_MAKE@ +srcdir = @srcdir@ +VPATH=@srcdir@ +RTEMS_ROOT = @top_srcdir@ +PROJECT_ROOT = @PROJECT_ROOT@ + +BSP_PIECES=startup +GENERIC_PIECES= + +# pieces to pick up out of libcpu/sh +CPU_PIECES=\ + sh7032/null \ + sh7032/clock \ + sh7032/console \ + sh7032/timer + +# bummer; have to use $foreach since % pattern subst rules only replace 1x +OBJS=$(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \ + $(foreach piece, $(CPU_PIECES), \ + ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(notdir $(piece)).rel) \ + $(foreach piece, $(GENERIC_PIECES), ../../../../$(piece)/$(ARCH)/$(piece).rel) + +LIB=$(ARCH)/libbsp.a + +include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg +include $(RTEMS_ROOT)/make/lib.cfg + +# +# (OPTIONAL) Add local stuff here using += +# + +DEFINES += +CPPFLAGS += +CFLAGS += + +LD_PATHS += +LD_LIBS += +LDFLAGS += + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +$(LIB): ${OBJS} + $(make-library) + +all: ${ARCH} $(SRCS) $(LIB) + $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib + +install: all |