mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
Rename yasm-module to yasm_module for better libtool compatibility (part of
tracking down an installation bug). svn path=/trunk/yasm/; revision=907
This commit is contained in:
parent
9399c65459
commit
c4fe05c29f
13 changed files with 25 additions and 25 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,$@," > $@
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,$@," > $@
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue