source: rtems/cpukit/score/cpu/mips/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: 2.1 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 idtcpu.h iregdef.h
12
13include_rtems_scoredir = $(includedir)/rtems/score
14include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/mips.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)/idtcpu.h: idtcpu.h $(PROJECT_INCLUDE)/$(dirstamp)
43        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/idtcpu.h
44PREINSTALL_FILES += $(PROJECT_INCLUDE)/idtcpu.h
45
46$(PROJECT_INCLUDE)/iregdef.h: iregdef.h $(PROJECT_INCLUDE)/$(dirstamp)
47        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/iregdef.h
48PREINSTALL_FILES += $(PROJECT_INCLUDE)/iregdef.h
49
50$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
51        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
52        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
53
54$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
55        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
56PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
57
58$(PROJECT_INCLUDE)/rtems/score/mips.h: rtems/score/mips.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
59        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/mips.h
60PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/mips.h
61
62$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
63        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h
64PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
65
66include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.