Commit Graph

51 Commits

Author SHA1 Message Date
Sebastian Huber
bac8d93418 tools: Remove install-if-change program
The last installed tool in RTEMS repository is the install-if-change
script.  It is not used to build/install BSPs.  This script does the
same as the standard "install" program with an additional feature to
install variants via the -V command line option.

This script is used by the standard Makefile support:

c/src/make/host.cfg.in:INSTALL_CHANGE=$(PROJECT_BIN)/install-if-change

The INSTALL_CHANGE is used by:

c/src/make/host.cfg.in:ifndef INSTALL_CHANGE
c/src/make/host.cfg.in:INSTALL_CHANGE=$(PROJECT_BIN)/install-if-change
c/src/make/host.cfg.in:INSTALL_VARIANT=$(INSTALL_CHANGE) -V
"$(LIB_VARIANT)"

Remove the support for variant installation and instead use the standard
"install" program.  This breaks application Makefiles using the standard
Makefile support of RTEMS.

Close #3455.
2018-06-15 12:57:32 +02:00
Sebastian Huber
2d0bc839ed build: Remove EXTRA_DIST
A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.
2018-04-04 10:09:04 +02:00
Joel Sherrill
48a7fa31f9 Remove texinfo format documentation. Replaced by Sphinx formatted documentation.
closes #2812.
2017-01-11 12:13:21 -06:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Joel Sherrill
33a105fb69 Revert: Remove CVS Ids
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Ralf Corsépius
27272db336 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Ralf Corsepius
b92e057408 2011-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove make/host.cfg.in.
2011-06-17 04:05:28 +00:00
Ralf Corsepius
44dd5dc438 2011-03-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Add pkgdatadir.
	Override pkgdatadir to $(datadir)/rtems$_RTEMS_API.
	* Makefile.am: Install make/Templates to pkgdatadir.
2011-03-06 11:03:33 +00:00
Ralf Corsepius
86c2108d92 2011-03-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Merge-in make/Makefile.am.
	* configure.ac: Reflect change above.
2011-03-04 18:32:15 +00:00
Ralf Corsepius
e290b1f77a 2007-02-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Use MKDIR_P instead of mkdir_p.
2007-02-21 17:05:04 +00:00
Ralf Corsepius
ba4b65ee63 2007-01-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove scripts/.
2007-01-08 08:33:14 +00:00
Ralf Corsepius
ad4af0dcf3 2006-11-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Add ampolish3.
2006-11-26 06:23:34 +00:00
Ralf Corsepius
470816da47 2005-01-02 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Remove ACLOCAL_FILES.
2005-01-02 10:32:05 +00:00
Ralf Corsepius
6e2ef53f51 2004-02-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-top.m4: Sync with c/src/aclocal/rtems-top.m4
	* Makefile.am: Cosmetics.
2004-02-20 01:44:19 +00:00
Ralf Corsepius
9078e0974b 2004-02-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: DIST_SUBDIRS = $(SUBDIRS).
	Rework dist-hook.
	* configure.ac: Reflect changes to RTEMS_ENABLE_RTEMSBSP.
	* aclocal/enable-rtemsbsp.m4: Add support for --disable-rtemsbsp.
2004-02-17 13:50:24 +00:00
Ralf Corsepius
2994a4a065 2004-02-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove AUTOMAKE_FILES.
	Cleanup duplicate ACLOCAL_FILES.
	EXTRA_DIST += config-ml.in.
	DIST_SUBDIRS += make.
	Add dist-hook.
	* configure.ac: Add dist-bzip2 no-dist-gzip to AUTOMAKE_OPTIONS.
2004-02-13 11:10:52 +00:00
Ralf Corsepius
a07ff70b31 2003-12-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove automake/compile.am
2003-12-14 16:56:57 +00:00
Ralf Corsepius
88c3c5eec5 2003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove make/custom/Makefile.
	* Makefile.am: Cosmetics.
	* automake/compile.am: Remove compilation rules.
	Remove $(ARCH) directory generation.
2003-12-11 16:32:00 +00:00
Ralf Corsepius
532b7d1285 2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/config-subdirs.m4: Remove.
	* Makefile.am: Reflect changes above.
2003-10-23 15:41:52 +00:00
Ralf Corsepius
fb2fc21a91 2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/canonical-host.m4: Remove.
	* Makefile.am: Reflect changes above.
2003-10-23 08:05:58 +00:00
Ralf Corsepius
4f2064f13e 2003-10-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-cpu.m4: Remove.
	* Makefile.am: Remove reference to aclocal/check-cpu.m4.
	* acinclude.m4 (RTEMS_TARGET_CONFIG_SUBDIR): Check for presence of
	$1 in $srcdir before adding dir to SUBDIRS.
