source: rtems/c/src/lib/libbsp/m68k/gen68340/startup/Makefile.am @ df49c60

4.104.114.84.95
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 12, 2000 at 3:00:15 PM

Merged from 4.5.0-beta3a

  • 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 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
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 dumpanic.c init68340.c linkcmds
42
43include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.