source: rtems/tools/cpu/sh/Makefile.in @ fa21a843

4.104.114.84.95
Last change on this file since fa21a843 was fa21a843, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 17, 1998 at 3:17:29 PM

New files from Ralf Corsepius <corsepiu@…>. His comments:

  • c/src/exec/score/tools/sh - NEW DIRECTORY - contains shgen Most of it should be self-explanatory. I am a little bit concerned about host-dependent features (getopt, floating point libraries). This shouldn't disturb much now, as this tool should be compileable on all gnu-based hosts and is only applicable for the sh. But in case somebody complains, we may need to add autoconf checks or even restructurize parts of rtems (IMO, rtems needs to be restructurized - remember the "turning rtems upside down" issue).
  • Property mode set to 100644
File size: 1001 bytes
Line 
1#
2#  $Id$
3#
4#  FIXME: $ARCH shouldn't be used inside of host-tools.
5#
6
7@SET_MAKE@
8srcdir = @srcdir@
9VPATH = @srcdir@
10RTEMS_ROOT = @top_srcdir@
11PROJECT_ROOT = @PROJECT_ROOT@
12
13# we use the host compiler here
14USE_HOST_COMPILER=yes
15
16# C source names, if any, go here -- minus the .c
17C_PIECES=shgen sci
18C_FILES=$(C_PIECES:%=%.c)
19C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
20
21H_FILES=sci.h
22
23SRCS=$(C_FILES) $(H_FILES)
24OBJS=$(C_O_FILES)
25
26PGMS=${ARCH}/shgen@EXEEXT@
27
28include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
29include $(RTEMS_ROOT)/make/leaf.cfg
30
31#
32# Add local stuff here using +=
33#
34
35DEFINES  += -Wall
36CPPFLAGS += -I.
37CFLAGS   +=
38
39LD_PATHS  +=
40LD_LIBS   += -lm
41LDFLAGS   +=
42
43#
44# Add your list of files to delete here.
45#
46
47CLEAN_ADDITIONS +=
48CLOBBER_ADDITIONS +=
49
50DESTDIR=${PROJECT_RELEASE}/bin
51
52all:    $(ARCH) $(PGMS)
53
54${PGMS}: $(OBJS) $(LINK_FILES)
55        $(make-exe)
56
57$(DESTDIR):
58        $(BSDINSTALL) $(INSTDIRFLAGS) $@
59
60# Install the program
61install:  $(DESTDIR) $(PGMS)
62        $(BSDINSTALL) $(INSTBINFLAGS) ${PGMS} $(DESTDIR)
Note: See TracBrowser for help on using the repository browser.