source: rtems/c/src/lib/libbsp/powerpc/mbx8xx/irq/Makefile.am @ 8d0782a

4.104.114.84.95
Last change on this file since 8d0782a was 8d0782a, checked in by Joel Sherrill <joel.sherrill@…>, on 03/28/02 at 00:41:38

2002-03-27 Ralf Corsepius <corsepiu@…>

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