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 | |
---|
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 | include_bspdir = $(includedir)/bsp |
---|
11 | include_bsp_HEADERS = irq.h |
---|
12 | |
---|
13 | S_FILES = irq_asm.S |
---|
14 | S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o) |
---|
15 | |
---|
16 | OBJS = $(C_O_FILES) $(S_O_FILES) |
---|
17 | |
---|
18 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
19 | include $(top_srcdir)/../../../../../../automake/compile.am |
---|
20 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
21 | |
---|
22 | #HACK: WTF is this? |
---|
23 | SORDID_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 | |
---|
35 | PREINSTALL_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 | |
---|
47 | all-local: SORDID_HACK $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(PGM) |
---|
48 | |
---|
49 | EXTRA_DIST = irq.c irq_asm.S irq_init.c |
---|
50 | |
---|
51 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.