source: rtems/c/src/exec/score/cpu/hppa1.1/Makefile.am @ 6ba9c27

4.104.114.84.9
Last change on this file since 6ba9c27 was 6ba9c27, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 27, 2002 at 9:21:45 PM

2002-06-27 Joel Sherrill <joel@…>

  • Makefile.am, cpu.c, cpu_asm.S, rtems.S: Modified to make this all compile again. It has been a while since we have had a semi-working hppa1.1-rtems cross compiler. :)
  • Property mode set to 100644
File size: 1.7 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=
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/cpu_asm.h \
30    rtems/score/hppa.h \
31    rtems/score/types.h \
32    rtems/score/offsets.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
40C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
41
42S_FILES = cpu_asm.S
43S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
44
45REL = $(ARCH)/rtems-cpu.rel
46
47rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
48
49$(REL): $(rtems_cpu_rel_OBJECTS)
50        $(make-rel)
51
52TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o
53
54all-local: $(ARCH) rtems/score/offsets.h $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \
55    $(TMPINSTALL_FILES)
56
57.PRECIOUS: $(REL)
58
59EXTRA_DIST = cpu.c cpu_asm.S rtems.S
60
61# FIXME: We should get rid of genoffsets
62GENOFFSETS = $(PROJECT_TOPdir)/tools/cpu/hppa1.1/genoffsets
63
64GENERIC_H_FILES = rtems/score/offsets.h
65rtems/score/offsets.h: $(GENOFFSETS) rtems/score/cpu.h
66        $(mkinstalldirs) rtems/score
67        $(RM) $@
68        $(GENOFFSETS) > $@
69CLEANFILES = rtems/score/offsets.h
70
71include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.