source: rtems/c/src/lib/libbsp/i386/pc386/tools/Makefile.in @ 96d56b3

4.104.114.84.95
Last change on this file since 96d56b3 was 96d56b3, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 27, 1998 at 6:42:04 PM

Update from Pedro Romano <pmcnr@…>.

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