tracking down an installation bug).
svn path=/trunk/yasm/; revision=907
/* 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);
# 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
# $IdPath$
-lib_LTLIBRARIES += yasm-x86.la
+lib_LTLIBRARIES += yasm_x86.la
yasm_x86_la_SOURCES = \
modules/arch/x86/x86arch.c \
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,$@," > $@
# $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
# $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
# $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
# $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
# $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
# $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
# $IdPath$
-#lib_LTLIBRARIES += yasm-nasm.la
+#lib_LTLIBRARIES += yasm_nasm.la
yasm_nasm_la_SOURCES += \
modules/parsers/nasm/nasm-parser.h \
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,$@," > $@
# $IdPath$
-#lib_LTLIBRARIES += yasm-nasm.la
+#lib_LTLIBRARIES += yasm_nasm.la
yasm_nasm_la_SOURCES += \
modules/preprocs/nasm/nasm-preproc.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
# $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
# $IdPath$
-lib_LTLIBRARIES += yasm-yapp.la
+lib_LTLIBRARIES += yasm_yapp.la
yasm_yapp_la_SOURCES = \
modules/preprocs/yapp/yapp-preproc.h \
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