Changeset 9a87463 in rtems for c/src/lib/libcpu/mips/clock


Ignore:
Timestamp:
Jan 18, 2004, 9:18:06 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3d1de20
Parents:
0cf9970
Message:

2004-01-18 Ralf Corsepius <corsepiu@…>

  • 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/mips/clock/Makefile.am

    r0cf9970 r9a87463  
    33##
    44
    5 PGM = $(ARCH)/clock.rel
    6 
    7 C_FILES = ckinit.c
    8 
    9 S_FILES = clock.S
    10 
    11 noinst_HEADERS = clock.h
    12 
    13 clock_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) \
    14     $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
     5EXTRA_PROGRAMS =
     6CLEANFILES =
     7noinst_DATA =
    158
    169include $(top_srcdir)/../../../automake/compile.am
    1710include $(top_srcdir)/../../../automake/lib.am
    1811
    19 #
    20 # (OPTIONAL) Add local stuff here using +=
    21 #
     12if r46xx
     13EXTRA_PROGRAMS += clock.rel
     14CLEANFILES += clock.rel
     15clock_rel_SOURCES = ckinit.c clock.S clock.h
     16clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     17clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    2218
    23 $(PGM): $(clock_rel_OBJECTS)
    24         $(make-rel)
     19EXTRA_PROGRAMS += clock_g.rel
     20CLEANFILES += clock_g.rel
     21clock_g_rel_SOURCES = $(clock_rel_SOURCES)
     22clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     23clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    2524
    26 all-local: $(clock_rel_OBJECTS) $(PGM)
    27 
    28 .PRECIOUS: $(PGM)
    29 
    30 EXTRA_DIST = ckinit.c clock.S clock.h
     25noinst_DATA += clock$(LIB_VARIANT).rel
     26endif
    3127
    3228include $(top_srcdir)/../../../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.