## ## $Id$ ## if HAS_MP BSP_MP_O_FILES = shmsupp endif BSP_FILES = startup clock console timer $(BSP_MP_O_FILES) # bummer; have to use $foreach since % pattern subst rules only replace 1x OBJS = $(foreach piece, $(BSP_FILES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) LIB = $(ARCH)/libbsp.a include $(top_srcdir)/../../../../automake/compile.am include $(top_srcdir)/../../../../automake/lib.am $(LIB): $(OBJS) $(make-library) all-local: $(LIB) include $(top_srcdir)/../../../../automake/local.am