4.104.114.84.95
Rev | Line | |
---|
[df49c60] | 1 | ## |
---|
[4e36a2f] | 2 | ## $Id$ |
---|
[df49c60] | 3 | ## |
---|
[4e36a2f] | 4 | |
---|
| 5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
| 6 | |
---|
| 7 | VPATH = @srcdir@:@srcdir@/../../../shared |
---|
| 8 | |
---|
| 9 | PGM = $(ARCH)/startup.rel |
---|
| 10 | |
---|
| 11 | C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \ |
---|
| 12 | setvec.c gnatinstallhandler.c |
---|
| 13 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
| 14 | |
---|
| 15 | OBJS = $(C_O_FILES) |
---|
| 16 | |
---|
| 17 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
| 18 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
| 19 | |
---|
| 20 | # |
---|
| 21 | # (OPTIONAL) Add local stuff here using += |
---|
| 22 | # |
---|
| 23 | |
---|
| 24 | $(PGM): $(OBJS) |
---|
| 25 | $(make-rel) |
---|
| 26 | |
---|
| 27 | $(PROJECT_RELEASE)/lib/linkcmds: linkcmds |
---|
| 28 | $(INSTALL_DATA) $< $@ |
---|
| 29 | |
---|
| 30 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
---|
| 31 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds |
---|
| 32 | |
---|
| 33 | all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES) |
---|
| 34 | |
---|
| 35 | .PRECIOUS: $(PGM) |
---|
| 36 | |
---|
| 37 | EXTRA_DIST = bspclean.c bspstart.c linkcmds setvec.c |
---|
| 38 | |
---|
| 39 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.