source: rtems/c/src/lib/libbsp/i386/pc386/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
RevLine 
[69537ca9]1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
[4e36a2f]7VPATH = @srcdir@:@srcdir@/../../../shared:@srcdir@/../../shared/irq:@srcdir@/../../shared/comm:@srcdir@/../../shared/pci
[69537ca9]8
[4e36a2f]9PGM = $(ARCH)/startup.rel
[69537ca9]10
11C_FILES = bsplibc.c bsppost.c bspstart.c exit.c irq.c irq_init.c bootcard.c \
12    main.c sbrk.c i386-stub.c i386-stub-glue.c uart.c pcibios.c \
13    gnatinstallhandler.c
[4e36a2f]14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
[69537ca9]15
16S_FILES = ldsegs.S irq_asm.S
[4e36a2f]17S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
[69537ca9]18
19startup_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
20
21include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[4e36a2f]22include $(top_srcdir)/../../../../../../automake/lib.am
[69537ca9]23
24#
25# (OPTIONAL) Add local stuff here using +=
26#
27
28# USE_INIT_FINI tells main.c what C++ help we need.
29
30AM_CPPFLAGS += -DUSE_INIT_FINI
31
[4e36a2f]32$(PGM): $(startup_rel_OBJECTS)
[69537ca9]33        $(make-rel)
34
35$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
36        $(INSTALL_DATA) $< $@
37
38TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
39
[4e36a2f]40all-local: $(ARCH) $(startup_rel_OBJECTS) $(PGM) $(TMPINSTALL_FILES)
[69537ca9]41
[4e36a2f]42.PRECIOUS: $(PGM)
43
44EXTRA_DIST = bspstart.c exit.c ldsegs.S linkcmds sbrk.c
[69537ca9]45
46include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.