source: rtems/c/src/exec/score/cpu/or32/Makefile.am @ 7a01fba1

4.104.114.84.95
Last change on this file since 7a01fba1 was 7a01fba1, checked in by Joel Sherrill <joel.sherrill@…>, on 01/30/02 at 14:34:00

2002-01-28 Ralf Corsepius <corsepiu@…>

  • rtems/Makefile.am: Removed.
  • rtems/score/Makefile.am: Removed.
  • configure.ac: Reflect changes above.
  • Makefile.am: Reflect changes above.
  • Property mode set to 100644
File size: 1.4 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
12$(PROJECT_INCLUDE)/%.h: %.h
13        $(INSTALL_DATA) $< $@
14
15$(PROJECT_INCLUDE):
16        $(mkinstalldirs) $@
17
18$(PROJECT_INCLUDE)/rtems:
19        $(mkinstalldirs) $@
20
21$(PROJECT_INCLUDE)/rtems/score:
22        $(mkinstalldirs) $@
23
24include_HEADERS= asm.h
25PREINSTALL_FILES = $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
26
27include_rtems_scoredir = $(includedir)/rtems/score
28include_rtems_score_HEADERS = \
29    rtems/score/cpu.h \
30    rtems/score/or32types.h \
31    rtems/score/or32.h \
32    rtems/score/cpu_asm.h
33PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
34    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
35
36$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
37        $(INSTALL_DATA) $< $@
38
39C_FILES = cpu.c cpu_asm.c
40C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
41
42REL = $(ARCH)/rtems-cpu.rel
43
44rtems_cpu_rel_OBJECTS = $(C_O_FILES)
45
46$(REL): $(rtems_cpu_rel_OBJECTS)
47        $(make-rel)
48
49TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o
50
51all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \
52    $(TMPINSTALL_FILES)
53
54.PRECIOUS: $(REL)
55
56EXTRA_DIST = cpu.c cpu_asm.c rtems.c
57
58include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.