source: rtems/c/src/lib/libbsp/i386/pc386/start/Makefile.am @ 2431a8cf

4.104.114.84.95
Last change on this file since 2431a8cf was 2431a8cf, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 12, 2000 at 12:52:57 PM

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

  • start/Makefile.am: Remove AM_CPPFLAGS and GAS_CODE16 conditional.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7PGMS = $(ARCH)/start.o $(ARCH)/start16.bin
8
9S_FILES = start16.S start.S
10S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
11
12OBJS = $(S_O_FILES)
13
14include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
15include $(top_srcdir)/../../../../../../automake/compile.am
16include $(top_srcdir)/../../../../../../automake/lib.am
17
18#
19# (OPTIONAL) Add local stuff here using +=
20#
21
22LINKCMDS = $(top_srcdir)/startup/linkcmds
23
24$(ARCH)/start16.o: start16.S
25        $(COMPILE.S) $(AM_CPPFLAGS) -DHEADERADDR=$(HEADERADDR) -o $@ $<
26
27$(ARCH)/start16.bin: $(ARCH)/start16.o
28        $(LD) -N -T $(LINKCMDS) -Ttext $(START16ADDR) -e start16 -nostdlib        --oformat=elf32-i386 -o $(basename $@).obj $(basename $@).o
29        $(OBJCOPY) -O binary $(basename $@).obj $@
30
31$(PROJECT_RELEASE)/lib/start16$(LIB_VARIANT).bin: $(ARCH)/start16.bin
32        $(INSTALL_DATA) $< $@
33
34$(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o: $(ARCH)/start.o
35        $(INSTALL_DATA) $< $@
36
37TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/start16$(LIB_VARIANT).bin \
38    $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o
39
40all-local: $(ARCH) $(OBJS) $(TMPINSTALL_FILES)
41
42EXTRA_DIST = start.S start16.S
43
44include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.