source:
rtems/c/src/lib/libbsp/powerpc/mbx8xx/irq/Makefile.am
@
cf40ab9b
Last change on this file since cf40ab9b was 0d3876b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/17/02 at 12:51:46 | |
---|---|
|
|
File size: 882 bytes |
Rev | Line | |
---|---|---|
[35bb69b] | 1 | ## |
2 | ## $Id$ | |
3 | ## | |
4 | ||
5 | ||
6 | C_FILES = irq.c irq_init.c | |
[0d3876b] | 7 | OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
[35bb69b] | 8 | |
[d4f9cef5] | 9 | include_bspdir = $(includedir)/bsp |
10 | include_bsp_HEADERS = irq.h | |
[35bb69b] | 11 | |
12 | S_FILES = irq_asm.S | |
[0d3876b] | 13 | OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) |
[35bb69b] | 14 | |
15 | include $(top_srcdir)/../../../../../../automake/compile.am | |
16 | include $(top_srcdir)/../../../../../../automake/lib.am | |
17 | ||
[d4f9cef5] | 18 | $(PROJECT_INCLUDE): |
19 | $(mkinstalldirs) $@ | |
20 | ||
[35bb69b] | 21 | $(PROJECT_INCLUDE)/bsp: |
22 | $(mkinstalldirs) $@ | |
23 | ||
24 | $(PROJECT_INCLUDE)/bsp/%.h: %.h | |
25 | $(INSTALL_DATA) $< $@ | |
26 | ||
[25bc7ee8] | 27 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/bsp \ |
[d4f9cef5] | 28 | $(include_bsp_HEADERS:%=$(PROJECT_INCLUDE)/bsp/%) |
[35bb69b] | 29 | |
30 | # | |
31 | # (OPTIONAL) Add local stuff here using += | |
32 | # | |
33 | ||
34 | $(PGM): $(OBJS) | |
35 | $(make-rel) | |
36 | ||
37 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile | |
38 | ||
[0d3876b] | 39 | all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(PGM) |
[35bb69b] | 40 | |
[d4f9cef5] | 41 | EXTRA_DIST = irq.c irq_asm.S irq_init.c |
[35bb69b] | 42 | |
43 | include $(top_srcdir)/../../../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.