source: rtems/cpukit/score/cpu/avr/Makefile.am @ be4a4d2

4.104.114.84.9
Last change on this file since be4a4d2 was be4a4d2, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 24, 2004 at 4:53:10 AM

New.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/compile.am
6
7include_rtemsdir = $(includedir)/rtems
8include_rtems_HEADERS = asm.h
9
10include_rtems_scoredir = $(includedir)/rtems/score
11include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/avr.h \
12    rtems/score/cpu_asm.h rtems/score/types.h
13
14EXTRA_LIBRARIES = libscorecpu.a
15CLEANFILES = libscorecpu.a
16libscorecpu_a_SOURCES = cpu.c cpu_asm.c
17libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
18
19EXTRA_LIBRARIES += libscorecpu_g.a
20CLEANFILES += libscorecpu_g.a
21libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES)
22libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
23
24all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a
25
26PREINSTALL_DIRS =
27PREINSTALL_FILES =
28
29$(PROJECT_INCLUDE)/rtems/$(dirstamp):
30        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
31        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
32PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
33
34$(PROJECT_INCLUDE)/rtems/asm.h: asm.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
35        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/asm.h
36PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/asm.h
37
38$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
39        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
40        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
41PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
42
43$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
44        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
45PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
46
47$(PROJECT_INCLUDE)/rtems/score/avr.h: rtems/score/avr.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
48        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/avr.h
49PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/avr.h
50
51$(PROJECT_INCLUDE)/rtems/score/cpu_asm.h: rtems/score/cpu_asm.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
52        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h
53PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu_asm.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
59CLEANFILES += $(PREINSTALL_FILES)
60DISTCLEANFILES = $(PREINSTALL_DIRS)
61
62include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.