]> granicus.if.org Git - yasm/commitdiff
Rename yasm-module to yasm_module for better libtool compatibility (part of
authorPeter Johnson <peter@tortall.net>
Tue, 1 Apr 2003 05:24:32 +0000 (05:24 -0000)
committerPeter Johnson <peter@tortall.net>
Tue, 1 Apr 2003 05:24:32 +0000 (05:24 -0000)
tracking down an installation bug).

svn path=/trunk/yasm/; revision=907

13 files changed:
frontends/yasm/yasm-module.c
modules/Makefile.inc
modules/arch/x86/Makefile.inc
modules/dbgfmts/null/Makefile.inc
modules/objfmts/bin/Makefile.inc
modules/objfmts/coff/Makefile.inc
modules/objfmts/dbg/Makefile.inc
modules/objfmts/win32/Makefile.inc
modules/optimizers/basic/Makefile.inc
modules/parsers/nasm/Makefile.inc
modules/preprocs/nasm/Makefile.inc
modules/preprocs/raw/Makefile.inc
modules/preprocs/yapp/Makefile.inc

index cfe19d53003a829e018c6364ccc0c9cf358b39d2..c397c0ce3379c4f59c3c3109f92eaa4217322b86 100644 (file)
@@ -79,7 +79,7 @@ load_module(const char *keyword)
 
     /* Look for dynamic module.  First build full module name from keyword. */
     name = yasm_xmalloc(5+strlen(keyword)+1);
-    strcpy(name, "yasm-");
+    strcpy(name, "yasm_");
     strcat(name, keyword);
     handle = lt_dlopenext(name);
 
index 753a8c6b4662e12b37155822fdee6ac8e59f3899..3b1e5eb1b6458130e32f5289b7ec0313cb61dff9 100644 (file)
@@ -9,11 +9,11 @@ EXTRA_DIST += \
 
 # Modules with more than one type of interface
 
-lib_LTLIBRARIES += yasm-nasm.la
+lib_LTLIBRARIES += yasm_nasm.la
 yasm_nasm_la_SOURCES =
 yasm_nasm_la_LDFLAGS = -module -avoid-version -no-undefined
 yasm_nasm_la_LIBADD = libyasm.la
-YASM_MODULES += -dlopen yasm-nasm.la
+YASM_MODULES += -dlopen yasm_nasm.la
 
 include modules/arch/Makefile.inc
 include modules/parsers/Makefile.inc
index bee5f93ba6444237327003e7c88405f7349ce26b..f6a4662151c2122160b65f0d3be2ab3ce0dbb74b 100644 (file)
@@ -1,6 +1,6 @@
 # $IdPath$
 
-lib_LTLIBRARIES += yasm-x86.la
+lib_LTLIBRARIES += yasm_x86.la
 
 yasm_x86_la_SOURCES = \
        modules/arch/x86/x86arch.c      \
@@ -10,7 +10,7 @@ yasm_x86_la_SOURCES = \
        x86id.c
 yasm_x86_la_LDFLAGS = -module -avoid-version -no-undefined
 yasm_x86_la_LIBADD = libyasm.la
-YASM_MODULES += -dlopen yasm-x86.la
+YASM_MODULES += -dlopen yasm_x86.la
 
 x86id.c: $(srcdir)/modules/arch/x86/x86id.re re2c$(EXEEXT) $(srcdir)/tools/re2c/cleanup.pl
        $(top_builddir)/re2c$(EXEEXT) -s $(srcdir)/modules/arch/x86/x86id.re | $(PERL) $(srcdir)/tools/re2c/cleanup.pl | sed "/^#l/ s,re2c-out\.c,$@," > $@
index 83dae28a74a3c72300aac6dbff65844ffd06b01a..acab29653acc396cf49feb21ff0d05f608567018 100644 (file)
@@ -1,9 +1,9 @@
 # $IdPath$
 
