]> git.sesse.net Git - vlc/blobdiff - modules/common.am
hds: Ignore sentinel value at the end of the fragment table
[vlc] / modules / common.am
index d941fa69ebb41c7fc7d0bc31cc01b8f75f728cdd..9bb5143547c26e4e7ff6c65576b4e3f20f12025e 100644 (file)
@@ -31,14 +31,12 @@ AM_LDFLAGS = \
        -export-symbols-regex ^vlc_entry \
        -shrext $(LIBEXT) \
        -no-undefined \
-       $(LTLIBVLCCORE) $(top_builddir)/compat/libcompat.la $(LIBPTHREAD)
-
+       $(top_builddir)/compat/libcompat.la $(LTLIBVLCCORE) 
 if HAVE_WIN32
-AM_LDFLAGS += -Wl,lib$(MODULE_NAME)_plugin.rc.$(OBJEXT)
+AM_LDFLAGS += $(top_builddir)/modules/module.rc.lo
+endif
 
-$(top_builddir)/modules/module.rc: $(top_builddir)/modules/module.rc.in $(top_builddir)/config.status
-       $(AM_V_GEN) cd "$(top_builddir)" && $(SHELL) ./config.status --file="modules/module.rc"
+SUFFIXES = .asm
 
-lib%_plugin.rc.$(OBJEXT): $(top_builddir)/modules/module.rc
-       $(AM_V_GEN) $(WINDRES) -DMODULE_NAME=\\\"$(MODULE_NAME)\\\" --include-dir $(top_srcdir)/share --include-dir $(top_srcdir)/extras/package/win32 -i $< -o $@
-endif
+.asm.lo:
+       $(LIBTOOL) --mode=compile --tag=ASM $(YASM) $(YASMFLAGS) $< -o $@