[Matroska-devel] Coremake (part 1)

Steve Lhomme steve.lhomme at free.fr
Fri Jan 19 10:51:12 CET 2007

Hi Moritz,

Here is the first part of the coremake'ing of mkvtoolnix.

One patch is to include coremake in the source package so that it can be 
compiled on any platform and then used to generate the makefiles.

The other patch describes mkvtoolnix to coremake to have all the 
packages, libs, etc.

It's not finished because on windows all the dependencies are 
referencing an "import" directory that you don't have yet. That 
directory is supposed to be used as an SVN import directory. Each 
dependency lib having its own svn:externals directory. It may not be 
needed to have these libs on some platforms, but on windows it will be 
needed in the source package (maybe as a separate download). Some of the 
externals can be found on Sourceforge in the DrDivX SVN. But I'm 
thinking about creating a project somewhere (SourceForge, CoreForge, 
etc) that will have a dir for each of these dependencies. Maybe other 
people will use it too.

To use coremake you need:
- build coremake (gcc coremake/coremake.c -o coremake)
- generate the config.h (./configure)
- generate the makefiles you want (./coremake gcc_linux) (./coremake 
kdevelop) (./coremake vs_express) (./coremake vc6) (./coremake xcode)

For the moment everything is statically linked in each exe (even 
wxWidgets). It's smaller than all separated and avoid dependency hell. 
It can be changed by changing the LIB command in .proj files into DLL.


robUx4 on blog <http://robux4.blogspot.com/>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: coremake-proj.patch
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20070119/5c06c5ed/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: external-coremake.patch
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20070119/5c06c5ed/attachment-0001.ksh>

More information about the Matroska-devel mailing list