|
Revision 67ad2d4678941860cb4bf8abbcb0b77a4c0a1616, 0.9 kB
(checked in by Rémi Denis-Courmont <rem@videolan.org>, 1 month ago)
|
-export-dynamic is no sense for libs, use -export-symbol (or nothing)
|
- Property mode set to
100644
|
| Line | |
|---|
| 1 |
# Common code for VLC modules/.../Makefile.am |
|---|
| 2 |
# |
|---|
| 3 |
# Copyright (C) 2005-2007 the VideoLAN team |
|---|
| 4 |
# Copyright (C) 2005-2008 Rémi Denis-Courmont |
|---|
| 5 |
# |
|---|
| 6 |
# Authors: Sam Hocevar <sam@zoy.org> |
|---|
| 7 |
|
|---|
| 8 |
NULL = |
|---|
| 9 |
SUFFIXES = |
|---|
| 10 |
libvlcdir = $(libdir)/vlc/$(basedir) |
|---|
| 11 |
EXTRA_DIST = Modules.am |
|---|
| 12 |
BUILT_SOURCES = |
|---|
| 13 |
CLEANFILES = $(BUILT_SOURCES) |
|---|
| 14 |
|
|---|
| 15 |
LTLIBVLCCORE = $(top_builddir)/src/libvlccore.la |
|---|
| 16 |
|
|---|
| 17 |
AM_CFLAGS = `$(VLC_CONFIG) --cflags plugin $@` |
|---|
| 18 |
AM_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin $@` |
|---|
| 19 |
AM_OBJCFLAGS = `$(VLC_CONFIG) --objcflags plugin $@` |
|---|
| 20 |
AM_LDFLAGS = -rpath '$(libvlcdir)' \ |
|---|
| 21 |
-avoid-version -module -no-undefined \ |
|---|
| 22 |
-export-symbol-regex ^vlc_entry \ |
|---|
| 23 |
-shrext $(LIBEXT) \ |
|---|
| 24 |
`$(VLC_CONFIG) --ldflags plugin $@` |
|---|
| 25 |
AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` $(LTLIBVLCCORE) |
|---|
| 26 |
|
|---|
| 27 |
include $(srcdir)/Modules.am |
|---|
| 28 |
|
|---|
| 29 |
if MAINTAINER_MODE |
|---|
| 30 |
$(srcdir)/Makefile.am: $(srcdir)/Modules.am $(top_srcdir)/modules/genmf |
|---|
| 31 |
cd \$(top_srcdir) && \$(SHELL) modules/genmf $(dir) |
|---|
| 32 |
endif |
|---|
| 33 |
|
|---|
| 34 |
nice: |
|---|
| 35 |
$(top_builddir)/compile |
|---|
| 36 |
|
|---|
| 37 |
.PHONY: nice |
|---|