Commit f8c4e779 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

pkg-config support to libvlc-control

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <rem@videolan.org>
parent 132bf65d
......@@ -6,6 +6,7 @@
*.mak
*.moc.cpp
*.o
*.pc
*.vlt
.deps
.libs
......
......@@ -129,6 +129,18 @@ modules/modules.c: modules/builtin.h
echo ";" >> "$@.tmp"
mv -f -- "$@.tmp" "$@"
###############################################################################
# pkg-config integration
###############################################################################
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = vlc-control.pc
CLEANFILES += $(pkgconfig_DATA)
vlc-control.pc: vlc-control.pc.in $(top_builddir)/config.status
cd $(top_builddir) && \
$(SHELL) ./config.status --file=src/vlc-control.pc
###############################################################################
# Building libvlc
###############################################################################
......
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: LibVLC control API
Description: VLC media player external control library
Version: @VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -lvlc-control
Libs.private: -lvlc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment