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

4.104.114.84.95
Last change on this file since d7118fd was d7118fd, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 5, 2000 at 3:38:09 PM

2000-09-04 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Include compile.am.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
7
8include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
9include $(top_srcdir)/../../../../../../automake/compile.am
10include $(top_srcdir)/../../../../../../automake/lib.am
11
12SUBDIRS = rtems
13
14H_FILES = asm.h
15
16$(PROJECT_INCLUDE):
17        $(mkinstalldirs) $@
18
19$(PROJECT_INCLUDE)/%.h: %.h
20        $(INSTALL_DATA) $< $@
21
22$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
23        $(INSTALL_DATA) $< $@
24
25C_FILES = cpu.c
26C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
27
28REL = $(ARCH)/rtems-cpu.rel
29
30rtems_cpu_rel_OBJECTS = $(C_O_FILES)
31
32$(REL): $(rtems_cpu_rel_OBJECTS)
33        $(make-rel)
34
35PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
36
37TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
38
39all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \
40    $(TMPINSTALL_FILES)
41
42.PRECIOUS: $(REL)
43
44EXTRA_DIST = asm.h cpu.c rtems.c
45
46include $(top_srcdir)/../../../../../../automake/subdirs.am
47include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.