diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-01-30 23:11:50 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-01-30 23:11:50 +0000 |
commit | 47caf1c21caae78fdfa936a297445c1d1693d50a (patch) | |
tree | 1160d007fb5d9f62bcd8a9f38c7a1a8f5a12d24f /c/src/lib/libbsp/powerpc/helas403/Makefile.am | |
parent | 2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-47caf1c21caae78fdfa936a297445c1d1693d50a.tar.bz2 |
2004-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge-in dlentry/Makefile.am, flashentry/Makefile.am,
startup/Makefile.am. Use automake compilation rules.
* dlentry/Makefile.am, flashentry/Makefile.am, startup/Makefile.am:
Remove.
* configure.ac: Reflect changes above.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/helas403/Makefile.am | 66 |
1 files changed, 63 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/helas403/Makefile.am b/c/src/lib/libbsp/powerpc/helas403/Makefile.am index 8001615697..7631786e4c 100644 --- a/c/src/lib/libbsp/powerpc/helas403/Makefile.am +++ b/c/src/lib/libbsp/powerpc/helas403/Makefile.am @@ -6,15 +6,67 @@ ACLOCAL_AMFLAGS = -I ../../../../aclocal # wrapup is the one that actually builds and installs the library # from the individual .rel files built in other directories -SUBDIRS = . dlentry flashentry startup @exceptions@ wrapup +SUBDIRS = . @exceptions@ wrapup +include $(top_srcdir)/../../../../automake/compile.am include $(top_srcdir)/../../bsp.am +EXTRA_PROGRAMS = +CLEANFILES = +noinst_DATA = + dist_project_lib_DATA += bsp_specs.dl include_HEADERS += include/coverhd.h -all-local: $(PREINSTALL_FILES) +EXTRA_PROGRAMS += dlentry.rel +CLEANFILES += dlentry.rel +dlentry_rel_SOURCES = dlentry/dlentry.S +dlentry_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +dlentry_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) + +EXTRA_PROGRAMS += dlentry_g.rel +CLEANFILES += dlentry_g.rel +dlentry_g_rel_SOURCES = $(dlentry_rel_SOURCES) +dlentry_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) +dlentry_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) + +noinst_DATA += dlentry$(LIB_VARIANT).rel + +EXTRA_PROGRAMS += flashentry.rel +CLEANFILES += flashentry.rel +flashentry_rel_SOURCES = flashentry/flashentry.S +flashentry_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +flashentry_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) + +EXTRA_PROGRAMS += flashentry_g.rel +CLEANFILES += flashentry_g.rel +flashentry_g_rel_SOURCES = $(flashentry_rel_SOURCES) +flashentry_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) +flashentry_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) + +noinst_DATA += flashentry$(LIB_VARIANT).rel + +dist_project_lib_DATA += startup/linkcmds startup/linkcmds.dl + +EXTRA_PROGRAMS += startup.rel +CLEANFILES += startup.rel +startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ + ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \ + ../../shared/main.c ../../shared/sbrk.c startup/setvec.c \ + ../../shared/gnatinstallhandler.c +startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) + +EXTRA_PROGRAMS += startup_g.rel +CLEANFILES += startup_g.rel +startup_g_rel_SOURCES = $(startup_rel_SOURCES) +startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) +startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) + +noinst_DATA += startup$(LIB_VARIANT).rel + +all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES) EXTRA_DIST = times @@ -29,7 +81,15 @@ $(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h -CLEANFILES = $(PREINSTALL_FILES) +$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds +TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds + +$(PROJECT_LIB)/linkcmds.dl: startup/linkcmds.dl $(PROJECT_LIB)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.dl +TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.dl + +CLEANFILES += $(PREINSTALL_FILES) DISTCLEANFILES = $(PREINSTALL_DIRS) CLEANFILES += $(TMPINSTALL_FILES) |