source: rtems/c/src/exec/score/tools/sh/Makefile.in @ 06fa582

4.104.114.84.95
Last change on this file since 06fa582 was 06fa582, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 19, 1998 at 12:56:20 PM

Patches from Ralf Corsepius <corsepiu@…> and myself to
make solaris target buildable.

  1. The ipc check fails since solaris does not define union semun.

The unix port code actually defines this type itself on solaris. Doing
the same thing lets it get configured. Then...

  1. It looks like BSDINSTALL is not defined properly.

BSDINSTALL is defined in make/host.cfg.in as
BSDINSTALL=@INSTALL@

@INSTALL@ is generated by autoconf's standard macro AC_PROG_INSTALL, which
is widely used in almost any autoconf/automake configured package. In case
there is really something wrong with it, then it must be considered a bug
in autoconf.

I can see a doubious fragment in AC_PROG_INSTALL, which is used when no
appropriate bsd-install is found.

Finally Ralf saw a problem with the find on solaris which I also saw and
fixed.

  • Property mode set to 100644
File size: 993 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        @INSTALL@ $(INSTDIRFLAGS) $@
59
60# Install the program
61install:  $(DESTDIR) $(PGMS)
62        @INSTALL@ $(INSTBINFLAGS) ${PGMS} $(DESTDIR)
Note: See TracBrowser for help on using the repository browser.