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

4.104.114.84.95
Last change on this file since 4deeca3 was 4deeca3, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 5, 2002 at 7:05:47 PM

2002-08-05 Joel Sherrill <joel@…>

  • Per PR260 eliminate use of make-target-options. This impacted RTEMS allowing a distinction between the CPU32 and CPU32+ in the SuperCore? and required that the m68k optimized memcpy be moved to libcpu.
  • memcpy.c: Moved to libcpu.
  • Makefile.am: Modified to reflect above.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../aclocal
6
7include $(top_srcdir)/../../../automake/multilib.am
8include $(top_srcdir)/../../../automake/compile.am
9include $(top_srcdir)/../../../automake/lib.am
10
11$(PROJECT_INCLUDE)/%.h: %.h
12        $(INSTALL_DATA) $< $@
13
14$(PROJECT_INCLUDE):
15        $(mkinstalldirs) $@
16
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 \
30    rtems/score/types.h
31PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
32    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
33
34C_FILES = cpu.c
35C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
36
37S_FILES = cpu_asm.S
38S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
39
40LIB = $(ARCH)/libscorecpu.a
41
42libscorecpu_a_OBJECTS = $(C_O_FILES) $(S_O_FILES)
43
44$(LIB): $(libscorecpu_a_OBJECTS)
45        $(make-library)
46
47all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) \
48    $(TMPINSTALL_FILES)
49
50EXTRA_DIST = cpu.c cpu_asm.S
51
52include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.