source: rtems/tools/cpu/unix/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.1 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8VPATH = @srcdir@
9RTEMS_ROOT = @RTEMS_ROOT@
10PROJECT_ROOT = @PROJECT_ROOT@
11RTEMS_CUSTOM = $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
12
13# we use host compiler here for gensize.  Hopefully it has same alignment!!
14USE_HOST_COMPILER=yes
15
16# C source names, if any, go here -- minus the .c
17C_PIECES=gensize
18C_FILES=$(C_PIECES:%=%.c)
19C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
20
21H_FILES=
22
23SRCS=$(C_FILES) $(H_FILES)
24OBJS=$(C_O_FILES)
25
26PGMS=${ARCH}/gensize
27
28include $(RTEMS_CUSTOM)
29include $(PROJECT_ROOT)/make/leaf.cfg
30
31# We use files that have not been installed yet.
32CPU_DIR=../../cpu/$(RTEMS_CPU)
33
34#
35# (OPTIONAL) Add local stuff here using +=
36#
37
38DEFINES  +=
39CPPFLAGS += -I$(PROJECT_INCLUDE) \
40            -I$(CPU_DIR)
41CFLAGS   +=
42
43LD_PATHS  +=
44LD_LIBS   +=
45LDFLAGS   +=
46
47#
48# Add your list of files to delete here.
49#
50
51CLEAN_ADDITIONS +=
52CLOBBER_ADDITIONS +=
53
54all:    ${ARCH} $(SRCS) $(PGMS)
55        $(INSTALL) -m 555 ${PGMS} ${PROJECT_RELEASE}/bin
56
57preinstall:
58
59# Install the program(s), appending _g or _p as appropriate.
60# for include files, just use $(INSTALL)
Note: See TracBrowser for help on using the repository browser.