source: rtems/c/src/lib/libbsp/i386/pc386/tools/Makefile.in @ 674c900

4.104.114.84.95
Last change on this file since 674c900 was 674c900, checked in by Joel Sherrill <joel.sherrill@…>, on 12/10/97 at 16:58:00

Modified a lot of files to take a first cut at supporting building from
any directory in the build tree. The only variable which must be set
before the command "gmake" is invoked is RTEMS_BSP (e.g. RTEMS_BSP=erc32).

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[7150f00f]1#
2# $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
[674c900]8VPATH = @srcdir@
9RTEMS_ROOT = @RTEMS_ROOT@
10PROJECT_ROOT = @PROJECT_ROOT@
11RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
[7150f00f]12exec_prefix = @exec_prefix@
13bindir = @bindir@
14libdir = @libdir@
15includedir = @includedir@
16manext = 1
17mandir = @mandir@/man$(manext)
18
19
20VPATH=@srcdir@
21
22
23# we use host compiler in this directory
24USE_HOST_COMPILER=yes
25
26# C source names, if any, go here -- minus the .c
27C_PIECES=bin2boot
28C_FILES=$(C_PIECES:%=%.c)
29C_O_FILES=$(C_PIECES:%=$(ARCH)/%.o)
30
31H_FILES=
32
33SRCS=$(C_FILES) $(CC_FILES) $(H_FILES)
34OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
35
36PGMS=$(ARCH)/bin2boot
37
38include $(RTEMS_CUSTOM)
39include $(RTEMS_ROOT)/make/leaf.cfg
40
41#
42# (OPTIONAL) Add local stuff here using +=
43#
44
45DEFINES  +=
46CPPFLAGS +=
47CFLAGS   +=
48
49LD_PATHS  +=
50LD_LIBS   +=
51LDFLAGS   +=
52
53#
54# Add your list of files to delete here.  The config files
55#  already know how to delete some stuff, so you may want
56#  to just run 'make clean' first to see what gets missed.
57#  'make clobber' already includes 'make clean'
58#
59
60CLEAN_ADDITIONS += $(HOST_ARCH)
61CLOBBER_ADDITIONS +=
62
63all:    $(ARCH) $(SRCS) $(PGMS)
64        $(INSTALL_VARIANT) -m 555 $(PGMS) ${PROJECT_RELEASE}/build-tools
[674c900]65        uudecode < $(srcdir)/diskboot.uue \
[ccb806c]66            > $(PROJECT_RELEASE)/build-tools/diskboot.exe
Note: See TracBrowser for help on using the repository browser.