2003-10-02 01:47:27 +00:00
Ralf Corsepius
416f7bbe0c 2003-08-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Correct bogus ACLOCAL_FILES.
2003-08-21 14:32:59 +00:00
Ralf Corsepius
8ad16bac29 2003-08-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/bsp-arg-enable.m4, aclocal/bsp-configure.m4,
	aclocal/bspopts.m4, aclocal/canonicalize-tools.m4,
	aclocal/check-bsp-cache.m4, aclocal/check-cxx.m4,
	aclocal/check-itron.m4, aclocal/check-multiprocessing.m4,
	aclocal/check-networking.m4, aclocal/check-newlib.m4,
	aclocal/check-posix.m4, aclocal/check-rdbg.m4,
	aclocal/check-tool.m4, aclocal/env-rtemsbsp.m4,
	aclocal/gcc-isystem.m4, aclocal/gcc-pipe.m4,
	aclocal/gcc-specs.m4, aclocal/i386-gas-code16.m4,
	aclocal/path-perl.m4, aclocal/ppc.m4,
	aclocal/prog-cc.m4, aclocal/prog-ccas.m4,
	aclocal/prog-cxx.m4, aclocal/prog-gnat.m4,
	aclocal/rtems-debug.m4, aclocal/rtems-flags.m4,
	aclocal/rtems-test-no-pause.m4, aclocal/target.m4:
	Remove (Unused).
	* automake/leaf.am, automake/force-preinstall.am:
	Remove (Unused).
	* Makefile.am: Reflect changes above.
2003-08-21 05:37:41 +00:00
Ralf Corsepius
7a9280174a 2003-06-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove "BLEEDING EDGE" warning.
	Put docs into RTEMS_BUILD_CONFIG_SUBDIRS.
	* acinclude.m4: Add AC_PREREQ(2.57).
	Major overhaul (PR 412).
	* aclocal/prog-cc.m4: Add RTEMS_GCC_ISYSTEM.
	* aclocal/gcc-isystem.m4: New.
	* Makefile.am: Add aclocal/gcc-isystem.m4.
2003-06-12 06:28:16 +00:00
Ralf Corsepius
0b22af60bb Merger from rtems-4-6-branch. 2003-03-25 08:50:16 +00:00
Ralf Corsepius
b22fa3ab19 2003-02-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove references to obsoleted files
	aclocal/enable-gcc28.m4, aclocal/enable-libcdir.m4.
2003-02-15 04:35:41 +00:00
Ralf Corsepius
20d7ed3791 2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Reflect having removed aclocal/sysv-ipc.m4.
2002-11-19 14:55:56 +00:00
Ralf Corsepius
48e7a7181c 2002-06-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/multilib.am: Remove.
	* Makefile.am: Reflect change above.
2002-06-30 06:22:31 +00:00
Joel Sherrill
579f14cc7e 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* tools/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:55:02 +00:00
Joel Sherrill
003d4da3fc 2002-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add --enable-docs support. Add
	RTEMS_HOST_CONFIG_SUBDIRS(doc). Remove doc/Makefile.
	* Makefile.am: Add HOST_SUBDIRS to SUBDIRS. Remove doc from
	hard-coded SUBDIRS.
	* README.configure: Added a bit of information on this new option.
2002-01-20 17:03:51 +00:00
Joel Sherrill
1a457f53e7 2001-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/bsp-configure.m4: New file.
	* Makefile.am: Add aclocal/bsp-configure.m4.
2001-12-03 16:09:08 +00:00
Joel Sherrill
345772eb60 2001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add automake/force-preinstall.am,
	aclocal/ppc.am, remove ACLOCAL_M4.
2001-11-27 01:18:06 +00:00
Joel Sherrill
080afecb64 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-cpu-subdirs.m4: Add PREFIX arg to RTEMS_CPU_SUBDIRS,
	add 2nd arg to _RTEMS_CPU_SUBDIR.
	* aclocal/target.m4: Replace ac_configure_args with
	rtems_configure_args, add rtems_configure_args to INIT-CMDS.
	* Makefile.am: Require automake-1.5.
2001-10-17 13:15:11 +00:00
Joel Sherrill
8738dfaa7b 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/lib.am: Comment out LD.
	* Makefile.am: Use ACLOCAL_FILES = to make automake-1.5 happy; Add
	automake/leaf.am to AUTOMAKE_FILES.
2001-09-27 19:26:39 +00:00
Joel Sherrill
48ad47cc70 2001-02-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Reworked for Canadian Cross support.
	* Makefile.am: Reflect changes to configure.in.
	* config.guess, config.sub: Update from subversions.gnu.org.
	* README.cdn-X: New file.
	* tools/Makefile.am: Remove build, tools from SUBDIRS.
