]> granicus.if.org Git - yasm/commit
Greatly simplify build system by removing libtool and integrating formerly
authorPeter Johnson <peter@tortall.net>
Wed, 1 Dec 2004 07:49:18 +0000 (07:49 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 1 Dec 2004 07:49:18 +0000 (07:49 -0000)
commit882738b2349e777dc5d1c3326471d4b7f906c8ed
tree1a3d7b26625080e7a9453b4c07b974193f71af3f
parent35304f54272352c54ca277ea63ada9a859339d04
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.

svn path=/trunk/yasm/; revision=1183
39 files changed:
Makefile.am
Mkfiles/vc/yasm-module.c [deleted file]
basename.c [deleted file]
configure.ac
dirname.c [deleted file]
frontends/yasm/Makefile.inc
frontends/yasm/yasm-module.c [deleted file]
frontends/yasm/yasm-module.h [deleted file]
frontends/yasm/yasm.c
libltdl/COPYING.LIB [deleted file]
libltdl/Makefile.am [deleted file]
libltdl/README [deleted file]
libltdl/ltdl.c [deleted file]
libltdl/ltdl.h [deleted file]
libyasm.h
libyasm/Makefile.inc
libyasm/genmodule.c [new file with mode: 0644]
libyasm/module.h [new file with mode: 0644]
libyasm/module.in [new file with mode: 0644]
libyasm/tests/Makefile.inc
m4/Makefile.am [deleted file]
m4/Makefile.inc [new file with mode: 0644]
m4/libtool.m4 [deleted file]
m4/ltdl.m4 [deleted file]
modules/arch/lc3b/Makefile.inc
modules/arch/x86/Makefile.inc
modules/dbgfmts/null/Makefile.inc
modules/dbgfmts/stabs/Makefile.inc
modules/listfmts/nasm/Makefile.inc
modules/objfmts/bin/Makefile.inc
modules/objfmts/coff/Makefile.inc
modules/objfmts/dbg/Makefile.inc
modules/objfmts/elf/Makefile.inc
modules/objfmts/win32/Makefile.inc
modules/objfmts/xdf/Makefile.inc
modules/optimizers/basic/Makefile.inc
modules/parsers/nasm/Makefile.inc
modules/preprocs/nasm/Makefile.inc
modules/preprocs/raw/Makefile.inc