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

pkg-config for the plugin API

(Don't expect this to work yet though)
parent b321beb4
......@@ -10,6 +10,8 @@ EXTRA_DIST = extras/COPYING modules/builtin.h.in libvlc.sym vlc-control.pc.in
BUILT_SOURCES = modules/builtin.h misc/revision.c ../include/vlc_about.h
CLEANFILES = $(BUILT_SOURCES)
SUFFIXES = .pc.in .pc
###############################################################################
# Headers
###############################################################################
......@@ -134,13 +136,17 @@ modules/modules.c: modules/builtin.h
###############################################################################
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = vlc-control.pc
pkgconfig_DATA = vlc-control.pc vlc-plugin.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
.pc.in.pc: $(top_builddir)/config.status
cd "$(top_builddir)" && \
$(SHELL) ./config.status --file="src/$@"
###############################################################################
# Building libvlc
###############################################################################
......
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: VLC plugin API
Description: VLC media player plugin interface
Version: @VERSION@
Cflags: -I${includedir}/vlc/plugin \
-D_FILE_OFFSET_BITS=64 \
-D__USE_UNIX98 \
-D_LARGEFILE64_SOURCE \
-D_REENTRANT \
-D_THREAD_SAFE
Libs: -L${libdir} -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