Changeset e619c28 in rtems


Ignore:
Timestamp:
Mar 19, 1999, 10:01:26 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
5906ac5
Parents:
9ec96478
Message:

Towards automake IX patch from Ralf Corsepius <corsepiu@…>:

This is the next step towards automake:

  • Two scripts for the toplevel directory: a) "autogen" (Idea borrowed from libtool and gnome) A helper script to recursively regenerate autoconf/automake/aclocal generated files (Still not perfect but sufficient). b) "missing" (from automake-cvs archive). This file normally is automatically generated by automake, but we have to manually add it until we add automake support to the toplevel configure script.

"chmod 755 missing autogen" after applying the patch.

  • Changing the toplevel installation directory [ I can hear you falling off the chair ;-] Until now rtems installed itself to $(prefix)/rtems. This is in contradiction to automake and GNU/FSF/Cygnus conventions. With this patch applied, rtems installs into $(prefix). To achieve the old behaviour simply configure with --prefix=<install-dir>/rtems instead of --prefix=<install-dir>

This is a widely visible change and I can understand if you don't
like it at the present point. It enables us to use automake's
default installation paths instead of having to set up installation
paths manually. At the moment this doesn't help much, but in the not
so far future this would enable us to mix cpu-only dependent libraries
into the host's cross-compiler library and header files into
newlib's include directories, tools into the toolchain directories etc.

I would recommend to change the main installation directory, however it's
up to you to draw the final design decision.

Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • c/Makefile.in

    r9ec96478 re619c28  
    143143
    144144install_files: $(PROJECT_ROOT)/$(RTEMS_BSP)/Makefile.inc
    145         @top_srcdir@/mkinstalldirs $(prefix)/rtems
    146         -$(RM) -rf $(prefix)/rtems/$(RTEMS_BSP)
     145        @top_srcdir@/mkinstalldirs $(prefix)
     146        -$(RM) -rf $(prefix)/$(RTEMS_BSP)
    147147        cd ../; tar cf - $(RTEMS_BSP)/[bilsuM]* | \
    148                 (cd $(prefix)/rtems; tar xpBf - )
     148                (cd $(prefix); tar xpBf - )
    149149        cd ../make; $(MAKE) RTEMS_BSP=$(RTEMS_BSP) install
    150150
  • make/Makefile.in

    r9ec96478 re619c28  
    6060all:
    6161
    62 $(prefix)/rtems:
     62$(prefix):
    6363        @top_srcdir@/mkinstalldirs $@
    6464
    65 install: $(prefix)/rtems \
    66         $(prefix)/rtems/make \
    67         $(prefix)/rtems/make/compilers \
    68         $(prefix)/rtems/make/custom \
    69         $(prefix)/rtems/make/Templates \
     65install: $(prefix) \
     66        $(prefix)/make \
     67        $(prefix)/make/compilers \
     68        $(prefix)/make/custom \
     69        $(prefix)/make/Templates \
    7070        install_files
    7171
    72 $(prefix)/rtems/make:
     72$(prefix)/make:
    7373        @top_srcdir@/mkinstalldirs $@
    7474
    7575install_files:: $(GENERIC_FILES) $(MAKEFILES)
    76         $(INSTALL) $(INSTDATAFLAGS) $^ \
    77         $(prefix)/rtems/make
     76        $(INSTALL_DATA) $^ $(prefix)/make
    7877
    79 $(prefix)/rtems/make/compilers:
     78$(prefix)/make/compilers:
    8079        @top_srcdir@/mkinstalldirs $@
    8180
    8281install_files:: $(COMPILER_FILES)
    83         $(INSTALL) $(INSTDATAFLAGS) $^ \
    84         $(prefix)/rtems/make/compilers
     82        $(INSTALL_DATA) $^ $(prefix)/make/compilers
    8583
    86 $(prefix)/rtems/make/custom:
     84$(prefix)/make/custom:
    8785        @top_srcdir@/mkinstalldirs $@
    8886
    8987install_files:: $(CUSTOM_FILES)
    90         $(INSTALL) $(INSTDATAFLAGS) $^ \
    91         $(prefix)/rtems/make/custom
     88        $(INSTALL_DATA) $^ $(prefix)/make/custom
    9289
    93 $(prefix)/rtems/make/Templates:
     90$(prefix)/make/Templates:
    9491        @top_srcdir@/mkinstalldirs $@
    9592
    9693
    9794install_files:: $(TEMPLATE_FILES)
    98         $(INSTALL) $(INSTDATAFLAGS) $^ \
    99         $(prefix)/rtems/make/Templates
     95        $(INSTALL_DATA) $^ $(prefix)/make/Templates
Note: See TracChangeset for help on using the changeset viewer.