source: rtems/cpukit/score/cpu/sparc/Makefile.am @ f8284c95

4.104.114.84.95
Last change on this file since f8284c95 was 5f8d82b7, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/01/04 at 14:09:00

2004-04-01 Ralf Corsepius <ralf_corsepius@…>

  • Makefile.am: Install asm.h to $(includedir)/rtems.
  • Property mode set to 100644
File size: 2.1 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_scoredir = $(includedir)/rtems/score
14include_rtems_score_HEADERS = rtems/score/sparc.h rtems/score/cpu.h \
15    rtems/score/types.h
16
17EXTRA_LIBRARIES = libscorecpu.a
18CLEANFILES = libscorecpu.a
19libscorecpu_a_SOURCES = cpu.c cpu_asm.S
20libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
21
22EXTRA_LIBRARIES += libscorecpu_g.a
23CLEANFILES += libscorecpu_g.a
24libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES)
25libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
26
27all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a
28
29PREINSTALL_DIRS =
30PREINSTALL_FILES =
31
32$(PROJECT_INCLUDE)/rtems/$(dirstamp):
33        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
34        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
35PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
36
37$(PROJECT_INCLUDE)/rtems/asm.h: asm.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
38        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/asm.h
39PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/asm.h
40
41$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
42        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
43        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
44PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
45
46$(PROJECT_INCLUDE)/rtems/score/sparc.h: rtems/score/sparc.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
47        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/sparc.h
48PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/sparc.h
49
50$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
51        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
52PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
53
54$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
55        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h
56PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
57
58CLEANFILES += $(PREINSTALL_FILES)
59DISTCLEANFILES = $(PREINSTALL_DIRS)
60
61include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.