diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-12-22 16:09:55 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-12-22 16:09:55 +0000 |
commit | daa9eb96cb42b35aa149820146ec7516de6a0965 (patch) | |
tree | dd8381f86cd25d5927650b8146c3e817a38b8f6f /c/src/lib/libbsp/powerpc/psim/startup | |
parent | 2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-daa9eb96cb42b35aa149820146ec7516de6a0965.tar.bz2 |
2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am: Eliminate VPATH.
* console/Makefile.am: Eliminate VPATH.
* shmsupp/Makefile.am: Eliminate VPATH.
* startup/Makefile.am: Eliminate VPATH.
* timer/Makefile.am: Eliminate VPATH.
* vectors/Makefile.am: Eliminate VPATH.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/psim/startup')
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/startup/Makefile.am | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/startup/Makefile.am b/c/src/lib/libbsp/powerpc/psim/startup/Makefile.am index f49551ad5f..70d187fa69 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/Makefile.am +++ b/c/src/lib/libbsp/powerpc/psim/startup/Makefile.am @@ -2,22 +2,27 @@ ## $Id$ ## -VPATH = @srcdir@:@srcdir@/../../../shared -PGM = $(ARCH)/startup.rel -C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \ - setvec.c gnatinstallhandler.c -C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +PGM = $(ARCH)/startup.rel -OBJS = $(C_O_FILES) +C_FILES = bspclean.c bspstart.c setvec.c +OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) include $(top_srcdir)/../../../../automake/compile.am include $(top_srcdir)/../../../../automake/lib.am -# -# (OPTIONAL) Add local stuff here using += -# +shared_C_FILES = $(top_srcdir)/../../shared/bootcard.c +shared_C_FILES += $(top_srcdir)/../../shared/bsplibc.c +shared_C_FILES += $(top_srcdir)/../../shared/bsppost.c +shared_C_FILES += $(top_srcdir)/../../shared/main.c +shared_C_FILES += $(top_srcdir)/../../shared/sbrk.c +shared_C_FILES += $(top_srcdir)/../../shared/gnatinstallhandler.c +OBJS += $(shared_C_FILES:$(top_srcdir)/../../shared/%.c=$(ARCH)/%.$(OBJEXT)) + +$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../shared/%.c $(ARCH)/$(dirstamp) + ${COMPILE} -o $@ -c $< + $(PGM): $(OBJS) $(make-rel) |