source:
rtems/c/src/lib/libbsp/arm/vegaplus/startup/Makefile.am
@
7cc96f5
Last change on this file since 7cc96f5 was 8b9acbf0, checked in by Joel Sherrill <joel.sherrill@…>, on 09/13/00 at 19:42:20 | |
---|---|
|
|
File size: 890 bytes |
Rev | Line | |
---|---|---|
[8b9acbf0] | 1 | ## |
[4564566] | 2 | ## $Id$ |
[8b9acbf0] | 3 | ## |
[4564566] | 4 | |
5 | AUTOMAKE_OPTIONS = foreign 1.4 | |
6 | ||
7 | VPATH = @srcdir@:@srcdir@/../../../shared | |
8 | ||
[8b9acbf0] | 9 | PGM = $(ARCH)/startup.rel |
[4564566] | 10 | |
[8b9acbf0] | 11 | C_FILES = bsplibc.c bsppost.c bspstart.c exit.c bootcard.c main.c sbrk.c \ |
12 | gnatinstallhandler.c | |
13 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) | |
[4564566] | 14 | |
[8b9acbf0] | 15 | OBJS = $(C_O_FILES) |
[4564566] | 16 | |
17 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg | |
[8b9acbf0] | 18 | include $(top_srcdir)/../../../../../../automake/compile.am |
[4564566] | 19 | include $(top_srcdir)/../../../../../../automake/lib.am |
20 | ||
21 | # | |
22 | # (OPTIONAL) Add local stuff here using += | |
23 | # | |
24 | ||
[8b9acbf0] | 25 | $(PGM): $(OBJS) |
[4564566] | 26 | $(make-rel) |
27 | ||
28 | $(PROJECT_RELEASE)/lib/linkcmds: linkcmds | |
29 | $(INSTALL_DATA) $< $@ | |
30 | ||
[8b9acbf0] | 31 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
[4564566] | 32 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds |
33 | ||
[8b9acbf0] | 34 | all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES) |
[4564566] | 35 | |
36 | .PRECIOUS: $(PGM) | |
37 | ||
[8b9acbf0] | 38 | EXTRA_DIST = bspstart.c exit.c linkcmds |
[4564566] | 39 | |
40 | include $(top_srcdir)/../../../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.