source: rtems/c/src/lib/libbsp/m68k/gen68340/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.1 KB
RevLine 
[df49c60]1##
[4e36a2f]2## $Id$
[df49c60]3##
[4e36a2f]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 init68340.c bootcard.c \
12    m68kpretaskinghook.c main.c sbrk.c setvec.c dumpanic.c \
13    gnatinstallhandler.c
14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
15
16OBJS = $(C_O_FILES)
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[476b632]19include $(top_srcdir)/../../../../../../automake/compile.am
[4e36a2f]20include $(top_srcdir)/../../../../../../automake/lib.am
21
22#
23# (OPTIONAL) Add local stuff here using +=
24#
25
[df49c60]26# USE_INIT_FINI tells main.c what C++ help we need.
27AM_CPPFLAGS += -DUSE_INIT_FINI
28
[4e36a2f]29$(PGM): $(OBJS)
30        $(make-rel)
31
32$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
33        $(INSTALL_DATA) $< $@
34
35# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
36TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
37
38all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
39
40.PRECIOUS: $(PGM)
41
42EXTRA_DIST = bspclean.c bspstart.c dumpanic.c init68340.c linkcmds
43
44include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.