2001-03-01 20:46:21 +00:00
Joel Sherrill
feead22618 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-09 16:43:05 +00:00
Joel Sherrill
2e0fd4273d 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/*: Replace with contents of macros/*.m4
	* macros/: Remove.
	* aclocal/ar-s.m4 aclocal/tool-prefix.m4: Remove.
	* Makefile.am: Reflect changes to aclocal/ and macros/.
2000-11-02 15:44:04 +00:00
Joel Sherrill
3174a7edae 2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: New, Cygnus/GNU style configuration.
	* Makefile.am: Add macros/, reflect new configure.in,
	ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/macros
	* automake/compile.am: BSP_SPECS, remove RTEMS_CANONICALIZATION.
	* automake/lib.am: Remove RTEMS_CANONICALIZATION.
	* macros/tool-prefix.m4: Remove.
	* macros/target.m4: Remove RTEMS_CONFIG_SUBDIRS, RTEMS_OUTPUT_SUBDIRS.
	* macros/enable-rtemsbsp.m4: Add RTEMS_CONFIG_PER_BSP, add setting
	RTEMS_ROOT.
	* macros/i386-gas-code16.m4: Define NEW_GAS only for 16bit mode-
	* macros/multilib.m4: Various minor fixes.
	* macros/project-root.m4: Remove setting PROJECT_TOPdir,
	PROJECT_ROOT, RTEMS_ROOT.
	* macros/rtems-top.m4: Remove RTEMS_CANONICALIZATION, TARGET_SUBDIRS;
	Add with_target_subdirs, PROJECT_TOPdir, PROJECT_ROOT.
2000-10-31 21:20:00 +00:00
Joel Sherrill
16a30bd3b6 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/multilib.am: New file.
 	* Makefile.am: Update AUTOMAKE_FILES to reflect the contents of
 	the automake/ directory.
2000-10-27 13:36:37 +00:00
Joel Sherrill
9b1a45f1cc 2000-09-14 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Referenceed aclocal/enable-hwapi.m4 that was removed.
2000-09-15 13:10:37 +00:00
Joel Sherrill
b8a30d07a5 Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is yet another multilib-related structual cleanup patch:

  Changes:
  * Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option.
    - Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and
      cpuopts.h.
    - Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE
      (aclocal/rtems-test-no-pause.m4).
    - Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins
      and tmtests/configure.in. These are the only subdirectories which
      currently apply RTEMS_TEST_NO_PAUSE.
    - Add autoconf-DEFS support to all test subpackages' configure.ins
      below tests/. I.e. AC_DEFINES now get explicitly propagated as
      preprocessor defines into Makefiles, cf. AM_CPPFLAGS in
      tests/*/*.am, instead of using a global config-files.
    - Remove NDEBUG from custom/*.cfg.

  * AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in
    exec/configure.in, only.
    - All other sources now should relay on the values from cpuopts.h
      and should not define them themselves.
    - Several related changes to many configure.ins

  * Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to
    quoting bugs in autoconf).

  Notes:
    * This patch is rather immature and only tested for a small subset
      of BSPs (requires the tests to be enabled and therefore takes an
      tremendous amount of disc space and time.)
    * The patches to *cfg were generated by a script. Expect file
      formating changes :)
2000-07-13 15:05:38 +00:00
Joel Sherrill
fe5851ceae Patch rtems-rc-20000627-1 from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is part of the multilib/gnu-canonicalization movement:

Changes:
  * New m4-macro: aclocal/multilib.am
  * Suppress multiprocessing if --enable-multilib is given to
    configure

Notes:
  For now this patch only suppresses multiprocessing if
  --enable-multilib is given to configure and should not have any
  other side-effects, ie. it works around a minor issue which prevents
  introduction of multilibs in general.

  The RTEMS_ENABLE_MULTILIB_MASTER macro is the core part to build
  real multilibs, but can not be applied before other multilib related
  issues with RTEMS have been solved. (e.g. sptables.h, bsp_specs,
  Cygnus/Gnu canonicalization, _RTEMS_version, targopts.h, changing
  the installation point/tooldir support, etc.).
2000-06-29 15:29:31 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
857761b134 Removed obsolete files from list. 2000-02-07 13:56:43 +00:00
Joel Sherrill
4090ebe85c Patch rtems-rc-19991123-rc-3.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>:

    The patch below provides
      * automake support for score/cpu/powerpc
      * The hack to propagate values from *.cfg to automake configuration
      * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
        before)
      * Fixes some files which apparently where missing in
        rtems-rc-19991123-rc-2.diff
      * some minor configuration related patches

    To apply:

      rm -rf ./c/src/exec/score/cpu/powerpc/wrap
      patch -p1 < rtems-rc-19991123-rc-3.diff

    Attention:
      c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
      removed after applying the patch.

Modifications had been made to the score/cpu/powerpc directory after
the snapshot this was based on.  In particular, the mpc750 and
other_cpu directories had been renamed to new_exception_processing
and old_exception_processing.  After this patch was applied, modifications
were made to account for this.
1999-12-03 13:25:00 +00:00
Joel Sherrill
96344c8639 Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.

    SUB_DIRS was used instead of SUBDIRS in some Makefile.ins
    (apparently a leftover from moving the start* directories)

    Addtional major bugs:
    * psxtests/include was empty (incomplete psxtests changes).
    * bogus handling of *.scn in itrontests (screens/sptests vs.
      screens/itrontests installation dirs)

    In addition I have added a few more changes (I couldn't resist)
    * automake support for itrontests
    * OPERATION_COUNT support in tmitrontests/
    * automake support for tmitrontests
    * automake suppport for mptests
    * Some (minor) corrections to several configure.in/Makefile.ams

    => c/src/tests/ is completly under automake control, now.
    => we could start to sort out the structural issues with c/src/tests
      (tests/support, stubdr, tools, get "make dist" working)
1999-11-30 13:49:04 +00:00
Joel Sherrill
9f4868cea9 Miscellaneous patches from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that are part of the Makefile.am conversion effort but were missed
in the previous commits.
1999-11-23 13:57:02 +00:00
Joel Sherrill
d6c8352925 Patch rtems-rc-19991105-1.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which does the following:

    This is the configuration cleanup patch:

    Main changes:
      * TARGET_ARCH removed
      * target.cfg.in moved to c/make/target.cfg.in (Only configured once for
        all BSPs of a target)
      * BARE_XXX variables appended to bsp.cfg.in
      * autogen renamed to bootstrap
      * removed stray variables from make/custom/*.cfg

    To apply:
        cd <source-tree>
        rm c/src/make/target.cfg.in
        cp autogen bootstrap
        mkdir c/make
        cp make/target.cfg.in c/make/target.cfg.in
        rm make/target.cfg.in
        rm autogen
        patch -p1 < rtems-rc-19991105-1.diff
1999-11-16 15:48:11 +00:00
Joel Sherrill
811804fec8 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bug
where wrapup left pieces out of the librtemsall.a.
1999-10-04 19:15:14 +00:00
Joel Sherrill
29e68b7584 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch is an addition to "The big-patch"

  CHANGES:
  * FIX: c/Makefile.am: bogus comment which changed the behavior of
    c/Makefile.am removed
  * FIX: make/custom/ts_i386ex.cfg did not set HAS_NETWORKING correctly
    (Me thinks it might have been me who added this bogus setting :-).

  * NEW: removing make targets get, protos, debug_install, profile_install

  * NEW: replacing clobber with distclean
  * NEW: Reimplement distclean and clean as reverse depth first make
    targets (adaptation to automake's behavior)
  * NEW: removing RCS_CLEAN from make distclean (tools/build/rcs_clean is
    still in - remove it?)
  * NEW: "$(RM) Makefile" added to make distclean (adaptation to
    automake's behavior)
  * NEW: "$(RM) config.cache config.log" to CLOBBER_ADDITIONS in
    [lib|exec|tests]/Makefile.in (adaptation to automake's behavior)
  * NEW: "$(CLEAN_PROTOS)" removed (Not used anywhere)
  * NEW: binpatch.c moved from i386 bsp tools to tools/build (AFAIS,
    binpatch is not specific to the pc386 BSP at all)
  * NEW: AC_EXEEXT added to all configure scripts which contain AC_PROG_CC
    (Cygwin support)

  * NEW/Experimental: An experimental implementation of temporary
    installation tree support in libbsp/i386/pc386/tools/Makefile.am, based
    on dependency tracking with make, instead of applying INSTALL_CHANGE.


  REMARK:
  * This patch is small in size, but changes the behavior of "make
    clean|distclean|clobber" basically.
  * This patch does not alter building/compiling RTEMS, ie. there should
    be no need to rerun all "make all" building tests.

  KNOWN BUGS:
  * make RTEMS_BSP="..." distclean in c/ runs "make distclean" in BSPs
    subdirectories passed through RTEMS_BSP and in "c/." only, but does not
    descend into other BSP subdirectories previously configured with
    different settings of make RTEMS_BSP="...".
    => Workaround: always use the same setting of RTEMS_BSP when working
    inside the build-tree.

  * "make [distclean|clean]" do not clean subdirectories, which have been
    configured at configuration time, but  which are not used due to
    make-time configuration (e.g. macros/networking/rdgb subdirectories).
    This will problem will vanish by itself when migrating from make-time to
    configuration-time configuration

  APPLYING THE PATCH

      mv c/src/lib/libbsp/i386/pc386/tools/binpatch.c tools/build
      patch -p1 < rtems-rc-19990709-2.diff
      autogen
1999-07-26 21:26:44 +00:00