Support for sipr decoder from FFmpeg
[vlc/solaris.git] / bin / Makefile.am
blob84b076c8081f1485ff85c05d1c22ecff9c63f117
1 # Building vlc
3 bin_PROGRAMS = vlc
4 noinst_PROGRAMS = vlc-static
5 EXTRA_PROGRAMS = vlc-wrapper
7 AM_CFLAGS = `$(VLC_CONFIG) --cflags vlc`
10 if !HAVE_WIN32
11 if !HAVE_WINCE
12 bin_PROGRAMS += vlc-wrapper
13 vlc_SOURCES = vlc.c
14 endif
15 endif
17 EXTRA_vlc_SOURCES = vlc.c winvlc.c
18 if HAVE_WIN32
19 vlc_SOURCES = winvlc.c
20 endif
21 if HAVE_WINCE
22 vlc_SOURCES = winvlc.c
23 endif
25 vlc_wrapper_SOURCES = rootwrap.c
26 vlc_wrapper_LDADD = $(SOCKET_LIBS)
28 vlc_DEPENDENCIES = ../src/libvlc.sym
29 vlc_LDFLAGS = `$(VLC_CONFIG) --ldflags vlc`
30 vlc_LDADD = ../src/libvlc.la `$(VLC_CONFIG) -libs vlc`
32 vlc_static_SOURCES = $(vlc_SOURCES)
33 vlc_static_CFLAGS = $(AM_CFLAGS) \
34         -DTOP_BUILDDIR=\"$$(cd "$(top_builddir)"; pwd)\" \
35         -DTOP_SRCDIR=\"$$(cd "$(top_srcdir)"; pwd)\" \
36         $(NULL)
37 vlc_static_DEPENDENCIES = $(vlc_DEPENDENCIES)
38 vlc_static_LDADD = $(vlc_LDADD)
39 vlc_static_LDFLAGS = $(vlc_LDFLAGS) -no-install -static
41 if HAVE_WIN32
42 vlc_LDADD += -lwininet vlc_win32_rc.$(OBJEXT)
43 vlc_DEPENDENCIES += vlc_win32_rc.$(OBJEXT)
44 endif
46 vlc_win32_rc.$(OBJEXT): $(top_builddir)/share/vlc_win32_rc.rc
47         $(WINDRES) --include-dir $(top_srcdir)/share -i $< -o $@