source: rtems/c/src/lib/libbsp/powerpc/mpc8260ads/irq/Makefile.am @ 61f1ba5

4.104.114.84.95
Last change on this file since 61f1ba5 was 1f5a123a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/11/02 at 07:03:25

2002-08-11 Ralf Corsepius <corsepiu@…>

  • clock/Makefile.am: Use .$(OBJEXT) instead of .o.
    • console/Makefile.am: Use .$(OBJEXT) instead of .o.
    • irq/Makefile.am: Use .$(OBJEXT) instead of .o.
    • network/Makefile.am: Use .$(OBJEXT) instead of .o.
    • start/Makefile.am: Use .$(OBJEXT) instead of .o.
    • startup/Makefile.am: Use .$(OBJEXT) instead of .o.
    • vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
    • wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5
6include_bspdir = $(includedir)/bsp
7
8C_FILES = irq.c irq_init.c
9C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
10
11include_bsp_HEADERS = irq.h
12
13S_FILES = irq_asm.S
14S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
15
16OBJS = $(C_O_FILES) $(S_O_FILES)
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../../../../../../automake/compile.am
20include $(top_srcdir)/../../../../../../automake/lib.am
21
22## FIXME: WTF is this?
23SORDID_HACK:
24        rm -f $(PROJECT_INCLUDE)/bsp/irq.h
25
26$(PROJECT_INCLUDE)/bsp:
27        $(mkinstalldirs) $@
28
29$(PROJECT_INCLUDE)/bsp/%.h: %.h
30        $(INSTALL_DATA) $< $@
31
32PREINSTALL_FILES = $(PROJECT_INCLUDE)/bsp \
33    $(include_bsp_HEADERS:%=$(PROJECT_INCLUDE)/bsp/%)
34
35#
36# (OPTIONAL) Add local stuff here using +=
37#
38
39$(PGM): $(OBJS)
40        $(make-rel)
41
42# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
43
44all-local: SORDID_HACK $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(PGM)
45
46EXTRA_DIST = irq.c irq.h irq_asm.S irq_init.c
47
48include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.