source: rtems/cpukit/score/cpu/h8300/Makefile.am @ 7023111e

4.104.114.84.95
Last change on this file since 7023111e was 3d1de20, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/19/04 at 07:29:05

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

  • Makefile.am: Add PREINSTALL_DIRS.
  • Property mode set to 100644
File size: 2.0 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_HEADERS = asm.h
11
12include_rtems_scoredir = $(includedir)/rtems/score
13include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/h8300.h \
14    rtems/score/types.h
15
16EXTRA_LIBRARIES = libscorecpu.a
17CLEANFILES = libscorecpu.a
18libscorecpu_a_SOURCES = cpu.c cpu_asm.S
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
28PREINSTALL_DIRS =
29PREINSTALL_FILES =
30
31$(PROJECT_INCLUDE)/$(dirstamp):
32        @$(mkdir_p) $(PROJECT_INCLUDE)
33        @: > $(PROJECT_INCLUDE)/$(dirstamp)
34PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
35
36$(PROJECT_INCLUDE)/asm.h: asm.h $(PROJECT_INCLUDE)/$(dirstamp)
37        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/asm.h
38PREINSTALL_FILES += $(PROJECT_INCLUDE)/asm.h
39
40$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
41        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
42        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
43PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
44
45$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
46        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
47PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
48
49$(PROJECT_INCLUDE)/rtems/score/h8300.h: rtems/score/h8300.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
50        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/h8300.h
51PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/h8300.h
52
53$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
54        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h
55PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
56
57CLEANFILES += $(PREINSTALL_FILES)
58DISTCLEANFILES = $(PREINSTALL_DIRS)
59
60include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.