source: rtems/cpukit/score/cpu/sh/Makefile.am @ 7273b6e

4.104.114.84.9
Last change on this file since 7273b6e was 7273b6e, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 28, 2002 at 12:54:58 AM

2002-03-27 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 1.4 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
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/shtypes.h \
30    rtems/score/sh.h \
31    rtems/score/sh_io.h
32PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
33    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
34
35C_FILES = cpu.c
36C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
37
38REL = $(ARCH)/rtems-cpu.rel
39
40rtems_cpu_rel_OBJECTS = $(C_O_FILES)
41
42$(REL): $(rtems_cpu_rel_OBJECTS)
43        $(make-rel)
44
45$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
46        $(INSTALL_DATA) $< $@
47
48TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o
49
50all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \
51    $(TMPINSTALL_FILES)
52
53.PRECIOUS: $(REL)
54
55EXTRA_DIST = cpu.c rtems.c
56
57include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.