source: rtems/c/src/lib/libbsp/m68k/gen68360/startup/Makefile.am @ 4e36a2f

4.104.114.84.95
Last change on this file since 4e36a2f was 4e36a2f, checked in by Joel Sherrill <joel.sherrill@…>, on 01/31/00 at 15:27:02

Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@…> that contain:

  • Modifications, (minor) corrections, cleanups to most existing Makefile.ams
  • Adds automake support to all remaining BSPs which have not yet been converted to automake.
  • Makefile.am for all remaining wrapup/Makefile.ams
  • Property mode set to 100644
File size: 1.1 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 = alloc360.c bspclean.c bsplibc.c bsppost.c m68kpretaskinghook.c \
12    bspstart.c init68360.c bootcard.c main.c sbrk.c setvec.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
25AM_CPPFLAGS += -DUSE_INIT_FINI
26
27$(PGM): $(OBJS)
28        $(make-rel)
29
30$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
31        $(INSTALL_DATA) $< $@
32
33$(PROJECT_RELEASE)/lib/linkcmds.prom: linkcmds.prom
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    $(PROJECT_RELEASE)/lib/linkcmds.prom
39
40all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
41
42.PRECIOUS: $(PGM)
43
44EXTRA_DIST = alloc360.c bspclean.c bspstart.c init68360.c linkcmds \
45    linkcmds.bootp linkcmds.prom
46
47include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.