4 noinst_PROGRAMS = vlc-static
5 vlclib_PROGRAMS = vlc-cache-gen
6 EXTRA_PROGRAMS = vlc-wrapper
7 EXTRA_DIST = vlc_win32_rc.rc.in
11 AM_CFLAGS = `$(VLC_CONFIG) --cflags vlc`
16 bin_PROGRAMS += vlc-wrapper
17 vlc_SOURCES = vlc.c override.c
21 EXTRA_vlc_SOURCES = vlc.c winvlc.c
23 vlc_SOURCES = winvlc.c
24 noinst_DATA = vlc_win32_rc.rc
27 vlc_SOURCES = winvlc.c
30 vlc_wrapper_SOURCES = rootwrap.c
31 vlc_wrapper_LDADD = $(SOCKET_LIBS)
33 vlc_DEPENDENCIES = ../src/libvlc.sym
34 vlc_LDFLAGS = `$(VLC_CONFIG) --ldflags vlc`
35 vlc_LDADD = ../src/libvlc.la ../src/libvlccore.la `$(VLC_CONFIG) -libs vlc`
37 vlc_static_SOURCES = $(vlc_SOURCES)
38 vlc_static_CFLAGS = $(AM_CFLAGS) \
39 -DTOP_BUILDDIR=\"$$(cd "$(top_builddir)"; pwd)\" \
40 -DTOP_SRCDIR=\"$$(cd "$(top_srcdir)"; pwd)\" \
42 vlc_static_DEPENDENCIES = $(vlc_DEPENDENCIES)
43 vlc_static_LDADD = $(vlc_LDADD)
44 vlc_static_LDFLAGS = $(vlc_LDFLAGS) -no-install -static
47 vlc_LDADD += -lwininet vlc_win32_rc.$(OBJEXT)
48 vlc_DEPENDENCIES += vlc_win32_rc.$(OBJEXT)
53 .rc.in.rc: $(top_builddir)/config.status
54 cd "$(top_builddir)" && \
55 $(SHELL) ./config.status --file="bin/$@"
57 vlc_win32_rc.$(OBJEXT): vlc_win32_rc.rc
58 $(WINDRES) --include-dir $(top_srcdir)/share/icons -i $< -o $@
60 vlc_cache_gen_SOURCES = cachegen.c
61 vlc_cache_gen_LDADD = \
63 ../compat/libcompat.la \
64 ../src/libvlc.la ../src/libvlccore.la