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

4.104.114.84.95
Last change on this file since e9718415 was e9718415, checked in by Joel Sherrill <joel.sherrill@…>, on 12/19/01 at 14:36:28

2001-12-19 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Add multilib support.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6ACLOCAL_AMFLAGS = -I ../../../../../../aclocal
7
8include $(top_srcdir)/../../../../../../automake/multilib.am
9include $(top_srcdir)/../../../../../../automake/compile.am
10include $(top_srcdir)/../../../../../../automake/lib.am
11
12SUBDIRS = rtems
13
14include_HEADERS= asm.h
15
16$(PROJECT_INCLUDE):
17        $(mkinstalldirs) $@
18
19$(PROJECT_INCLUDE)/%.h: %.h
20        $(INSTALL_DATA) $< $@
21
22$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/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) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
36
37TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/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.