From 5dc5398d8181108e1bba59bba7fe9e2fb85710c0 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 18 Dec 2003 23:30:51 +0000 Subject: 2003-12-18 Ralf Corsepius * start/Makefile.am: Eliminate VPATH. --- c/src/lib/libbsp/sparc/leon/start/Makefile.am | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'c/src/lib/libbsp/sparc/leon/start/Makefile.am') diff --git a/c/src/lib/libbsp/sparc/leon/start/Makefile.am b/c/src/lib/libbsp/sparc/leon/start/Makefile.am index cd37504367..bf3b3b7358 100644 --- a/c/src/lib/libbsp/sparc/leon/start/Makefile.am +++ b/c/src/lib/libbsp/sparc/leon/start/Makefile.am @@ -2,16 +2,13 @@ ## $Id$ ## -VPATH = @srcdir@:@srcdir@/../../shared - -S_FILES = start.S -S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) +S_FILES = $(top_srcdir)/../shared/start.S +S_O_FILES = $(S_FILES:$(top_srcdir)/../shared/%.S=$(ARCH)/%.$(OBJEXT)) OBJS = $(S_O_FILES) include $(top_srcdir)/../../../../automake/compile.am include $(top_srcdir)/../../../../automake/lib.am -include $(top_srcdir)/../../bspstart.am # # (OPTIONAL) Add local stuff here using += @@ -19,9 +16,10 @@ include $(top_srcdir)/../../bspstart.am project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT) -all-local: $(TMPINSTALL_FILES) +$(ARCH)/%$(LIB_VARIANT).$(OBJEXT): $(top_srcdir)/../shared/%.S $(ARCH)/$(dirstamp) + ${CCASCOMPILE} -DASM -o $@ -c $< -EXTRA_DIST = start.S +all-local: $(TMPINSTALL_FILES) $(PROJECT_LIB)/$(dirstamp): @$(mkdir_p) $(PROJECT_LIB) -- cgit v1.2.3