source: rtems/c/src/lib/libbsp/i386/ts_386ex/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/comm:@srcdir@/../../shared/irq:@srcdir@/../../shared/io
8
9PGM = $(ARCH)/startup.rel
10
11C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
12    irq.c irq_init.c i386-stub.c i386-stub-glue.c uart.c \
13    gnatinstallhandler.c
14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
15
16S_FILES = irq_asm.S
17S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
18
19startup_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
20
21include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
22include $(top_srcdir)/../../../../../../automake/lib.am
23
24#
25# (OPTIONAL) Add local stuff here using +=
26#
27
28## FIXME: This doesn't seem to be useful
29## AM_CPPFLAGS += -I$(srcdir)
30
31AM_CPPFLAGS += -DUSE_INIT_FINI
32
33$(PGM): $(startup_rel_OBJECTS)
34        $(make-rel)
35
36$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
37        $(INSTALL_DATA) $< $@
38
39UNUSED_C_FILES = setvec.c
40
41TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
42
43all-local: $(ARCH) $(startup_rel_OBJECTS) $(PGM) $(TMPINSTALL_FILES)
44
45.PRECIOUS: $(PGM)
46
47EXTRA_DIST = README bspstart.c linkcmds setvec.c
48
49include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.