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

4.104.114.84.95
Last change on this file since a5417074 was a5417074, checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 15:42:23

2000-09-04 Ralf Corsepius <corsepiu@…>

  • 3c509/Makefile.am, clock/Makefile.am, console/Makefile.am, ne2000/Makefile.am, start/Makefile.am, startup/Makefile.am, timer/Makefile.am, wd8003/Makefile.am, wrapup/Makefile.am: Include compile.am
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../../shared:@srcdir@/../../shared/irq:@srcdir@/../../shared/comm:@srcdir@/../../shared/pci
8
9PGM = $(ARCH)/startup.rel
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 gdb_glue.c tty_drv.c
14
15C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
16
17S_FILES = ldsegs.S irq_asm.S
18S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
19
20startup_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
21
22include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
23include $(top_srcdir)/../../../../../../automake/compile.am
24include $(top_srcdir)/../../../../../../automake/lib.am
25
26#
27# (OPTIONAL) Add local stuff here using +=
28#
29
30# USE_INIT_FINI tells main.c what C++ help we need.
31
32AM_CPPFLAGS += -DUSE_INIT_FINI
33
34$(PGM): $(startup_rel_OBJECTS)
35        $(make-rel)
36
37$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
38        $(INSTALL_DATA) $< $@
39
40TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
41
42all-local: $(ARCH) $(startup_rel_OBJECTS) $(PGM) $(TMPINSTALL_FILES)
43
44.PRECIOUS: $(PGM)
45
46EXTRA_DIST = bspstart.c exit.c ldsegs.S linkcmds sbrk.c
47
48include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.