diff options
Diffstat (limited to 'cpukit/score/cpu/no_cpu/Makefile.am')
-rw-r--r-- | cpukit/score/cpu/no_cpu/Makefile.am | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cpukit/score/cpu/no_cpu/Makefile.am b/cpukit/score/cpu/no_cpu/Makefile.am index 7e16d2bf5f..61ad9ec7a5 100644 --- a/cpukit/score/cpu/no_cpu/Makefile.am +++ b/cpukit/score/cpu/no_cpu/Makefile.am @@ -5,8 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am -include $(top_srcdir)/../../../automake/lib.am +include $(top_srcdir)/../../../automake/amcompile.am include_HEADERS = asm.h @@ -14,17 +13,18 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/no_cpu.h \ rtems/score/cpu_asm.h rtems/score/types.h -C_FILES = cpu.c cpu_asm.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES = libscorecpu.a +CLEANFILES = libscorecpu.a +libscorecpu_a_SOURCES = cpu.c cpu_asm.c +libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -LIB = $(ARCH)/libscorecpu.a +EXTRA_LIBRARIES += libscorecpu_g.a +CLEANFILES += libscorecpu_g.a +libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) +libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -$(LIB): $(OBJS) - $(make-library) +all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a -all-local: $(PREINSTALL_FILES) $(LIB) - -EXTRA_DIST = cpu.c cpu_asm.c PREINSTALL_FILES = |