source: rtems/cpukit/score/cpu/h8300/Makefile.am @ 8956e27

4.104.114.84.95
Last change on this file since 8956e27 was 8956e27, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/14/04 at 05:31:43

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

  • Makefile.am: Re-add dirstamps to PREINSTALL_FILES. Add PREINSTALL_FILES to CLEANFILES.
  • 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_FILES =
29
30$(PROJECT_INCLUDE)/$(dirstamp):
31        @$(mkdir_p) $(PROJECT_INCLUDE)
32        @: > $(PROJECT_INCLUDE)/$(dirstamp)
33PREINSTALL_FILES += $(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)
42PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
43
44$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
45        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
46PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
47
48$(PROJECT_INCLUDE)/rtems/score/h8300.h: rtems/score/h8300.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
49        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/h8300.h
50PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/h8300.h
51
52$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
53        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h
54PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
55
56CLEANFILES += $(PREINSTALL_FILES)
57
58include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.