4.104.114.84.95
Last change
on this file since 730ad0c was
61a1c787,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/11/02 at 07:00:57
|
2002-08-11 Ralf Corsepius <corsepiu@…>
- clock/Makefile.am: Use .$(OBJEXT) instead of .o.
- console/Makefile.am: Use .$(OBJEXT) instead of .o.
- irq/Makefile.am: Use .$(OBJEXT) instead of .o.
- network/Makefile.am: Use .$(OBJEXT) instead of .o.
- startup/Makefile.am: Use .$(OBJEXT) instead of .o.
- vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
- wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | |
---|
6 | C_FILES = irq.c irq_init.c |
---|
7 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
---|
8 | |
---|
9 | include_bspdir = $(includedir)/bsp |
---|
10 | include_bsp_HEADERS = irq.h |
---|
11 | |
---|
12 | S_FILES = irq_asm.S |
---|
13 | S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) |
---|
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 | #HACK: WTF is this? |
---|
22 | SORDID_HACK: |
---|
23 | rm -f $(PROJECT_INCLUDE)/bsp/irq.h |
---|
24 | |
---|
25 | $(PROJECT_INCLUDE): |
---|
26 | $(mkinstalldirs) $@ |
---|
27 | |
---|
28 | $(PROJECT_INCLUDE)/bsp: |
---|
29 | $(mkinstalldirs) $@ |
---|
30 | |
---|
31 | $(PROJECT_INCLUDE)/bsp/%.h: %.h |
---|
32 | $(INSTALL_DATA) $< $@ |
---|
33 | |
---|
34 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/bsp \ |
---|
35 | $(include_bsp_HEADERS:%=$(PROJECT_INCLUDE)/bsp/%) |
---|
36 | |
---|
37 | # |
---|
38 | # (OPTIONAL) Add local stuff here using += |
---|
39 | # |
---|
40 | |
---|
41 | $(PGM): $(OBJS) |
---|
42 | $(make-rel) |
---|
43 | |
---|
44 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
---|
45 | |
---|
46 | all-local: SORDID_HACK $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(PGM) |
---|
47 | |
---|
48 | EXTRA_DIST = irq.c irq_asm.S irq_init.c |
---|
49 | |
---|
50 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.