diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-01-18 09:18:06 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-01-18 09:18:06 +0000 |
commit | 9a874631f6840740fad93b32f9c5e4f07f7e65a0 (patch) | |
tree | 962cf599801e6d7291a33ff8fdbc0743dbd9dc37 /c/src/lib/libcpu/mips/clock | |
parent | 2004-01-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-9a874631f6840740fad93b32f9c5e4f07f7e65a0.tar.bz2 |
2004-01-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am: Convert to using automake compilation rules.
* mongoosev/Makefile.am: Ditto.
* r46xx/Makefile.am: Ditto.
* shared/Makefile.am: Ditto.
* timer/Makefile.am: Ditto.
* tx39/Makefile.am: Ditto.
* Makefile.am: Remove conditional subdirs.
* configure.ac: Add subdir-object to AUTOMAKE_OPTIONS.
Require automake-1.8.2. Add AM_PROG_CC_C_O.
Diffstat (limited to 'c/src/lib/libcpu/mips/clock')
-rw-r--r-- | c/src/lib/libcpu/mips/clock/Makefile.am | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/c/src/lib/libcpu/mips/clock/Makefile.am b/c/src/lib/libcpu/mips/clock/Makefile.am index 7be84c35e2..712e1dce8d 100644 --- a/c/src/lib/libcpu/mips/clock/Makefile.am +++ b/c/src/lib/libcpu/mips/clock/Makefile.am @@ -2,31 +2,27 @@ ## $Id$ ## -PGM = $(ARCH)/clock.rel - -C_FILES = ckinit.c - -S_FILES = clock.S - -noinst_HEADERS = clock.h - -clock_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) \ - $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) +EXTRA_PROGRAMS = +CLEANFILES = +noinst_DATA = include $(top_srcdir)/../../../automake/compile.am include $(top_srcdir)/../../../automake/lib.am -# -# (OPTIONAL) Add local stuff here using += -# - -$(PGM): $(clock_rel_OBJECTS) - $(make-rel) - -all-local: $(clock_rel_OBJECTS) $(PGM) - -.PRECIOUS: $(PGM) - -EXTRA_DIST = ckinit.c clock.S clock.h +if r46xx +EXTRA_PROGRAMS += clock.rel +CLEANFILES += clock.rel +clock_rel_SOURCES = ckinit.c clock.S clock.h +clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) +clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) + +EXTRA_PROGRAMS += clock_g.rel +CLEANFILES += clock_g.rel +clock_g_rel_SOURCES = $(clock_rel_SOURCES) +clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) +clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) + +noinst_DATA += clock$(LIB_VARIANT).rel +endif include $(top_srcdir)/../../../automake/local.am |