source:
rtems/c/src/lib/libbsp/m68k/mcf5206elite/startup/Makefile.am
@
cff0d64
Last change on this file since cff0d64 was 194e3d78, checked in by Joel Sherrill <joel.sherrill@…>, on 10/26/01 at 19:48:45 | |
---|---|
|
|
File size: 1.2 KB |
Line | |
---|---|
1 | ## |
2 | ## $Id$ |
3 | ## |
4 | |
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
6 | |
7 | VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared |
8 | |
9 | PGM = $(ARCH)/startup.rel |
10 | |
11 | C_FILES = bspclean.c bsplibc.c bsppost.c m68kpretaskinghook.c \ |
12 | bspstart.c init5206e.c bootcard.c main.c sbrk.c setvec.c \ |
13 | gnatinstallhandler.c |
14 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
15 | |
16 | OBJS = $(C_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 | # |
23 | # (OPTIONAL) Add local stuff here using += |
24 | # |
25 | |
26 | AM_CPPFLAGS += -DUSE_INIT_FINI |
27 | |
28 | $(PGM): $(OBJS) |
29 | $(make-rel) |
30 | |
31 | $(PROJECT_RELEASE)/lib/gdbinit: gdbinit |
32 | $(INSTALL_DATA) $< $@ |
33 | |
34 | $(PROJECT_RELEASE)/lib/linkcmds: linkcmds |
35 | $(INSTALL_DATA) $< $@ |
36 | |
37 | $(PROJECT_RELEASE)/lib/linkcmds.flash: linkcmds.flash |
38 | $(INSTALL_DATA) $< $@ |
39 | |
40 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
41 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \ |
42 | $(PROJECT_RELEASE)/lib/linkcmds.flash \ |
43 | $(PROJECT_RELEASE)/lib/gdbinit |
44 | |
45 | all: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES) |
46 | |
47 | .PRECIOUS: $(PGM) |
48 | |
49 | EXTRA_DIST = bspclean.c bspstart.c init5206e.c linkcmds linkcmds.flash \ |
50 | gdbinit |
51 | |
52 | include $(top_srcdir)/../../../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.