svn commit: r1183 - in trunk/yasm: . Mkfiles/vc frontends/yasm libltdl libyasm libyasm/tests m4 modules/arch/lc3b modules/arch/x86 modules/dbgfmts/null modules/dbgfmts/stabs modules/listfmts/nasm modules/objfmts/bin modules/objfmts/coff modules/objfmts/dbg modules/objfmts/elf modules/objfmts/win32 modules/objfmts/xdf modules/optimizers/basic modules/parsers/nasm modules/preprocs/nasm modules/preprocs/raw

peter at tortall.net peter at tortall.net
Tue Nov 30 23:49:19 PST 2004


Author: peter
Date: Tue Nov 30 23:49:18 2004
New Revision: 1183

Added:
   trunk/yasm/libyasm/genmodule.c
   trunk/yasm/libyasm/module.h
      - copied, changed from r1182, trunk/yasm/frontends/yasm/yasm-module.h
   trunk/yasm/libyasm/module.in
      - copied, changed from r1182, trunk/yasm/Mkfiles/vc/yasm-module.c
   trunk/yasm/m4/Makefile.inc
      - copied, changed from r1182, trunk/yasm/m4/Makefile.am
Removed:
   trunk/yasm/Mkfiles/vc/yasm-module.c
   trunk/yasm/basename.c
   trunk/yasm/dirname.c
   trunk/yasm/frontends/yasm/yasm-module.c
   trunk/yasm/frontends/yasm/yasm-module.h
   trunk/yasm/libltdl/
   trunk/yasm/m4/Makefile.am
   trunk/yasm/m4/libtool.m4
   trunk/yasm/m4/ltdl.m4
Modified:
   trunk/yasm/Makefile.am
   trunk/yasm/configure.ac
   trunk/yasm/frontends/yasm/Makefile.inc
   trunk/yasm/frontends/yasm/yasm.c
   trunk/yasm/libyasm.h
   trunk/yasm/libyasm/Makefile.inc
   trunk/yasm/libyasm/tests/Makefile.inc
   trunk/yasm/modules/arch/lc3b/Makefile.inc
   trunk/yasm/modules/arch/x86/Makefile.inc
   trunk/yasm/modules/dbgfmts/null/Makefile.inc
   trunk/yasm/modules/dbgfmts/stabs/Makefile.inc
   trunk/yasm/modules/listfmts/nasm/Makefile.inc
   trunk/yasm/modules/objfmts/bin/Makefile.inc
   trunk/yasm/modules/objfmts/coff/Makefile.inc
   trunk/yasm/modules/objfmts/dbg/Makefile.inc
   trunk/yasm/modules/objfmts/elf/Makefile.inc
   trunk/yasm/modules/objfmts/win32/Makefile.inc
   trunk/yasm/modules/objfmts/xdf/Makefile.inc
   trunk/yasm/modules/optimizers/basic/Makefile.inc
   trunk/yasm/modules/parsers/nasm/Makefile.inc
   trunk/yasm/modules/preprocs/nasm/Makefile.inc
   trunk/yasm/modules/preprocs/raw/Makefile.inc
Changeset:
   http://www.tortall.net/projects/yasm/changeset/1183
Log:
Greatly simplify build system by removing libtool and integrating formerly
dynamically loaded modules into the now-static libyasm.  I now anticipate
that there would be very few users of the dynamic loading features, and it
yielded a lot of instability and build headaches for very little benefit.
The new build should now be much more cross-platform and faster (there was
a lot of overhead in finding and loading modules).

 * libtool.m4, ltdl.m4: Delete.
 * m4/Makefile.am: Rename to m4/Makefile.inc and remove references to above.
   Change to use subdirectory (flat) build rather than recursive build.
 * Makefile.am: Include m4/Makefile.inc rather than having it in SUBDIRS.
 * libltdl: Delete.

 * frontends/yasm/yasm-module.c: Delete.
 * basename.c, dirname.c: Delete (no longer needed by yasm-module.c).
 * genmodule.c, module.in: Generator and template for new module.c included
   in libyasm that replaces the old yasm-module.c (module.in is a modified
   rename of yasm-module.c).
 * module.h: Modified rename of old yasm-module.h.
 * libyasm.h: Include libyasm/module.h.
 * libyasm/Makefile.inc: Build generator and include module.c in libyasm.
 * yasm.c: Use new libyasm module interface.

 * (many) Makefile.inc: Remove libtool libraries, build all modules into
   libyasm library.

 * configure.ac: Remove libtool/libltdl references.

 * Mkfiles/vc/yasm-module.c: Remove.  Still need to fix some of the other
   Mkfiles/ build files for these changes.





More information about the yasm-cvs mailing list