source: rtems/tools/build/src/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 08/19/98 at 12:56:20

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: 1.5 KB
Line 
1#
2# $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7exec_prefix = @exec_prefix@
8bindir = @bindir@
9libdir = @libdir@
10includedir = @includedir@
11manext = 1
12mandir = @mandir@/man$(manext)
13
14# FIXME: $EXEEXT should be set in a central cfg-file used for native
15#        compiling (e.g. gcc.cfg) instead of setting EXEEXE here.
16EXEEXT=@EXEEXT@
17
18VPATH = @srcdir@
19RTEMS_ROOT = @top_srcdir@
20PROJECT_ROOT = @PROJECT_ROOT@
21
22# we use host compiler in this directory
23USE_HOST_COMPILER=yes
24
25# C source names, if any, go here -- minus the .c
26C_PIECES=cklength eolstrip packhex unhex
27C_FILES=$(C_PIECES:%=%.c)
28C_O_FILES=$(C_PIECES:%=$(ARCH)/%.o)
29
30H_FILES=
31
32SRCS=$(C_FILES) $(CC_FILES) $(H_FILES)
33OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
34
35# FIXME: building into $(ARCH) doesn't make sense for host programs
36PGMS=$(ARCH)/cklength$(EXEEXT) $(ARCH)/eolstrip$(EXEEXT) \
37        $(ARCH)/packhex$(EXEEXT) $(ARCH)/unhex$(EXEEXT)
38
39include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
40include $(RTEMS_ROOT)/make/leaf.cfg
41
42#
43# (OPTIONAL) Add local stuff here using +=
44#
45
46DEFINES  +=
47CPPFLAGS += -I.
48CFLAGS   +=
49
50LD_PATHS  +=
51LD_LIBS   +=
52LDFLAGS   +=
53
54#
55# Add your list of files to delete here.  The config files
56#  already know how to delete some stuff, so you may want
57#  to just run 'make clean' first to see what gets missed.
58#  'make clobber' already includes 'make clean'
59#
60
61CLEAN_ADDITIONS += $(HOST_ARCH)
62CLOBBER_ADDITIONS +=
63
64DESTDIR=${PROJECT_RELEASE}/build-tools
65
66$(DESTDIR):
67        @INSTALL@ $(INSTDIRFLAGS) $@
68
69all:    $(ARCH) $(DESTDIR) $(SRCS) $(PGMS)
70        @INSTALL@ $(INSTBINFLAGS) $(PGMS) $(DESTDIR)
Note: See TracBrowser for help on using the repository browser.