source: rtems/c/src/lib/libbsp/powerpc/mbx8xx/irq/Makefile.am @ 7eeb740a

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

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

  • Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • irq/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • startup/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • vectors/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • Property mode set to 100644
File size: 916 bytes
Line 
1##
2## $Id$
3##
4
5C_FILES = irq.c irq_init.c
6OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
7
8include_bspdir = $(includedir)/bsp
9include_bsp_HEADERS = irq.h
10
11S_FILES = irq_asm.S
12OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
13
14include $(top_srcdir)/../../../../automake/compile.am
15include $(top_srcdir)/../../../../automake/lib.am
16
17#
18# (OPTIONAL) Add local stuff here using +=
19#
20
21$(PGM): $(OBJS)
22        $(make-rel)
23
24# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
25
26all-local: $(PREINSTALL_FILES) $(OBJS) $(PGM)
27
28EXTRA_DIST = irq.c irq_asm.S irq_init.c
29
30PREINSTALL_FILES =
31
32$(PROJECT_INCLUDE)/bsp/$(dirstamp):
33        @$(mkdir_p) $(PROJECT_INCLUDE)/bsp
34        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
35
36$(PROJECT_INCLUDE)/bsp/irq.h: irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
37        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
38PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
39
40include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.