source: rtems/cpukit/score/cpu/c4x/Makefile.am @ 45f70bf

4.104.114.84.95
Last change on this file since 45f70bf was 45f70bf, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 2, 2004 at 11:45:33 PM

Rebuild preinstallation rules

  • Property mode set to 100644
File size: 2.8 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../aclocal
6
7include $(top_srcdir)/../../../automake/multilib.am
8include $(top_srcdir)/../../../automake/compile.am
9
10include_rtemsdir = $(includedir)/rtems
11include_rtems_HEADERS = asm.h
12
13include_rtems_c4xdir = $(includedir)/rtems/c4x
14include_rtems_c4x_HEADERS = c4xio.h
15
16include_rtems_scoredir = $(includedir)/rtems/score
17include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/c4x.h \
18    rtems/score/types.h rtems/score/cpu_asm.h
19
20EXTRA_LIBRARIES = libscorecpu.a
21CLEANFILES = libscorecpu.a
22libscorecpu_a_SOURCES = cpu.c irq.c cpu_asm.S
23libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
24
25EXTRA_LIBRARIES += libscorecpu_g.a
26CLEANFILES += libscorecpu_g.a
27libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES)
28libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
29
30all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a
31
32PREINSTALL_DIRS =
33PREINSTALL_FILES =
34
35$(PROJECT_INCLUDE)/rtems/$(dirstamp):
36        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
37        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
38PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
39
40$(PROJECT_INCLUDE)/rtems/asm.h: asm.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
41        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/asm.h
42PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/asm.h
43
44$(PROJECT_INCLUDE)/rtems/c4x/$(dirstamp):
45        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/c4x
46        @: > $(PROJECT_INCLUDE)/rtems/c4x/$(dirstamp)
47PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/c4x/$(dirstamp)
48
49$(PROJECT_INCLUDE)/rtems/c4x/c4xio.h: c4xio.h $(PROJECT_INCLUDE)/rtems/c4x/$(dirstamp)
50        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/c4x/c4xio.h
51PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/c4x/c4xio.h
52
53$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
54        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
55        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
56PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
57
58$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
59        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
60PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
61
62$(PROJECT_INCLUDE)/rtems/score/c4x.h: rtems/score/c4x.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
63        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/c4x.h
64PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/c4x.h
65
66$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
67        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h
68PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
69
70$(PROJECT_INCLUDE)/rtems/score/cpu_asm.h: rtems/score/cpu_asm.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
71        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h
72PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h
73
74CLEANFILES += $(PREINSTALL_FILES)
75DISTCLEANFILES = $(PREINSTALL_DIRS)
76
77include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.