source: rtems/c/src/lib/libbsp/arm/arm_bare_bsp/irq/Makefile.am @ 7f0e84c5

4.104.114.84.95
Last change on this file since 7f0e84c5 was 7f0e84c5, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 3, 2003 at 5:16:57 AM

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

  • Makefile.am: Add preinstallation dirstamp support.
  • clock/Makefile.am: Cosmetics.
  • console/Makefile.am: Cosmetics.
  • irq/Makefile.am: Add preinstallation dirstamp support.
  • startup/Makefile.am: Cosmetics.
  • timer/Makefile.am: Cosmetics.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5VPATH = @srcdir@:@srcdir@/../../shared/irq
6
7PGM = $(ARCH)/irq.rel
8
9C_FILES = irq.c irq_init.c bsp_irq_init.c
10S_FILES = irq_asm.S bsp_irq_asm.S
11include_HEADERS = irq.h
12
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
14S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
15
16irq_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
17
18include $(top_srcdir)/../../../../automake/compile.am
19include $(top_srcdir)/../../../../automake/lib.am
20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25$(PGM): $(irq_rel_OBJECTS)
26        $(make-rel)
27
28all: $(PREINSTALL_FILES) $(ARCH) $(irq_rel_OBJECTS) $(PGM)
29
30.PRECIOUS: $(PGM)
31
32EXTRA_DIST = irq.c bsp_irq_init.c bsp_irq_asm.S
33
34PREINSTALL_FILES =
35
36$(PROJECT_INCLUDE)/$(dirstamp):
37        @$(mkinstalldirs) $(PROJECT_INCLUDE)
38        @: > $(PROJECT_INCLUDE)/$(dirstamp)
39PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
40
41$(PROJECT_INCLUDE)/irq.h: irq.h $(PROJECT_INCLUDE)/$(dirstamp)
42        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
43PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
44
45include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.