source: rtems/cpukit/score/cpu/i386/Makefile.am @ 5f8d82b7

4.104.114.84.95
Last change on this file since 5f8d82b7 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.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_scoredir = $(includedir)/rtems/score
14include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/i386.h \
15    rtems/score/types.h rtems/score/interrupts.h rtems/score/registers.h \
16    rtems/score/idtr.h
17
18EXTRA_LIBRARIES = libscorecpu.a
19CLEANFILES = libscorecpu.a
20libscorecpu_a_SOURCES = cpu.c cpu_asm.S
21libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
22
23EXTRA_LIBRARIES += libscorecpu_g.a
24CLEANFILES += libscorecpu_g.a
25libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES)
26libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
27
28all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a
29
30PREINSTALL_DIRS =
31PREINSTALL_FILES =
32
33$(PROJECT_INCLUDE)/rtems/$(dirstamp):
34        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
35        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
36PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
37
38$(PROJECT_INCLUDE)/rtems/asm.h: asm.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
39        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/asm.h
40PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/asm.h
41
42$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
43        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
44        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
45PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
46
47$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
48        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
49PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
50
51$(PROJECT_INCLUDE)/rtems/score/i386.h: rtems/score/i386.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
52        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/i386.h
53PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/i386.h
54
55$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
56        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h
57PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
58
59$(PROJECT_INCLUDE)/rtems/score/interrupts.h: rtems/score/interrupts.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
60        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/interrupts.h
61PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/interrupts.h
62
63$(PROJECT_INCLUDE)/rtems/score/registers.h: rtems/score/registers.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
64        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/registers.h
65PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/registers.h
66
67$(PROJECT_INCLUDE)/rtems/score/idtr.h: rtems/score/idtr.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
68        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/idtr.h
69PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/idtr.h
70
71CLEANFILES += $(PREINSTALL_FILES)
72DISTCLEANFILES = $(PREINSTALL_DIRS)
73
74include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.