source: rtems/tools/cpu/unix/Makefile.in @ 03f2154e

4.104.114.84.95
Last change on this file since 03f2154e was 254b4450, checked in by Joel Sherrill <joel.sherrill@…>, on 04/01/97 at 23:07:52

This set of changes is the build of what was required to convert to
GNU autoconf. This is the first large step in allowing an RTEMS
user to perform a one-tree build (per crossgcc FAQ) including RTEMS
in the build process. With this change RTEMS is configured in
built in the same style as the GNU tools, yet retains the basic
structure of its traditional Makefiles (ala Tony Bennett).
Jiri Gaisler (jgais@…) deserves (and received)
a big thank you for doing this.

There are still issues to be resolved but as of this commit, all target
which can be built on a linux host have been using a modified version
of the source Jiri submitted. This source was merged and most targets
built in the tree before this commit.

There are some issues which remain to be resolved but they are primarily
related to host OS dependencies, script issues, the use of gawk
for hack_specs, and the dependence on gcc snapshots. These will
be resolved.

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[254b4450]1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8VPATH=@srcdir@
9
10# we use host compiler here for gensize.  Hopefully it has same alignment!!
11USE_HOST_COMPILER=yes
12
13# C source names, if any, go here -- minus the .c
14C_PIECES=gensize
15C_FILES=$(C_PIECES:%=%.c)
16C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
17
18H_FILES=
19
20SRCS=$(C_FILES) $(H_FILES)
21OBJS=$(C_O_FILES)
22
23PGMS=${ARCH}/gensize
24
25include $(RTEMS_CUSTOM)
26include $(PROJECT_ROOT)/make/leaf.cfg
27
28# We use files that have not been installed yet.
29CPU_DIR=../../cpu/$(RTEMS_CPU)
30
31#
32# (OPTIONAL) Add local stuff here using +=
33#
34
35DEFINES  +=
36CPPFLAGS += -I$(PROJECT_RELEASE)/include \
37            -I$(CPU_DIR)
38CFLAGS   +=
39
40LD_PATHS  +=
41LD_LIBS   +=
42LDFLAGS   +=
43
44#
45# Add your list of files to delete here.
46#
47
48CLEAN_ADDITIONS +=
49CLOBBER_ADDITIONS +=
50
51all:    ${ARCH} $(SRCS) $(PGMS)
52        $(INSTALL) -m 555 ${PGMS} ${PROJECT_RELEASE}/bin
53
54# Hack
55# we are #including files that haven't been installed yet.
56# Make sure they are available in the src tree (ie: checked
57# out from SCCS or RCS)
58preinstall:
59
60# Install the program(s), appending _g or _p as appropriate.
61# for include files, just use $(INSTALL)
Note: See TracBrowser for help on using the repository browser.