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

4.104.114.84.95
Last change on this file since d4f9cef5 was d4f9cef5, checked in by Joel Sherrill <joel.sherrill@…>, on 06/19/01 at 14:27:24

2001-06-19 Ralf Corsepius <corsepiu@…>

  • configure.in: Add bspopts.h.
  • include/.cvsignore: Add bspopts.h*, stamp-h*.
  • include/Makefile.am: Use *_HEADERS instead of *H_FILES.
  • include/bsp.h: Include bspopts.h.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7C_FILES = irq.c irq_init.c
8C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
9
10include_bspdir = $(includedir)/bsp
11include_bsp_HEADERS = irq.h
12
13S_FILES = irq_asm.S
14S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
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#HACK: WTF is this?
23SORDID_HACK:
24        rm -f $(PROJECT_INCLUDE)/bsp/irq.h
25
26$(PROJECT_INCLUDE):
27        $(mkinstalldirs) $@
28
29$(PROJECT_INCLUDE)/bsp:
30        $(mkinstalldirs) $@
31
32$(PROJECT_INCLUDE)/bsp/%.h: %.h
33        $(INSTALL_DATA) $< $@
34
35PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp \
36    $(include_bsp_HEADERS:%=$(PROJECT_INCLUDE)/bsp/%)
37
38#
39# (OPTIONAL) Add local stuff here using +=
40#
41
42$(PGM): $(OBJS)
43        $(make-rel)
44
45# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
46
47all-local: SORDID_HACK $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(PGM)
48
49EXTRA_DIST = irq.c irq_asm.S irq_init.c
50
51include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.