source: rtems/c/src/lib/libbsp/arm/edb7312/irq/Makefile.am @ 9a6f471

4.104.114.84.95
Last change on this file since 9a6f471 was 9a6f471, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/03/03 at 05:17:21

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

  • Makefile.am: Add preinstallation dirstamp support.
  • irq/Makefile.am: Add preinstallation dirstamp support.
  • network/Makefile.am: Cosmetics.
  • wrapup/Makefile.am: Cosmetics.
  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[3d6669cc]1##
2## $Id$
3##
4
5VPATH = @srcdir@:@srcdir@/../../shared/irq
6
7PGM = $(ARCH)/irq.rel
8
9C_FILES = irq.c bsp_irq_init.c irq_init.c
10C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
11
12S_FILES = bsp_irq_asm.S irq_asm.S
13S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
14
15include_HEADERS = irq.h
16
17OBJS = $(C_O_FILES) $(S_O_FILES)
18
[d8abd37]19include $(top_srcdir)/../../../../automake/compile.am
20include $(top_srcdir)/../../../../automake/lib.am
[3d6669cc]21
22#
23# (OPTIONAL) Add local stuff here using +=
24#
25
26AM_CPPFLAGS += -I$(srcdir)
27
28$(PGM): $(OBJS)
29        $(make-rel)
30
31# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
32
[5b62726f]33all-local: $(OBJS) $(PGM)
[3d6669cc]34
35.PRECIOUS: $(PGM)
36
37EXTRA_DIST = bsp_irq_asm.S bsp_irq_init.c irq.c
38
[9a6f471]39PREINSTALL_FILES =
40
41$(PROJECT_INCLUDE)/$(dirstamp):
42        @$(mkinstalldirs) $(PROJECT_INCLUDE)
43        @: > $(PROJECT_INCLUDE)/$(dirstamp)
44PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
45
46$(PROJECT_INCLUDE)/irq.h: irq.h $(PROJECT_INCLUDE)/$(dirstamp)
47        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
48PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
49
[d8abd37]50include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.