source:
rtems/c/src/lib/libbsp/powerpc/mbx8xx/irq/Makefile.am
@
35bb69b
Last change on this file since 35bb69b was 35bb69b, checked in by Joel Sherrill <joel.sherrill@…>, on 04/06/01 at 15:52:03 | |
---|---|
|
|
File size: 962 bytes |
Line | |
---|---|
1 | ## |
2 | ## $Id$ |
3 | ## |
4 | |
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
6 | |
7 | C_FILES = irq.c irq_init.c |
8 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
9 | |
10 | H_FILES = irq.h |
11 | |
12 | S_FILES = irq_asm.S |
13 | S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o) |
14 | |
15 | OBJS = $(C_O_FILES) $(S_O_FILES) |
16 | |
17 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
18 | include $(top_srcdir)/../../../../../../automake/compile.am |
19 | include $(top_srcdir)/../../../../../../automake/lib.am |
20 | |
21 | SORDID_HACK: |
22 | rm -f $(PROJECT_INCLUDE)/bsp/irq.h |
23 | |
24 | $(PROJECT_INCLUDE)/bsp: |
25 | $(mkinstalldirs) $@ |
26 | |
27 | $(PROJECT_INCLUDE)/bsp/%.h: %.h |
28 | $(INSTALL_DATA) $< $@ |
29 | |
30 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp \ |
31 | $(H_FILES:%.h=$(PROJECT_INCLUDE)/bsp/%.h) |
32 | |
33 | # |
34 | # (OPTIONAL) Add local stuff here using += |
35 | # |
36 | |
37 | $(PGM): $(OBJS) |
38 | $(make-rel) |
39 | |
40 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
41 | |
42 | all-local: SORDID_HACK $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(PGM) |
43 | |
44 | EXTRA_DIST = irq.c irq.h irq_asm.S irq_init.c |
45 | |
46 | include $(top_srcdir)/../../../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.