Changeset 7023111e in rtems


Ignore:
Timestamp:
Jan 20, 2004, 2:13:15 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
18039447
Parents:
3d1de20
Message:

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

  • Makefile.am: Convert to automake compilation rules.
  • configure.ac: Remove.
  • .cvsignore: Reflect changes above.
Location:
c/src/lib/libcpu/m68k/mcf5206
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/m68k/mcf5206/.cvsignore

    r3d1de20 r7023111e  
    1 aclocal.m4
    2 autom4te*.cache
    3 config.cache
    4 config.guess
    5 config.log
    6 config.status
    7 config.sub
    8 configure
    9 depcomp
    10 install-sh
    111Makefile
    122Makefile.in
    13 missing
    14 mkinstalldirs
  • c/src/lib/libcpu/m68k/mcf5206/Makefile.am

    r3d1de20 r7023111e  
    33##
    44
    5 ACLOCAL_AMFLAGS = -I ../../../../aclocal
     5include $(top_srcdir)/../../../automake/compile.am
     6include $(top_srcdir)/../../../automake/lib.am
    67
    7 include $(top_srcdir)/../../../../automake/compile.am
    8 include $(top_srcdir)/../../../../automake/lib.am
     8CLEANFILES =
     9EXTRA_PROGRAMS =
     10noinst_DATA =
     11
     12if mcf5206
    913
    1014# include
     
    1418
    1519## clock
     20EXTRA_PROGRAMS += clock.rel
     21CLEANFILES += clock.rel
     22clock_rel_SOURCES = clock/ckinit.c
     23clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     24clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    1625
    17 clock_C_FILES = clock/ckinit.c
    18 clock_OBJS = $(clock_C_FILES:clock/%.c=clock/$(ARCH)/%.$(OBJEXT))
    19 EXTRA_DIST = $(clock_C_FILES)
     26EXTRA_PROGRAMS += clock_g.rel
     27CLEANFILES += clock_g.rel
     28clock_g_rel_SOURCES = $(clock_rel_SOURCES)
     29clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     30clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    2031
    21 clock/$(ARCH)/$(dirstamp):
    22         @$(mkdir_p) clock/$(ARCH)
    23         @: > clock/$(ARCH)/$(dirstamp)
    24 clock/$(ARCH)/%.$(OBJEXT): clock/%.c clock/$(ARCH)/$(dirstamp)
    25         ${COMPILE} -o $@ -c $<
    26 clock/$(ARCH)/clock.rel: $(clock_OBJS)
    27         $(make-rel)
    28 PGMS = clock/$(ARCH)/clock.rel
     32noinst_DATA += clock$(LIB_VARIANT).rel
    2933
    3034## console
     35EXTRA_PROGRAMS += console.rel
     36CLEANFILES += console.rel
     37console_rel_SOURCES = console/mcfuart.c
     38console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     39console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    3140
    32 console_C_FILES = console/mcfuart.c
    33 console_OBJS = $(console_C_FILES:console/%.c=console/$(ARCH)/%.$(OBJEXT))
    34 EXTRA_DIST += $(console_C_FILES)
     41EXTRA_PROGRAMS += console_g.rel
     42CLEANFILES += console_g.rel
     43console_g_rel_SOURCES = $(console_rel_SOURCES)
     44console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     45console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    3546
    36 console/$(ARCH)/$(dirstamp):
    37         @$(mkdir_p) console/$(ARCH)
    38         @: > console/$(ARCH)/$(dirstamp)
    39 console/$(ARCH)/%.$(OBJEXT): console/%.c console/$(ARCH)/$(dirstamp)
    40         ${COMPILE} -o $@ -c $<
    41 console/$(ARCH)/console.rel: $(console_OBJS)
    42         $(make-rel)
    43 PGMS += console/$(ARCH)/console.rel
     47noinst_DATA += console$(LIB_VARIANT).rel
    4448
    4549## mbus
     50EXTRA_PROGRAMS += mbus.rel
     51CLEANFILES += mbus.rel
     52mbus_rel_SOURCES = mbus/mcfmbus.c
     53mbus_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     54mbus_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    4655
    47 mbus_C_FILES = mbus/mcfmbus.c
    48 mbus_OBJS = $(mbus_C_FILES:mbus/%.c=mbus/$(ARCH)/%.$(OBJEXT))
    49 EXTRA_DIST += $(mbus_C_FILES)
     56EXTRA_PROGRAMS += mbus_g.rel
     57CLEANFILES += mbus_g.rel
     58mbus_g_rel_SOURCES = $(mbus_rel_SOURCES)
     59mbus_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     60mbus_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    5061
    51 mbus/$(ARCH)/$(dirstamp):
    52         @$(mkdir_p) mbus/$(ARCH)
    53         @: > mbus/$(ARCH)/$(dirstamp)
    54 mbus/$(ARCH)/%.$(OBJEXT): mbus/%.c mbus/$(ARCH)/$(dirstamp)
    55         ${COMPILE} -o $@ -c $<
    56 mbus/$(ARCH)/mbus.rel: $(mbus_OBJS)
    57         $(make-rel)
    58 PGMS += mbus/$(ARCH)/mbus.rel
     62noinst_DATA += mbus$(LIB_VARIANT).rel
    5963
    6064## timer
     65EXTRA_PROGRAMS += timer.rel
     66CLEANFILES += timer.rel
     67timer_rel_SOURCES = timer/timer.c timer/timerisr.S
     68timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     69timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    6170
    62 timer_C_FILES = timer/timer.c
    63 timer_OBJS = $(timer_C_FILES:timer/%.c=timer/$(ARCH)/%.$(OBJEXT))
    64 EXTRA_DIST += $(timer_C_FILES)
     71EXTRA_PROGRAMS += timer_g.rel
     72CLEANFILES += timer_g.rel
     73timer_g_rel_SOURCES = $(timer_rel_SOURCES)
     74timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     75timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    6576
    66 timer_S_FILES = timer/timerisr.S
    67 timer_OBJS += $(timer_S_FILES:timer/%.S=timer/$(ARCH)/%.$(OBJEXT))
    68 EXTRA_DIST += $(timer_S_FILES)
     77noinst_DATA += timer$(LIB_VARIANT).rel
     78endif
    6979
    70 timer/$(ARCH)/$(dirstamp):
    71         @$(mkdir_p) timer/$(ARCH)
    72         @: > timer/$(ARCH)/$(dirstamp)
    73 timer/$(ARCH)/%.$(OBJEXT): timer/%.c timer/$(ARCH)/$(dirstamp)
    74         ${COMPILE} -o $@ -c $<
    75 timer/$(ARCH)/%.o: timer/%.S timer/$(ARCH)/$(dirstamp)
    76         ${CCASCOMPILE} -DASM -o $@ -c $<
    77 timer/$(ARCH)/timer.rel: $(timer_OBJS)
    78         $(make-rel)
    79 PGMS += timer/$(ARCH)/timer.rel
     80all-local: $(PREINSTALL_FILES)
    8081
    81 ## --
    82 
    83 all-local: $(PGMS)
    84 CLEANDIRS = */$(ARCH)
    85 
    86 .PRECIOUS: $(PGMS)
    87 
     82PREINSTALL_DIRS =
    8883PREINSTALL_FILES =
    8984
     85if mcf5206
    9086$(PROJECT_INCLUDE)/mcf5206/$(dirstamp):
    9187        @$(mkdir_p) $(PROJECT_INCLUDE)/mcf5206
    9288        @: > $(PROJECT_INCLUDE)/mcf5206/$(dirstamp)
    93 PREINSTALL_FILES += $(PROJECT_INCLUDE)/mcf5206/$(dirstamp)
     89PREINSTALL_DIRS += $(PROJECT_INCLUDE)/mcf5206/$(dirstamp)
    9490
    9591$(PROJECT_INCLUDE)/mcf5206/mcf5206e.h: include/mcf5206e.h $(PROJECT_INCLUDE)/mcf5206/$(dirstamp)
     
    104100        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mcf5206/mcfuart.h
    105101PREINSTALL_FILES += $(PROJECT_INCLUDE)/mcf5206/mcfuart.h
     102endif
    106103
    107 CLEANFILES = $(PREINSTALL_FILES)
     104CLEANFILES += $(PREINSTALL_FILES)
     105DISTCLEANFILES = $(PREINSTALL_DIRS)
    108106
    109 include $(top_srcdir)/../../../../automake/local.am
     107include $(top_srcdir)/../../../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.