# $IdPath$
-SUBDIRS = libltdl m4 po
+SUBDIRS = libltdl m4 po .
CFLAGS = @ANSI_CFLAGS@
AM_YFLAGS = -d
noinst_PROGRAMS =
yasm_SOURCES =
-yasm_LDFLAGS = -export-dynamic
-yasm_LDADD = @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
+yasm_LDFLAGS =
+yasm_LDADD = libyasm.la @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
-lib_LTLIBRARIES =
+lib_LTLIBRARIES = libyasm.la
BUILT_SOURCES =
# configure.lineno doesn't clean up after itself?
CLEANFILES = configure.lineno
# $IdPath$
-YASMBASEFILES = \
+libyasm_la_SOURCES = \
src/bytecode.c \
src/bytecode.h \
src/bc-int.h \
+ src/errwarn.c \
+ src/errwarn.h \
src/expr.c \
src/expr.h \
src/expr-int.h \
src/section.h \
src/arch.c \
src/arch.h \
- src/objfmt.c \
src/objfmt.h \
- src/preproc.c \
- src/preproc.h \
- src/parser.c \
- src/parser.h \
src/optimizer.h \
+ src/parser.h \
+ src/preproc.h \
src/intnum.c \
src/intnum.h \
src/floatnum.c \
yasm_SOURCES += \
src/main.c \
- src/errwarn.c \
- src/errwarn.h \
src/options.c \
src/options.h \
- $(YASMBASEFILES)
+ src/objfmt.c \
+ src/preproc.c \
+ src/parser.c
EXTRA_DIST += \
# $IdPath$
-YASMBASEFILES = \
+libyasm_la_SOURCES = \
src/bytecode.c \
src/bytecode.h \
src/bc-int.h \
+ src/errwarn.c \
+ src/errwarn.h \
src/expr.c \
src/expr.h \
src/expr-int.h \
src/section.h \
src/arch.c \
src/arch.h \
- src/objfmt.c \
src/objfmt.h \
- src/preproc.c \
- src/preproc.h \
- src/parser.c \
- src/parser.h \
src/optimizer.h \
+ src/parser.h \
+ src/preproc.h \
src/intnum.c \
src/intnum.h \
src/floatnum.c \
yasm_SOURCES += \
src/main.c \
- src/errwarn.c \
- src/errwarn.h \
src/options.c \
src/options.h \
- $(YASMBASEFILES)
+ src/objfmt.c \
+ src/preproc.c \
+ src/parser.c
EXTRA_DIST += \
bitvect_test_SOURCES = \
src/tests/bitvect_test.c \
- src/errwarn.c \
- $(YASMBASEFILES) \
$(YASMPARSERFILES) \
$(YASMPREPROCFILES) \
$(YASMOPTIMIZERFILES) \
$(YASMOBJFMTFILES) \
$(YASMARCHFILES) \
$(CHECKFILES)
-bitvect_test_LDFLAGS = -export-dynamic
-bitvect_test_LDADD = @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
+bitvect_test_LDFLAGS =
+bitvect_test_LDADD = libyasm.la @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
#bytecode_test_SOURCES = \
# src/tests/bytecode_test.c \
-# src/errwarn.c \
-# $(YASMBASEFILES) \
# $(YASMPARSERFILES) \
# $(YASMPREPROCFILES) \
# $(YASMOPTIMIZERFILES) \
# $(YASMOBJFMTFILES) \
# $(YASMARCHFILES) \
# $(CHECKFILES)
-#bytecode_test_LDFLAGS = -export-dynamic
-#bytecode_test_LDADD = @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
+#bytecode_test_LDFLAGS =
+#bytecode_test_LDADD = libyasm.la @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
floatnum_test_SOURCES = \
src/tests/floatnum_test.c \
- src/errwarn.c \
- src/globals.c \
- src/hamt.c \
- src/bitvect.c \
- src/xmalloc.c \
- src/xstrdup.c \
$(CHECKFILES)
-floatnum_test_LDFLAGS = -export-dynamic
-floatnum_test_LDADD = @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
+floatnum_test_LDFLAGS =
+floatnum_test_LDADD = libyasm.la @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
#memexpr_test_SOURCES = \
# src/tests/memexpr_test.c \
-# src/errwarn.c \
-# $(YASMBASEFILES) \
# $(YASMPARSERFILES) \
# $(YASMPREPROCFILES) \
# $(YASMOPTIMIZERFILES) \
# $(YASMOBJFMTFILES) \
# $(YASMARCHFILES) \
# $(CHECKFILES)
-#memexpr_test_LDFLAGS = -export-dynamic
-#memexpr_test_LDADD = @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
+#memexpr_test_LDFLAGS =
+#memexpr_test_LDADD = libyasm.la @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
# $IdPath$
-YASMBASEFILES = \
+libyasm_la_SOURCES = \
src/bytecode.c \
src/bytecode.h \
src/bc-int.h \
+ src/errwarn.c \
+ src/errwarn.h \
src/expr.c \
src/expr.h \
src/expr-int.h \
src/section.h \
src/arch.c \
src/arch.h \
- src/objfmt.c \
src/objfmt.h \
- src/preproc.c \
- src/preproc.h \
- src/parser.c \
- src/parser.h \
src/optimizer.h \
+ src/parser.h \
+ src/preproc.h \
src/intnum.c \
src/intnum.h \
src/floatnum.c \
yasm_SOURCES += \
src/main.c \
- src/errwarn.c \
- src/errwarn.h \
src/options.c \
src/options.h \
- $(YASMBASEFILES)
+ src/objfmt.c \
+ src/preproc.c \
+ src/parser.c
EXTRA_DIST += \
yasm_bin_la_SOURCES = \
src/objfmts/bin/bin-objfmt.c
yasm_bin_la_LDFLAGS = -module
+yasm_bin_la_LDADD = libyasm.la
yasm_LDADD += -dlopen yasm-bin.la
EXTRA_DIST += \
yasm_dbg_la_SOURCES = \
src/objfmts/dbg/dbg-objfmt.c
yasm_dbg_la_LDFLAGS = -module
+yasm_dbg_la_LDADD = libyasm.la
yasm_LDADD += -dlopen yasm-dbg.la
# $IdPath$
-YASMBASEFILES = \
+libyasm_la_SOURCES = \
src/bytecode.c \
src/bytecode.h \
src/bc-int.h \
+ src/errwarn.c \
+ src/errwarn.h \
src/expr.c \
src/expr.h \
src/expr-int.h \
src/section.h \
src/arch.c \
src/arch.h \
- src/objfmt.c \
src/objfmt.h \
- src/preproc.c \
- src/preproc.h \
- src/parser.c \
- src/parser.h \
src/optimizer.h \
+ src/parser.h \
+ src/preproc.h \
src/intnum.c \
src/intnum.h \
src/floatnum.c \
yasm_SOURCES += \
src/main.c \
- src/errwarn.c \
- src/errwarn.h \
src/options.c \
src/options.h \
- $(YASMBASEFILES)
+ src/objfmt.c \
+ src/preproc.c \
+ src/parser.c
EXTRA_DIST += \
yasm_bin_la_SOURCES = \
src/objfmts/bin/bin-objfmt.c
yasm_bin_la_LDFLAGS = -module
+yasm_bin_la_LDADD = libyasm.la
yasm_LDADD += -dlopen yasm-bin.la
EXTRA_DIST += \
yasm_dbg_la_SOURCES = \
src/objfmts/dbg/dbg-objfmt.c
yasm_dbg_la_LDFLAGS = -module
+yasm_dbg_la_LDADD = libyasm.la
yasm_LDADD += -dlopen yasm-dbg.la
bitvect_test_SOURCES = \
src/tests/bitvect_test.c \
- src/errwarn.c \
- $(YASMBASEFILES) \
$(YASMPARSERFILES) \
$(YASMPREPROCFILES) \
$(YASMOPTIMIZERFILES) \
$(YASMOBJFMTFILES) \
$(YASMARCHFILES) \
$(CHECKFILES)
-bitvect_test_LDFLAGS = -export-dynamic
-bitvect_test_LDADD = @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
+bitvect_test_LDFLAGS =
+bitvect_test_LDADD = libyasm.la @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
#bytecode_test_SOURCES = \
# src/tests/bytecode_test.c \
-# src/errwarn.c \
-# $(YASMBASEFILES) \
# $(YASMPARSERFILES) \
# $(YASMPREPROCFILES) \
# $(YASMOPTIMIZERFILES) \
# $(YASMOBJFMTFILES) \
# $(YASMARCHFILES) \
# $(CHECKFILES)
-#bytecode_test_LDFLAGS = -export-dynamic
-#bytecode_test_LDADD = @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
+#bytecode_test_LDFLAGS =
+#bytecode_test_LDADD = libyasm.la @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
floatnum_test_SOURCES = \
src/tests/floatnum_test.c \
- src/errwarn.c \
- src/globals.c \
- src/hamt.c \
- src/bitvect.c \
- src/xmalloc.c \
- src/xstrdup.c \
$(CHECKFILES)
-floatnum_test_LDFLAGS = -export-dynamic
-floatnum_test_LDADD = @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
+floatnum_test_LDFLAGS =
+floatnum_test_LDADD = libyasm.la @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
#memexpr_test_SOURCES = \
# src/tests/memexpr_test.c \
-# src/errwarn.c \
-# $(YASMBASEFILES) \
# $(YASMPARSERFILES) \
# $(YASMPREPROCFILES) \
# $(YASMOPTIMIZERFILES) \
# $(YASMOBJFMTFILES) \
# $(YASMARCHFILES) \
# $(CHECKFILES)
-#memexpr_test_LDFLAGS = -export-dynamic
-#memexpr_test_LDADD = @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@
+#memexpr_test_LDFLAGS =
+#memexpr_test_LDADD = libyasm.la @LIBLTDL@ @LIBOBJS@ $(INTLLIBS) @LIBADD_DL@