mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
### all of the standard pc files we need to generate
|
|
pcverfiles = \
|
|
gstreamer-plugins-bad-@GST_API_VERSION@.pc \
|
|
gstreamer-codecparsers-@GST_API_VERSION@.pc \
|
|
gstreamer-basevideo-@GST_API_VERSION@.pc
|
|
|
|
pcverfiles_uninstalled = \
|
|
gstreamer-plugins-bad-@GST_API_VERSION@-uninstalled.pc \
|
|
gstreamer-codecparsers-@GST_API_VERSION@-uninstalled.pc \
|
|
gstreamer-basevideo-@GST_API_VERSION@-uninstalled.pc
|
|
|
|
all-local: $(pcverfiles) $(pcverfiles_uninstalled)
|
|
|
|
cp_verbose = $(cp_verbose_$(V))
|
|
cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
|
|
cp_verbose_0 = @echo " CP $@";
|
|
|
|
### how to generate versioned .pc files from .pc files in this dir
|
|
%-@GST_API_VERSION@.pc: %.pc
|
|
$(cp_verbose_0)cp $< $@
|
|
%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
|
|
$(cp_verbose_0)cp $< $@
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = $(pcverfiles)
|
|
|
|
CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
|
|
pcinfiles = \
|
|
gstreamer-plugins-bad.pc.in gstreamer-plugins-bad-uninstalled.pc.in \
|
|
gstreamer-codecparsers.pc.in gstreamer-codecparsers-uninstalled.pc.in \
|
|
gstreamer-basevideo.pc.in gstreamer-basevideo-uninstalled.pc.in
|
|
|
|
DISTCLEANFILES = $(pcinfiles:.in=)
|
|
EXTRA_DIST = $(pcinfiles)
|