diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-12-22 16:09:45 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-12-22 16:09:45 +0000 |
commit | e9b6f41b20080314762f254e0a637730f84f2e67 (patch) | |
tree | d35501955cbfb385e7d2968710e399ab063c7909 /c/src/lib/libbsp/powerpc/mpc8260ads/startup | |
parent | 2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-e9b6f41b20080314762f254e0a637730f84f2e67.tar.bz2 |
2003-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am: Eliminate VPATH.
* console/Makefile.am: Eliminate VPATH.
* irq/Makefile.am: Eliminate VPATH.
* network/Makefile.am: Eliminate VPATH.
* startup/Makefile.am: Eliminate VPATH.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc8260ads/startup')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mpc8260ads/startup/Makefile.am | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/Makefile.am b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/Makefile.am index 67650db071..24bd125edd 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/Makefile.am +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/Makefile.am @@ -2,22 +2,26 @@ ## $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 cpuinit.c -C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) - -OBJS = $(C_O_FILES) +C_FILES = bspstart.c cpuinit.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/bspclean.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) @@ -28,7 +32,7 @@ project_lib_DATA = linkcmds all-local: $(PGM) $(TMPINSTALL_FILES) -EXTRA_DIST = bspstart.c linkcmds setvec.c +EXTRA_DIST = linkcmds $(C_FILES) $(PROJECT_LIB)/$(dirstamp): @$(mkdir_p) $(PROJECT_LIB) |