From 919822f96141e66cea272c1695131f76f583e8b2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 27 Oct 1999 16:19:24 +0000 Subject: Replaced Makefile.in's with modified copies of cvme961 to get autoconf/automake changes. --- c/src/lib/libbsp/i960/rxgen960/wrapup/Makefile.in | 59 ++++++++++++++++------- 1 file changed, 41 insertions(+), 18 deletions(-) (limited to 'c/src/lib/libbsp/i960/rxgen960/wrapup/Makefile.in') diff --git a/c/src/lib/libbsp/i960/rxgen960/wrapup/Makefile.in b/c/src/lib/libbsp/i960/rxgen960/wrapup/Makefile.in index 11ca32d8c7..26779eeaf8 100644 --- a/c/src/lib/libbsp/i960/rxgen960/wrapup/Makefile.in +++ b/c/src/lib/libbsp/i960/rxgen960/wrapup/Makefile.in @@ -4,32 +4,49 @@ @SET_MAKE@ srcdir = @srcdir@ -VPATH = @srcdir@ -RTEMS_ROOT = @top_srcdir@ -PROJECT_ROOT = @PROJECT_ROOT@ +top_srcdir = @top_srcdir@ +top_builddir = ../../.. +subdir = i960/rxgen960/wrapup -BSP_PIECES=startup clock console shmsupp timer -GENERIC_PIECES=shmdr +RTEMS_ROOT = @RTEMS_ROOT@ +PROJECT_ROOT = @PROJECT_ROOT@ -# bummer; have to use $foreach since % pattern subst rules only replace 1x -OBJS=$(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \ - $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel) -LIB=$(ARCH)/libbsp.a +VPATH = @srcdir@ -include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/lib.cfg +INSTALL = @INSTALL@ +INSTALL_CHANGE = @INSTALL_CHANGE@ + +BSP_PIECES = startup clock console timer +GENERIC_PIECES = + +GENERIC_MP_REL_PIECES_yes_V = shmdr +GENERIC_MP_REL_PIECES_no_V = +GENERIC_PIECES += $(GENERIC_MP_REL_PIECES_$(HAS_MP)_V) + +BSP_MP_O_PIECES_yes_V = shmsupp +BSP_MP_O_PIECES_no_V = +BSP_PIECES += $(BSP_MP_O_PIECES_$(HAS_MP)_V) + +# bummer; have to use $foreach since % pattern subst rules only replace 1x +OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ + $(foreach piece, $(GENERIC_PIECES), \ + ../../../$(piece)/$(ARCH)/$(piece).rel) +LIB = $(ARCH)/libbsp.a + # # (OPTIONAL) Add local stuff here using += # -DEFINES += +DEFINES += CPPFLAGS += -CFLAGS += +CFLAGS += -LD_PATHS += -LD_LIBS += -LDFLAGS += +LD_PATHS += +LD_LIBS += +LDFLAGS += # # Add your list of files to delete here. The config files @@ -44,8 +61,14 @@ CLOBBER_ADDITIONS += $(LIB): ${OBJS} $(make-library) -all: ${ARCH} $(SRCS) $(LIB) - $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib +all: ${ARCH} $(SRCS) $(LIB) + $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib + +install: all -install: all +$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs + $(INSTALL_DATA) $< $@ +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status -- cgit v1.2.3