source: rtems/c/src/lib/libbsp/i386/pc386/startup/Makefile.am @ d0d73ec

4.104.114.84.95
Last change on this file since d0d73ec was fdc10e3, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/19/02 at 05:05:55

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

  • startup/Makefile.am: Add bsplib_DATA = linkcmds.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5
6VPATH = @srcdir@:@srcdir@/../../../shared:@srcdir@/../../shared/irq:@srcdir@/../../shared/comm:@srcdir@/../../shared/pci
7
8PGM = $(ARCH)/startup.rel
9
10C_FILES = bsplibc.c bsppost.c bspstart.c exit.c idt.c irq.c irq_init.c \
11    bootcard.c main.c sbrk.c i386-stub.c i386-stub-glue.c uart.c pcibios.c \
12    gnatinstallhandler.c gdb_glue.c tty_drv.c
13
14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
15
16S_FILES = ldsegs.S 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/compile.am
23include $(top_srcdir)/../../../../../../automake/lib.am
24
25#
26# (OPTIONAL) Add local stuff here using +=
27#
28
29# USE_INIT_FINI tells main.c what C++ help we need.
30
31AM_CPPFLAGS += -DUSE_INIT_FINI
32
33$(PGM): $(startup_rel_OBJECTS)
34        $(make-rel)
35
36bsplib_DATA = linkcmds
37
38$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
39        $(INSTALL_DATA) $< $@
40
41TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
42
43all-local: $(ARCH) $(startup_rel_OBJECTS) $(PGM) $(TMPINSTALL_FILES)
44
45.PRECIOUS: $(PGM)
46
47EXTRA_DIST = bspstart.c exit.c ldsegs.S linkcmds sbrk.c
48
49include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.