source: rtems/cpukit/score/cpu/sparc/Makefile.am @ 6562751e

4.104.114.84.95
Last change on this file since 6562751e was 7d0eba02, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 30, 2003 at 7:35:52 AM

2003-11-30 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Add $(dirstamp) to preinstallation rules.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../aclocal
6
7include $(top_srcdir)/../../../automake/multilib.am
8include $(top_srcdir)/../../../automake/compile.am
9include $(top_srcdir)/../../../automake/lib.am
10
11include_HEADERS= asm.h
12
13include_rtems_scoredir = $(includedir)/rtems/score
14include_rtems_score_HEADERS = rtems/score/sparc.h rtems/score/cpu.h \
15    rtems/score/types.h
16
17C_FILES = cpu.c
18OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
19
20S_FILES = cpu_asm.S
21OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
22
23LIB = $(ARCH)/libscorecpu.a
24
25$(LIB): $(OBJS)
26        $(make-library)
27
28all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) \
29    $(TMPINSTALL_FILES)
30
31EXTRA_DIST = cpu.c cpu_asm.S
32
33PREINSTALL_FILES =
34
35$(PROJECT_INCLUDE)/$(dirstamp):
36        @$(mkinstalldirs) $(PROJECT_INCLUDE)
37        @: > $(PROJECT_INCLUDE)/$(dirstamp)
38PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
39
40$(PROJECT_INCLUDE)/asm.h: asm.h $(PROJECT_INCLUDE)/$(dirstamp)
41        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/asm.h
42PREINSTALL_FILES += $(PROJECT_INCLUDE)/asm.h
43
44$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
45        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems/score
46        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
47PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
48
49$(PROJECT_INCLUDE)/rtems/score/sparc.h: rtems/score/sparc.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
50        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/sparc.h
51PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/sparc.h
52
53$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
54        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
55PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
56
57$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
58        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h
59PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
60
61include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.