diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-03-19 23:11:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-03-19 23:11:36 +0000 |
commit | 04c308c022e5f5c839495110c667718dec84a020 (patch) | |
tree | 6ccd3247dca4337a90851822d0fe8fd4d2f33558 /c/Makefile.in | |
parent | A cleanup patch on fcntl.c from Eric Norum <eric@skatter.usask.ca> for (diff) | |
download | rtems-04c308c022e5f5c839495110c667718dec84a020.tar.bz2 |
Incorporated automake I patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This is the first real automake patch.
It adds automake support to c/build-tools and cleans up a few minor
issues.
I consider this to be a testing probe to examine problems with automake.
Therefore, this patch is just a more or less harmless replacement of the
former RTEMS Makefiles and I expect it not last for long. If you want to
give automake Makefiles a public try and if you want/need to learn about
problems with it, then it's about time for a new snapshot, IMO. I may
have screwed up something not directly related to automake, but I expect
very few (none to be precise) problems with automake. However, somebody
should at least try building on Cygwin. If you feel a bit more
adventureous, then I also can continue to submit more patches.
[FYI: I still have a couple of automake files laying around, but they
need some cleanup before being submitted as patches. Now, that I am just
into it, I'll perhaps submit another one tonight :-]
After applying this patch (patch -p1 -E <
<path-to>/rtems-rc-19990318-0), first run the "autogen" script from the
toplevel source directory, before committing to CVS. Be careful about
dependencies between Makefile.am and Makefile.ins when cutting tarballs
from CVS. Makefile.ins are required to be newer than Makefile.ams,
otherwise users would need to have automake, autoconf and perl. Some
people recommend to "touch" all Makefile.in after checkout from cvs (cf.
egcs/contrib/egcs_update).
ATTENTION:
* This patch adds a number of new files.
* remove aclocal/exeext.m4 and aclocal/cygwin.m4 from CVS, They are now
covered by autoconf-2.13`s AC_EXEEXT.
Some features/side-effects which are probably interesting for you:
In a configured build-tree "cd c/build-tools", then try
* "make RTEMS_BSP=<bsp> install"
* "make RTEMS_BSP=<bsp> dist"
Diffstat (limited to 'c/Makefile.in')
-rw-r--r-- | c/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c/Makefile.in b/c/Makefile.in index 1b7fadd0bb..54fbd95c45 100644 --- a/c/Makefile.in +++ b/c/Makefile.in @@ -81,7 +81,8 @@ make_src_makefiles: Makefile.in Makefile -rm make_src_makefiles.tmp pre_install_src: env make_src_makefiles - cd build-tools/scripts; $(MAKE) + cd build-tools/scripts; \ + $(MAKE) RTEMS_BSP=${RTEMS_BSP} install-exec-local @echo "Order of preinstall directories" cat make_src_makefiles @echo @@ -112,7 +113,7 @@ clean_wrapup: clean_tools clean_dirs clean_modules .PHONY: dirs clean_wrapup clean_dirs clean_tools clean_modules env install $(BUILD_DIRS): - -$(MKDIR) $(BUILD_DIRS) + $(RTEMS_ROOT)/mkinstalldirs $(BUILD_DIRS) if test -d $(PROJECT_ROOT)/c/src/lib/libhwapi; then \ (cd $(PROJECT_ROOT)/c/src/lib/libhwapi ; $(MAKE) mkdirs) \ fi |