X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fcommon.am;h=5e4d65f57e381b811050e6e620243e813e526b06;hb=f659703fb4033420e0607d34bc7cd880a5802ea7;hp=caa56590622b3a28647d73703a9bcf8cac7c8e20;hpb=cba4b50534e596d9c6596a145d32ea7ac2262bca;p=vlc diff --git a/modules/common.am b/modules/common.am index caa5659062..5e4d65f57e 100644 --- a/modules/common.am +++ b/modules/common.am @@ -6,8 +6,7 @@ # Authors: Sam Hocevar NULL = -SUFFIXES = -libvlcdir = $(vlclibdir)/$(basedir) +libvlcdir = $(vlclibdir)/plugins/$(basedir) EXTRA_DIST = Modules.am BUILT_SOURCES = CLEANFILES = $(BUILT_SOURCES) @@ -21,18 +20,15 @@ AM_LDFLAGS = -rpath '$(libvlcdir)' \ -avoid-version -module \ -export-symbol-regex ^vlc_entry \ -shrext $(LIBEXT) \ + -rpath "$(libvlcdir)" \ -no-undefined \ `$(VLC_CONFIG) --ldflags plugin $@` -AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` $(LTLIBVLCCORE) +AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` \ + $(LTLIBVLCCORE) $(top_builddir)/compat/libcompat.la include $(srcdir)/Modules.am if MAINTAINER_MODE $(srcdir)/Makefile.am: $(srcdir)/Modules.am $(top_srcdir)/modules/genmf - cd \$(top_srcdir) && \$(SHELL) modules/genmf $(dir) + $(AM_V_GEN)cd \$(top_srcdir) && \$(SHELL) modules/genmf $(dir) endif - -nice: - $(top_builddir)/compile - -.PHONY: nice