source: rtems/cpukit/score/cpu/no_cpu/Makefile.am @ ec8c1949

4.104.114.84.95
Last change on this file since ec8c1949 was ec8c1949, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/11/04 at 02:37:03

2004-01-11 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Convert to using automake compilation rules.
  • 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/amcompile.am
9
10include_HEADERS = asm.h
11
12include_rtems_scoredir = $(includedir)/rtems/score
13include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/no_cpu.h \
14    rtems/score/cpu_asm.h rtems/score/types.h
15
16EXTRA_LIBRARIES = libscorecpu.a
17CLEANFILES = libscorecpu.a
18libscorecpu_a_SOURCES = cpu.c cpu_asm.c
19libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
20
21EXTRA_LIBRARIES += libscorecpu_g.a
22CLEANFILES += libscorecpu_g.a
23libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES)
24libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
25
26all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a
27
28
29PREINSTALL_FILES =
30
31$(PROJECT_INCLUDE)/$(dirstamp):
32        @$(mkdir_p) $(PROJECT_INCLUDE)
33        @: > $(PROJECT_INCLUDE)/$(dirstamp)
34
35$(PROJECT_INCLUDE)/asm.h: asm.h $(PROJECT_INCLUDE)/$(dirstamp)
36        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/asm.h
37PREINSTALL_FILES += $(PROJECT_INCLUDE)/asm.h
38
39$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
40        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
41        @: > $(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/no_cpu.h: rtems/score/no_cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
48        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/no_cpu.h
49PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/no_cpu.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
59include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.