source:
rtems/c/src/lib/libbsp/sparc/erc32/startup/Makefile.am
@
0ecf57c7
Last change on this file since 0ecf57c7 was 0ecf57c7, checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 15:54:50 | |
---|---|
|
|
File size: 926 bytes |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[10726095] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[10726095] | 4 | |
5 | AUTOMAKE_OPTIONS = foreign 1.4 | |
6 | ||
7 | VPATH = @srcdir@:@srcdir@/../../../shared | |
8 | ||
[4e36a2f] | 9 | PGM = $(ARCH)/startup.rel |
[10726095] | 10 | |
11 | C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c main.c bootcard.c sbrk.c \ | |
12 | setvec.c spurious.c | |
[4e36a2f] | 13 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
[10726095] | 14 | |
15 | OBJS = $(C_O_FILES) | |
16 | ||
17 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg | |
[0ecf57c7] | 18 | include $(top_srcdir)/../../../../../../automake/compile.am |
[10726095] | 19 | include $(top_srcdir)/../../../../../../automake/lib.am |
20 | ||
21 | # | |
22 | # (OPTIONAL) Add local stuff here using += | |
23 | # | |
24 | ||
25 | # USE_INIT_FINI tells main.c what C++ help we need. | |
26 | AM_CPPFLAGS += -DUSE_INIT_FINI | |
27 | ||
[4e36a2f] | 28 | $(PGM): $(OBJS) |
[10726095] | 29 | $(make-rel) |
30 | ||
31 | $(PROJECT_RELEASE)/lib/linkcmds: linkcmds | |
32 | $(INSTALL_DATA) $< $@ | |
33 | ||
[4e36a2f] | 34 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds |
[10726095] | 35 | |
[4e36a2f] | 36 | all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES) |
[10726095] | 37 | |
[4e36a2f] | 38 | .PRECIOUS: $(PGM) |
39 | ||
40 | EXTRA_DIST = bspclean.c bspstart.c linkcmds setvec.c spurious.c | |
[10726095] | 41 | |
42 | include $(top_srcdir)/../../../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.