forked from Imagelibrary/rtems
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
72 lines
1.5 KiB
Makefile
72 lines
1.5 KiB
Makefile
#
|
|
# top level directory for RTEMS build tree
|
|
#
|
|
# The target's toplevel Makefile now is in c/src
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
AUTOMAKE_OPTIONS = foreign 1.4
|
|
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
|
|
|
SUBDIRS = doc make tools @TARGET_SUBDIRS@
|
|
|
|
AUTOMAKE_FILES = \
|
|
automake/subdirs.am \
|
|
automake/local.am
|
|
|
|
ACLOCAL_FILES += \
|
|
aclocal/ar-s.m4 \
|
|
aclocal/bsp-alias.m4 \
|
|
aclocal/canonical-host.m4 \
|
|
aclocal/canonical-target-name.m4 \
|
|
aclocal/canonicalize-tools.m4 \
|
|
aclocal/check-bsps.m4 \
|
|
aclocal/check-cpu.m4 \
|
|
aclocal/check-files-in.m4 \
|
|
aclocal/check-makefile.m4 \
|
|
aclocal/check-newlib.m4 \
|
|
aclocal/check-rdbg.m4 \
|
|
aclocal/enable-bare.m4 \
|
|
aclocal/enable-cxx.m4 \
|
|
aclocal/enable-gcc28.m4 \
|
|
aclocal/enable-hwapi.m4 \
|
|
aclocal/enable-inlines.m4 \
|
|
aclocal/enable-libcdir.m4 \
|
|
aclocal/enable-multiprocessing.m4 \
|
|
aclocal/enable-networking.m4 \
|
|
aclocal/enable-posix.m4 \
|
|
aclocal/enable-rdbg.m4 \
|
|
aclocal/enable-rtemsbsp.m4 \
|
|
aclocal/enable-tests.m4 \
|
|
aclocal/gcc-pipe.m4 \
|
|
aclocal/gcc-specs.m4 \
|
|
aclocal/i386-gas-code16.m4 \
|
|
aclocal/path-ksh.m4 \
|
|
aclocal/path-perl.m4 \
|
|
aclocal/prog-cc.m4 \
|
|
aclocal/prog-cxx.m4 \
|
|
aclocal/project-root.m4 \
|
|
aclocal/rtems-top.m4 \
|
|
aclocal/sysv-ipc.m4 \
|
|
aclocal/target.m4 \
|
|
aclocal/tool-paths.m4 \
|
|
aclocal/tool-prefix.m4
|
|
|
|
noinst_SCRIPTS = \
|
|
autogen
|
|
|
|
EXTRA_DIST = \
|
|
$(AUTOMAKE_FILES) \
|
|
$(ACLOCAL_FILES) \
|
|
README.configure \
|
|
SUPPORT \
|
|
VERSION \
|
|
LICENSE \
|
|
$(noinst_SCRIPTS)
|
|
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(ACLOCAL_FILES)
|
|
|
|
include $(top_srcdir)/automake/subdirs.am
|
|
include $(top_srcdir)/automake/local.am
|