source: rtems/c/src/exec/score/cpu/hppa1.1/Makefile.am @ 8b25dc6

4.104.114.84.95
Last change on this file since 8b25dc6 was 8b25dc6, checked in by Joel Sherrill <joel.sherrill@…>, on 01/30/02 at 17:45:23

2002-01-29 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.7 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.5
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/cpu_asm.h \
31    rtems/score/hppa.h \
32    rtems/score/hppatypes.h \
33    rtems/score/offsets.h
34PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
35    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
36
37C_FILES = cpu.c
38C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
39
40S_FILES = cpu_asm.S
41S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
42
43REL = $(ARCH)/rtems-cpu.rel
44
45rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
46
47$(REL): $(rtems_cpu_rel_OBJECTS)
48        $(make-rel)
49
50TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o
51
52all-local: $(ARCH) $(rtems_cpu_rel_OBJECTS) $(REL) \
53    $(TMPINSTALL_FILES)
54
55.PRECIOUS: $(REL)
56
57EXTRA_DIST = cpu.c cpu_asm.S rtems.S
58
59# FIXME: We should get rid of genoffsets
60GENOFFSETS = $(PROJECT_TOPdir)/tools/cpu/hppa1.1/genoffsets
61
62GENERIC_H_FILES = rtems/score/offsets.h
63rtems/score/offsets.h: $(GENOFFSETS) cpu.h
64        @(mkinstalldirs) rtems/score
65        $(RM) $@
66        $(GENOFFSETS) > $@
67CLEANFILES = rtems/score/offsets.h
68
69include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.