source: rtems/c/src/lib/libbsp/i386/pc386/start/Makefile.in @ 2d7d605

4.104.114.84.9
Last change on this file since 2d7d605 was 2d7d605, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 19, 1998 at 2:41:23 PM

Patch from Aleksey <qqi@…>:

It fixes netboot build problem, KA9Q configuration
for pc386, some compiler wardning, it also removed some stuff
ifdef'ed with '#if 0'.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH = @srcdir@
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11PGMS=${ARCH}/start.o ${ARCH}/start16.bin
12
13# C source names, if any, go here -- minus the .c
14C_PIECES=
15C_FILES=$(C_PIECES:%=%.c)
16C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
17
18H_FILES=
19
20# Assembly source names, if any, go here -- minus the .s
21S_PIECES=start16 start
22S_FILES=$(S_PIECES:%=%.s)
23S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
24
25SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
26OBJS=$(C_O_FILES) $(S_O_FILES)
27
28include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
29include $(RTEMS_ROOT)/make/leaf.cfg
30
31#
32# (OPTIONAL) Add local stuff here using +=
33#
34
35DEFINES  +=
36CPPFLAGS +=
37CFLAGS   +=
38
39LD_PATHS  +=
40LD_LIBS   +=
41LDFLAGS   +=
42
43#
44# Add your list of files to delete here.  The config files
45#  already know how to delete some stuff, so you may want
46#  to just run 'make clean' first to see what gets missed.
47#  'make clobber' already includes 'make clean'
48#
49
50CLEAN_ADDITIONS +=
51CLOBBER_ADDITIONS +=
52
53all:    ${ARCH} $(SRCS) $(OBJS) $(PGMS)
54        $(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/lib
55
56# Install the program(s), appending _g or _p as appropriate.
57# for include files, just use $(INSTALL)
58
59LINKCMDS=$(srcdir)/../startup/linkcmds
60
61${ARCH}/start16.o: start16.s
62        sed -e 's/\/\/.*$$//' < $< | $(CPP) $(ASMFLAGS) -I. -I$(srcdir) \
63          -DASM -DHEADERADDR=$(HEADERADDR) - > $*.i
64        $(AS) $(ASFLAGS) -o $@ $*.i
65
66${ARCH}/start16.bin: ${ARCH}/start16.o
67        $(LD) -N -T $(LINKCMDS) -Ttext $(START16ADDR) -e start16 -nostdlib \
68          --oformat=elf32-i386 -o $(basename $@).obj $(basename $@).o
69        $(OBJCOPY) -O binary $(basename $@).obj $@
Note: See TracBrowser for help on using the repository browser.