-lib_LTLIBRARIES += yasm-null.la
+lib_LTLIBRARIES += yasm_null.la
 
 yasm_null_la_SOURCES = \
        modules/dbgfmts/null/null-dbgfmt.c
 yasm_null_la_LDFLAGS = -module -avoid-version -no-undefined
 yasm_null_la_LIBADD = libyasm.la
-YASM_MODULES += -dlopen yasm-null.la
+YASM_MODULES += -dlopen yasm_null.la
index 936534d642347bc985cc7d605cddfa29fef7f790..ad1a72091d7eab08c6b205edfe6af777c7574f49 100644 (file)
@@ -1,12 +1,12 @@
 # $IdPath$
 
-lib_LTLIBRARIES += yasm-bin.la
+lib_LTLIBRARIES += yasm_bin.la
 
 yasm_bin_la_SOURCES = \
        modules/objfmts/bin/bin-objfmt.c
 yasm_bin_la_LDFLAGS = -module -avoid-version -no-undefined
 yasm_bin_la_LIBADD = libyasm.la
-YASM_MODULES += -dlopen yasm-bin.la
+YASM_MODULES += -dlopen yasm_bin.la
 
 EXTRA_DIST += \
        modules/objfmts/bin/tests/Makefile.inc
index a64c9fb60258f24551285abd246d85b5e3db87f4..8257b28cb81c6b5b4da945dbab694a921800c128 100644 (file)
@@ -1,12 +1,12 @@
 # $IdPath$
 
-lib_LTLIBRARIES += yasm-coff.la
+lib_LTLIBRARIES += yasm_coff.la
 
 yasm_coff_la_SOURCES = \
        modules/objfmts/coff/coff-objfmt.c
 yasm_coff_la_LDFLAGS = -module -avoid-version -no-undefined
 yasm_coff_la_LIBADD = libyasm.la
-YASM_MODULES += -dlopen yasm-coff.la
+YASM_MODULES += -dlopen yasm_coff.la
 
 EXTRA_DIST += \
        modules/objfmts/coff/tests/Makefile.inc
index f80da10eaa868791ca86d81df58919d97f10ec24..aa78484fe9666520529f5bf4df5b31a1ec43df0d 100644 (file)
@@ -1,9 +1,9 @@
 # $IdPath$
 
-lib_LTLIBRARIES += yasm-dbg.la
+lib_LTLIBRARIES += yasm_dbg.la
 
 yasm_dbg_la_SOURCES = \
        modules/objfmts/dbg/dbg-objfmt.c
 yasm_dbg_la_LDFLAGS = -module -avoid-version -no-undefined
 yasm_dbg_la_LIBADD = libyasm.la
-YASM_MODULES += -dlopen yasm-dbg.la
+YASM_MODULES += -dlopen yasm_dbg.la
index 8cc8aadcc8903648cd81f036da96a0b8cdab9f12..17fb8797de482e4473db710dd2216ff996e8c363 100644 (file)
@@ -1,12 +1,12 @@
 # $IdPath$
 
-lib_LTLIBRARIES += yasm-win32.la
+lib_LTLIBRARIES += yasm_win32.la
 
 yasm_win32_la_SOURCES = \
        modules/objfmts/coff/coff-objfmt.c
 yasm_win32_la_LDFLAGS = -module -avoid-version -no-undefined
 yasm_win32_la_LIBADD = libyasm.la
-YASM_MODULES += -dlopen yasm-win32.la
+YASM_MODULES += -dlopen yasm_win32.la
 
 EXTRA_DIST += \
        modules/objfmts/win32/tests/Makefile.inc
index cf955a66643a3b2a0b64a906b6f6a18c3d9471ab..c1296a62101e52de31e0704f08a62633387e6222 100644 (file)
@@ -1,9 +1,9 @@
 # $IdPath$
 
-lib_LTLIBRARIES += yasm-basic.la
+lib_LTLIBRARIES += yasm_basic.la
 
 yasm_basic_la_SOURCES = \
        modules/optimizers/basic/basic-optimizer.c
 yasm_basic_la_LDFLAGS = -module -avoid-version -no-undefined
 yasm_basic_la_LIBADD = libyasm.la
