Use the proper code for norvegian bokmål and use a symlink for no as it is what peopl...
[vlc.git] / modules / common.am
blob479b244d7fec199e6848e207f8b8335e6d0fa45a
1 # Common code for VLC modules/.../Makefile.am
3 # Copyright (C) 2005-2007 the VideoLAN team
4 # Copyright (C) 2005-2008 Rémi Denis-Courmont
6 # Authors: Sam Hocevar <sam@zoy.org>
8 NULL =
9 SUFFIXES =
10 libvlcdir = $(libdir)/vlc/$(basedir)
11 EXTRA_DIST = Modules.am
12 BUILT_SOURCES =
13 CLEANFILES = $(BUILT_SOURCES)
15 if HAVE_PLUGINS
16 LTLIBVLC = $(top_builddir)/src/libvlc.la
18 AM_CFLAGS = `$(VLC_CONFIG) --cflags plugin $@`
19 AM_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin $@`
20 AM_OBJCFLAGS = `$(VLC_CONFIG) --objcflags plugin $@`
21 AM_LDFLAGS = -rpath '$(libvlcdir)' \
22         -avoid-version -module -no-undefined \
23         -shrext $(LIBEXT) \
24          `$(VLC_CONFIG) --ldflags plugin $@`
25 AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` $(LTLIBVLC)
27 if HAVE_COMPILER_EXPORT
28 AM_LDFLAGS += -export-dynamic
29 else
30 AM_LDFLAGS += -export-symbol-regex ^vlc_entry
31 endif
32 endif
34 include $(srcdir)/Modules.am
36 if MAINTAINER_MODE
37 $(srcdir)/Makefile.am: $(srcdir)/Modules.am $(top_srcdir)/modules/genmf
38         cd \$(top_srcdir) && \$(SHELL) modules/genmf $(dir)
39 endif
41 nice:
42         $(top_builddir)/compile
44 .PHONY: nice