source: rtems/cpukit/score/cpu/c4x/Makefile.am @ 4b833782

4.104.114.84.95
Last change on this file since 4b833782 was 53021d4, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/11/02 at 17:08:38

2002-12-11 Ralf Corsepius <corsepiu@…>

  • configure.ac: Require autoconf-2.57 + automake-1.7.2.
  • Makefile.am: Eliminate C_O_FILES, S_O_FILES, libscorecpu_a_OBJECTS.
  • Property mode set to 100644
File size: 1.1 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 c4xio.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/c4x.h \
30    rtems/score/types.h \
31    rtems/score/cpu_asm.h
32PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
33    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
34
35C_FILES = cpu.c irq.c
36OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
37
38S_FILES = cpu_asm.S
39OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
40
41LIB = $(ARCH)/libscorecpu.a
42
43$(LIB): $(OBJS)
44        $(make-library)
45
46all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) \
47    $(TMPINSTALL_FILES)
48
49EXTRA_DIST = cpu.c irq.c cpu_asm.S
50
51include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.