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

4.104.114.84.95
Last change on this file since f4d43dd was f4d43dd, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/20/02 at 05:37:30

2002-07-19 Ralf Corsepius <corsepiu@…>

  • startup/Makefile.am: Add bsplib_DATA = linkcmds.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5
6VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
7
8PGM = $(ARCH)/startup.rel
9
10C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c init68340.c bootcard.c \
11    m68kpretaskinghook.c main.c sbrk.c setvec.c dumpanic.c \
12    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
31bsplib_DATA = linkcmds
32
33$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
34        $(INSTALL_DATA) $< $@
35
36# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
37TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
38
39all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
40
41.PRECIOUS: $(PGM)
42
43EXTRA_DIST = bspclean.c bspstart.c dumpanic.c init68340.c linkcmds
44
45include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.