1 AUTOMAKE_OPTIONS = subdir-objects
2 pkgconfigdir = $(libdir)/pkgconfig
3 AM_CFLAGS = $(CFLAGS_libvlc)
7 BUILT_SOURCES = $(nodist_pkginclude_HEADERS)
8 CLEANFILES = $(BUILT_SOURCES) $(pkgconfig_DATA)
10 pkginclude_HEADERS = \
11 ../include/vlc/deprecated.h \
12 ../include/vlc/libvlc.h \
13 ../include/vlc/libvlc_dialog.h \
14 ../include/vlc/libvlc_events.h \
15 ../include/vlc/libvlc_media.h \
16 ../include/vlc/libvlc_media_discoverer.h \
17 ../include/vlc/libvlc_media_list.h \
18 ../include/vlc/libvlc_media_list_player.h \
19 ../include/vlc/libvlc_media_player.h \
20 ../include/vlc/libvlc_media_track.h \
21 ../include/vlc/libvlc_renderer_discoverer.h \
22 ../include/vlc/libvlc_picture.h \
25 nodist_pkginclude_HEADERS = ../include/vlc/libvlc_version.h
27 ../include/vlc/libvlc_version.h: ../include/vlc/libvlc_version.h.in $(top_builddir)/config.status
28 $(AM_V_GEN)cd "$(top_builddir)" && \
29 $(SHELL) ./config.status --file="src/$@"
31 lib_LTLIBRARIES = libvlc.la
36 media_list_internal.h \
37 media_player_internal.h \
39 renderer_discoverer_internal.h \
42 renderer_discoverer.c \
58 EXTRA_DIST = libvlc.pc.in libvlc.sym ../include/vlc/libvlc_version.h.in
60 libvlc_la_LIBADD = ../src/libvlccore.la ../compat/libcompat.la $(LIBM)
64 -version-info 12:0:0 \
65 -export-symbols $(srcdir)/libvlc.sym
66 libvlc_la_DEPENDENCIES = libvlc.sym
68 libvlc_la_DEPENDENCIES += ../src/libvlc_win32_rc.$(OBJEXT)
69 libvlc_la_LDFLAGS += -Wl,../src/libvlc_win32_rc.$(OBJEXT) -avoid-version -Wc,-static
72 libvlc_la_LDFLAGS += -avoid-version
75 libvlc_la_LDFLAGS += -Xlinker -install_name -Xlinker @rpath/libvlc.dylib
78 pkgconfig_DATA = libvlc.pc
80 .pc.in.pc: $(top_builddir)/config.status
81 $(AM_V_GEN)cd "$(top_builddir)" && \
82 $(SHELL) ./config.status --file="lib/$@"
85 $(SHELL) $(top_srcdir)/src/check_headers $(pkginclude_HEADERS)