-YASM_MODULES += -dlopen yasm-basic.la
+YASM_MODULES += -dlopen yasm_basic.la
index c14f0dbb8ac190bd151bf521284239b7ba77b746..5b06bb69529fb2c93889d771e060599aafcc96a2 100644 (file)
@@ -1,6 +1,6 @@
 # $IdPath$
 
-#lib_LTLIBRARIES += yasm-nasm.la
+#lib_LTLIBRARIES += yasm_nasm.la
 
 yasm_nasm_la_SOURCES += \
        modules/parsers/nasm/nasm-parser.h      \
@@ -11,7 +11,7 @@ yasm_nasm_la_SOURCES += \
        nasm-token.c
 #yasm_nasm_la_LDFLAGS = -module -avoid-version -no-undefined
 #yasm_nasm_la_LIBADD = libyasm.la
-#YASM_MODULES += -dlopen yasm-nasm.la
+#YASM_MODULES += -dlopen yasm_nasm.la
 
 nasm-token.c: $(srcdir)/modules/parsers/nasm/nasm-token.re re2c$(EXEEXT) $(srcdir)/tools/re2c/cleanup.pl
        $(top_builddir)/re2c$(EXEEXT) -b $(srcdir)/modules/parsers/nasm/nasm-token.re | $(PERL) $(srcdir)/tools/re2c/cleanup.pl | sed "/^#l/ s,re2c-out\.c,$@," > $@
index 388eb482cb023327c070e9c8974317573931709a..3b65abed15aac909798d9532229c1c4e3bc3c652 100644 (file)
@@ -1,6 +1,6 @@
 # $IdPath$
 
-#lib_LTLIBRARIES += yasm-nasm.la
+#lib_LTLIBRARIES += yasm_nasm.la
 
 yasm_nasm_la_SOURCES += \
        modules/preprocs/nasm/nasm-preproc.c \
@@ -25,4 +25,4 @@ EXTRA_DIST += modules/preprocs/nasm/macros.pl \
 
 #yasm_nasm_la_LDFLAGS = -module -avoid-version -no-undefined
 #yasm_nasm_la_LIBADD = libyasm.la
-#YASM_MODULES += -dlopen yasm-nasm.la
+#YASM_MODULES += -dlopen yasm_nasm.la
index 6cc25d063d5f0c4b8ef85771215475c35ea918fd..86bcde275d10e4e78175f0b1609a91d2feb2c80c 100644 (file)
@@ -1,9 +1,9 @@
 # $IdPath$
 
-lib_LTLIBRARIES += yasm-raw.la
+lib_LTLIBRARIES += yasm_raw.la
 
 yasm_raw_la_SOURCES = \
        modules/preprocs/raw/raw-preproc.c
 yasm_raw_la_LDFLAGS = -module -avoid-version -no-undefined
 yasm_raw_la_LIBADD = libyasm.la
-YASM_MODULES += -dlopen yasm-raw.la
+YASM_MODULES += -dlopen yasm_raw.la
index 1edb1265adb562a4e6bfab9d855dcbc3d433b007..a6e48c57cb11dfea914abcb798a09bd0eec1e28c 100644 (file)
@@ -1,6 +1,6 @@
 # $IdPath$
 
-lib_LTLIBRARIES += yasm-yapp.la
+lib_LTLIBRARIES += yasm_yapp.la
 
 yasm_yapp_la_SOURCES = \
        modules/preprocs/yapp/yapp-preproc.h    \
@@ -9,7 +9,7 @@ yasm_yapp_la_SOURCES = \
        modules/preprocs/yapp/yapp-token.l
 yasm_yapp_la_LDFLAGS = -module -avoid-version -no-undefined
 yasm_yapp_la_LIBADD = libyasm.la
-YASM_MODULES += -dlopen yasm-yapp.la
+YASM_MODULES += -dlopen yasm_yapp.la
 
 BUILT_SOURCES += \
        yapp-token.c