source: rtems/cpukit/score/cpu/m68k/Makefile.am @ a85d8ec

4.104.114.84.95
Last change on this file since a85d8ec was a85d8ec, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 26, 2002 at 1:32:13 PM

2002-07-26 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Build libscorecpu.a instead of rtems-cpu.rel.
  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[df49c60]1##
[ccf8925b]2## $Id$
[df49c60]3##
[ccf8925b]4
[2f6261d]5ACLOCAL_AMFLAGS = -I ../../../aclocal
[ccf8925b]6
[2f6261d]7include $(top_srcdir)/../../../automake/multilib.am
8include $(top_srcdir)/../../../automake/compile.am
9include $(top_srcdir)/../../../automake/lib.am
[ccf8925b]10
[8b25dc6]11$(PROJECT_INCLUDE)/%.h: %.h
12        $(INSTALL_DATA) $< $@
13
[ccf8925b]14$(PROJECT_INCLUDE):
15        $(mkinstalldirs) $@
16
[8b25dc6]17$(PROJECT_INCLUDE)/rtems:
18        $(mkinstalldirs) $@
19
20$(PROJECT_INCLUDE)/rtems/score:
21        $(mkinstalldirs) $@
22
23include_HEADERS = asm.h m68302.h m68360.h qsm.h sim.h
24PREINSTALL_FILES = $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
25
26include_rtems_scoredir = $(includedir)/rtems/score
27include_rtems_score_HEADERS = \
28    rtems/score/cpu.h \
29    rtems/score/m68k.h \
[ce3c6f3e]30    rtems/score/types.h
[8b25dc6]31PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
32    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
[ccf8925b]33
[8b25dc6]34C_FILES = cpu.c memcpy.c
[53f6727]35C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
[8b25dc6]36
37S_FILES = cpu_asm.S
[53f6727]38S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
[8b25dc6]39
[a85d8ec]40LIB = $(ARCH)/libscorecpu.a
[ccf8925b]41
[a85d8ec]42libscorecpu_a_OBJECTS = $(C_O_FILES) $(S_O_FILES)
[4e36a2f]43
[a85d8ec]44$(LIB): $(libscorecpu_a_OBJECTS)
45        $(make-library)
[ccf8925b]46
[a85d8ec]47all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) \
[df49c60]48    $(TMPINSTALL_FILES)
[4e36a2f]49
[3cf5a99]50EXTRA_DIST = cpu.c cpu_asm.S memcpy.c
[ccf8925b]51
[2f6261d]52include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.