Overview
The MagicMakefileV4 is an incremental improvement on MagicMakefileV3 - It is fundamentally identical, except that all of the important scripts that are not ever specialized to any specific project live in a directory called autobuild. This directory is standalone, and as such can be referred to via an svn:external or symbolic link. This allows multiple projects to share the same set of autobuild scripts, and any changes committed to one will be available to all other projects.
- SVN Link: http://opensource.jdkoftinoff.com/jdks/svn/trunk/magicmakefile/branches/v4
- Source browser: trunk/magicmakefile/branches/v4
- Change log: log
Getting started
If you already are using MagicMakefileV3 on your project, remove it:
svn remove autobuild
svn remove magic.mak
svn remove configure
svn remove GNUmakefile
svn commit -m "magicmakefilev3 removed"
Then do the following to install MagicMakefileV4:
# Add an svn:external to your project top directory; echo 'autobuild http://opensource.jdkoftinoff.com/jdks/svn/trunk/magicmakefile/branches/v4/autobuild' >props svn propset svn:externals -F props . svn up # Add the symbolic links for configure and GNUmakefile ln -s autobuild/configure configure ln -s autobuild/GNUmakefile GNUmakefile svn add configure svn add GNUmakefile # Commit your changes to your repository: svn commit -m "references added to use MagicMakefileV4"
Make sure your source files, directories, and project conform to the style as described in MagicMakefileV3. Specifically, you need a project.sh and project.mak files in your top directory for your project specific settings. You need your includes in include, and your library source in src, and any standalone source files that contain main need to live in a directory called tools.
Explore the subdirs of the autobuild directory for more fun.
Contact Jeff Koftinoff for more information.
