Makefile.am 789 Bytes
Newer Older
1
ACLOCAL_AMFLAGS = -I m4
2 3 4 5 6 7
AUTOMAKE_OPTIONS = \
	1.11 \
	-Wall \
	check-news \
	dist-xz \
	no-dist-gzip
8

9 10
DIST_SUBDIRS= share common npapi activex
SUBDIRS = common
11 12 13
if BUILD_NPAPI
SUBDIRS += npapi
endif
14
if BUILD_ACTIVEX
15 16
SUBDIRS += activex
endif
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
17

Rafaël Carré's avatar
Rafaël Carré committed
18 19
DISTCHECK_CONFIGURE_FLAGS=--without-gtk

20
EXTRA_DIST = \
21
	autogen.sh \
22
	extras/macosx/Info.plist.in \
23
	extras/macosx/build-package.sh \
Felix Paul Kühne's avatar
Felix Paul Kühne committed
24 25 26
	extras/macosx/build-plugin.sh \
	extras/macosx/build-vlc.sh \
	extras/macosx/create-universal-binary.sh
27 28 29 30 31 32 33 34

package-macosx-xpi:
	mkdir -p "$(top_builddir)/macosx-xpi/plugins"
	cp $(top_builddir)/src/install.rdf \
		"$(top_builddir)/macosx-xpi/"
	cp -R "$(top_builddir)/src/VLC Plugin.plugin" \
		"$(top_builddir)/macosx-xpi/plugins"
	cd "$(top_builddir)/macosx-xpi" && zip -r vlc-$(VERSION).xpi install.rdf plugins