mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
![Marvin Scholz](/assets/img/avatar_default.png)
Instead of including the revision.c file, add it to the sources of the library. Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
84 lines
2.2 KiB
Makefile
84 lines
2.2 KiB
Makefile
AUTOMAKE_OPTIONS = subdir-objects
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
AM_CFLAGS = $(CFLAGS_libvlc)
|
|
|
|
SUFFIXES = .pc.in .pc
|
|
|
|
BUILT_SOURCES = $(nodist_pkginclude_HEADERS)
|
|
CLEANFILES = $(BUILT_SOURCES) $(pkgconfig_DATA)
|
|
|
|
pkginclude_HEADERS = \
|
|
../include/vlc/deprecated.h \
|
|
../include/vlc/libvlc.h \
|
|
../include/vlc/libvlc_dialog.h \
|
|
../include/vlc/libvlc_events.h \
|
|
../include/vlc/libvlc_media.h \
|
|
../include/vlc/libvlc_media_discoverer.h \
|
|
../include/vlc/libvlc_media_list.h \
|
|
../include/vlc/libvlc_media_list_player.h \
|
|
../include/vlc/libvlc_media_player.h \
|
|
../include/vlc/libvlc_renderer_discoverer.h \
|
|
../include/vlc/libvlc_picture.h \
|
|
../include/vlc/vlc.h
|
|
|
|
nodist_pkginclude_HEADERS = ../include/vlc/libvlc_version.h
|
|
|
|
../include/vlc/libvlc_version.h: ../include/vlc/libvlc_version.h.in $(top_builddir)/config.status
|
|
$(AM_V_GEN)cd "$(top_builddir)" && \
|
|
$(SHELL) ./config.status --file="src/$@"
|
|
|
|
lib_LTLIBRARIES = libvlc.la
|
|
|
|
libvlc_la_SOURCES = \
|
|
libvlc_internal.h \
|
|
media_internal.h \
|
|
media_list_internal.h \
|
|
media_player_internal.h \
|
|
picture_internal.h \
|
|
renderer_discoverer_internal.h \
|
|
core.c \
|
|
dialog.c \
|
|
renderer_discoverer.c \
|
|
error.c \
|
|
log.c \
|
|
playlist.c \
|
|
video.c \
|
|
audio.c \
|
|
event.c \
|
|
media.c \
|
|
media_player.c \
|
|
media_list.c \
|
|
media_list_path.h \
|
|
media_list_player.c \
|
|
media_discoverer.c \
|
|
picture.c \
|
|
../src/revision.c
|
|
EXTRA_DIST = libvlc.pc.in libvlc.sym ../include/vlc/libvlc_version.h.in
|
|
|
|
libvlc_la_LIBADD = ../src/libvlccore.la ../compat/libcompat.la $(LIBM)
|
|
libvlc_la_LDFLAGS = \
|
|
$(LDFLAGS_libvlc) \
|
|
-no-undefined \
|
|
-version-info 12:0:0 \
|
|
-export-symbols $(srcdir)/libvlc.sym
|
|
libvlc_la_DEPENDENCIES = libvlc.sym
|
|
if HAVE_WIN32
|
|
libvlc_la_DEPENDENCIES += ../src/libvlc_win32_rc.$(OBJEXT)
|
|
libvlc_la_LDFLAGS += -Wl,../src/libvlc_win32_rc.$(OBJEXT) -avoid-version -Wc,-static
|
|
endif
|
|
if HAVE_OS2
|
|
libvlc_la_LDFLAGS += -avoid-version
|
|
endif
|
|
if HAVE_DARWIN
|
|
libvlc_la_LDFLAGS += -Xlinker -install_name -Xlinker @rpath/libvlc.dylib
|
|
endif
|
|
|
|
pkgconfig_DATA = libvlc.pc
|
|
|
|
.pc.in.pc: $(top_builddir)/config.status
|
|
$(AM_V_GEN)cd "$(top_builddir)" && \
|
|
$(SHELL) ./config.status --file="lib/$@"
|
|
|
|
check-local:
|
|
$(SHELL) $(top_srcdir)/src/check_headers $(pkginclude_HEADERS)
|