mirror of
https://github.com/videolan/vlc.git
synced 2024-12-04 07:15:24 +08:00
4a6584208f
Left-over from pre-libtool era
35 lines
992 B
Plaintext
35 lines
992 B
Plaintext
# Common code for VLC modules/.../Makefile.am
|
|
#
|
|
# Copyright (C) 2005-2007 the VideoLAN team
|
|
# Copyright (C) 2005-2008 Rémi Denis-Courmont
|
|
#
|
|
# Authors: Sam Hocevar <sam@zoy.org>
|
|
|
|
NULL =
|
|
libvlcdir = $(vlclibdir)/plugins/$(basedir)
|
|
EXTRA_DIST = Modules.am
|
|
BUILT_SOURCES =
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
LTLIBVLCCORE = $(top_builddir)/src/libvlccore.la
|
|
|
|
AM_CFLAGS = `$(VLC_CONFIG) --cflags plugin $@`
|
|
AM_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin $@`
|
|
AM_OBJCFLAGS = `$(VLC_CONFIG) --objcflags plugin $@`
|
|
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) $(top_builddir)/compat/libcompat.la
|
|
|
|
include $(srcdir)/Modules.am
|
|
|
|
if MAINTAINER_MODE
|
|
$(srcdir)/Makefile.am: $(srcdir)/Modules.am $(top_srcdir)/modules/genmf
|
|
$(AM_V_GEN)cd \$(top_srcdir) && \$(SHELL) modules/genmf $(dir)
|
|
endif
|