source: rtems/c/src/lib/libbsp/powerpc/eth_comm/irq/Makefile.am @ 439675d

4.104.114.84.95
Last change on this file since 439675d was 4906d72f, checked in by Joel Sherrill <joel.sherrill@…>, on 06/18/01 at 17:02:30

2001-05-26 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
7include_bspdir = $(includedir)/bsp
8
9C_FILES = irq.c irq_init.c
10C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
11
12include_bsp_HEADERS = irq.h
13
14S_FILES = irq_asm.S
15S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
16
17OBJS = $(C_O_FILES) $(S_O_FILES)
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20include $(top_srcdir)/../../../../../../automake/compile.am
21include $(top_srcdir)/../../../../../../automake/lib.am
22
23## FIXME: WTF is this?
24SORDID_HACK:
25        rm -f $(PROJECT_INCLUDE)/bsp/irq.h
26
27$(PROJECT_INCLUDE)/bsp:
28        $(mkinstalldirs) $@
29
30$(PROJECT_INCLUDE)/bsp/%.h: %.h
31        $(INSTALL_DATA) $< $@
32
33PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp \
34    $(include_bsp_HEADERS:%=$(PROJECT_INCLUDE)/bsp/%)
35
36#
37# (OPTIONAL) Add local stuff here using +=
38#
39
40$(PGM): $(OBJS)
41        $(make-rel)
42
43# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
44
45all-local: SORDID_HACK $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(PGM)
46
47EXTRA_DIST = irq.c irq.h irq_asm.S irq_init.c
48
49include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.