source: rtems/cpukit/score/cpu/sparc/Makefile.am @ 7fccd6d6

4.104.114.84.95
Last change on this file since 7fccd6d6 was 7fccd6d6, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/12/03 at 13:02:24

2003-12-12 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES.
  • Property mode set to 100644
File size: 1.7 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: $(PREINSTALL_FILES) $(LIB)
29
30EXTRA_DIST = cpu.c cpu_asm.S
31
32PREINSTALL_FILES =
33
34$(PROJECT_INCLUDE)/$(dirstamp):
35        @$(mkdir_p) $(PROJECT_INCLUDE)
36        @: > $(PROJECT_INCLUDE)/$(dirstamp)
37
38$(PROJECT_INCLUDE)/asm.h: asm.h $(PROJECT_INCLUDE)/$(dirstamp)
39        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/asm.h
40PREINSTALL_FILES += $(PROJECT_INCLUDE)/asm.h
41
42$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
43        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
44        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
45
46$(PROJECT_INCLUDE)/rtems/score/sparc.h: rtems/score/sparc.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
47        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/sparc.h
48PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/sparc.h
49
50$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
51        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
52PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
53
54$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
55        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h
56PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
57
58include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.