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