source: rtems/c/src/libmisc/configure.in @ 48bfd992

4.104.114.84.95
Last change on this file since 48bfd992 was 9608320, checked in by Joel Sherrill <joel.sherrill@…>, on 11/22/99 at 13:41:11

Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@…>:

.. a major configuration cleanup
... major enhancement of automake support.

... and it contains a *major* breakthough:

Automake support for libchip and libmisc *LEAF* directories.

To implement this I have used several nasty tricks

  • The basical trick is to wrap an old Makefile.in's contents into a Makefile.am and still continue to use (i.e include) the old *.cfg files.
  • Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make dependencies
  • Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between automake and RTEMS make rules
  • Replaced each install:: and preinstall:: rule with make dependencies
  • Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake convention)
  • Removed each manually added autoconf substitution which automake performs automatically.

This is not yet full automake support, because using the temporary
installation directory, preinstallation in general and building variants
are in contradiction to automake's basic working principles ...

... the new Makefile.ams work still somewhat clumsy
... nevertheless they work (quite well).

WARNING:

At first glance this patch is small, but

  • it affects the whole configuration system.
  • it opens the road to introducing automake to all Makefile.ins currently not being under automake control.

JOEL> Does this remove or add any files?

Both, all Makefile.ins below libchip and libmisc get replaced with
Makefile.ams.

  • Property mode set to 100644
File size: 802 bytes
RevLine 
[e1d8abb]1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl $Id$
4
5AC_PREREQ(2.13)
[c1b12e6a]6AC_INIT(dumpbuf)
[dd04e32]7RTEMS_TOP(../../..)
8AC_CONFIG_AUX_DIR(../../..)
[e1d8abb]9
10RTEMS_CANONICAL_TARGET_CPU
11
[dd04e32]12AM_INIT_AUTOMAKE(rtems-c-src-libmisc,$RTEMS_VERSION,no)
[e1d8abb]13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_MULTIPROCESSING
16RTEMS_ENABLE_LIBCDIR
17RTEMS_ENABLE_BARE
18
19RTEMS_ENV_RTEMSBSP
20
21RTEMS_CHECK_CPU
22RTEMS_CANONICAL_HOST
23
24RTEMS_PROJECT_ROOT
25
26dnl check target cc
27RTEMS_PROG_CC_FOR_TARGET
28RTEMS_CANONICALIZE_TOOLS
29
30RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
31RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
32
[9608320]33AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
34
[e1d8abb]35# Try to explicitly list a Makefile here
36AC_OUTPUT(
37Makefile
38cpuuse/Makefile
[e4487b6]39dummy/Makefile
[e1d8abb]40dumpbuf/Makefile
41monitor/Makefile
42rtmonuse/Makefile
43stackchk/Makefile
44untar/Makefile
45wrapup/Makefile
46)
Note: See TracBrowser for help on using the repository browser.