source: rtems/c/src/lib/libbsp/m68k/mvme147/startup/Makefile.am @ 476b632

4.104.114.84.95
Last change on this file since 476b632 was 476b632, checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 15:49:52

2000-09-04 Ralf Corsepius <corsepiu@…>

  • clock/Makefile.am, console/Makefile.am, start/Makefile.am, startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am: Include compile.am
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
8
9PGM = $(ARCH)/startup.rel
10
11C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c \
12    m68kpretaskinghook.c main.c sbrk.c setvec.c gnatinstallhandler.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15OBJS = $(C_O_FILES)
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(top_srcdir)/../../../../../../automake/compile.am
19include $(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.
26AM_CPPFLAGS += -DUSE_INIT_FINI
27
28$(PGM): $(OBJS)
29        $(make-rel)
30
31$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
32        $(INSTALL_DATA) $< $@
33
34# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
35TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
36
37all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
38
39.PRECIOUS: $(PGM)
40
41EXTRA_DIST = bspclean.c bspstart.c linkcmds
42
43include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.