source: rtems/cpukit/score/cpu/or32/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.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/cpu.h rtems/score/types.h \
15    rtems/score/or32.h rtems/score/cpu_asm.h
16
17C_FILES = cpu.c cpu_asm.c
18OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
19
20LIB = $(ARCH)/libscorecpu.a
21
22$(LIB): $(OBJS)
23        $(make-library)
24
25all-local: $(PREINSTALL_FILES) $(LIB)
26
27EXTRA_DIST = cpu.c cpu_asm.c
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/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
48        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h
49PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
50
51$(PROJECT_INCLUDE)/rtems/score/or32.h: rtems/score/or32.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
52        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/or32.h
53PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/or32.h
54
55$(PROJECT_INCLUDE)/rtems/score/cpu_asm.h: rtems/score/cpu_asm.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
56        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h
57PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h
58
59include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.