4.104.114.84.95
Last change
on this file since fa21a843 was
fa21a843,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/17/98 at 15:17:29
|
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@ |
---|
8 | srcdir = @srcdir@ |
---|
9 | VPATH = @srcdir@ |
---|
10 | RTEMS_ROOT = @top_srcdir@ |
---|
11 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
12 | |
---|
13 | # we use the host compiler here |
---|
14 | USE_HOST_COMPILER=yes |
---|
15 | |
---|
16 | # C source names, if any, go here -- minus the .c |
---|
17 | C_PIECES=shgen sci |
---|
18 | C_FILES=$(C_PIECES:%=%.c) |
---|
19 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
20 | |
---|
21 | H_FILES=sci.h |
---|
22 | |
---|
23 | SRCS=$(C_FILES) $(H_FILES) |
---|
24 | OBJS=$(C_O_FILES) |
---|
25 | |
---|
26 | PGMS=${ARCH}/shgen@EXEEXT@ |
---|
27 | |
---|
28 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
29 | include $(RTEMS_ROOT)/make/leaf.cfg |
---|
30 | |
---|
31 | # |
---|
32 | # Add local stuff here using += |
---|
33 | # |
---|
34 | |
---|
35 | DEFINES += -Wall |
---|
36 | CPPFLAGS += -I. |
---|
37 | CFLAGS += |
---|
38 | |
---|
39 | LD_PATHS += |
---|
40 | LD_LIBS += -lm |
---|
41 | LDFLAGS += |
---|
42 | |
---|
43 | # |
---|
44 | # Add your list of files to delete here. |
---|
45 | # |
---|
46 | |
---|
47 | CLEAN_ADDITIONS += |
---|
48 | CLOBBER_ADDITIONS += |
---|
49 | |
---|
50 | DESTDIR=${PROJECT_RELEASE}/bin |
---|
51 | |
---|
52 | all: $(ARCH) $(PGMS) |
---|
53 | |
---|
54 | ${PGMS}: $(OBJS) $(LINK_FILES) |
---|
55 | $(make-exe) |
---|
56 | |
---|
57 | $(DESTDIR): |
---|
58 | $(BSDINSTALL) $(INSTDIRFLAGS) $@ |
---|
59 | |
---|
60 | # Install the program |
---|
61 | install: $(DESTDIR) $(PGMS) |
---|
62 | $(BSDINSTALL) $(INSTBINFLAGS) ${PGMS} $(DESTDIR) |
---|
Note: See
TracBrowser
for help on using the repository browser.