mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
2fe200eeb3
Original commit message from CVS: add pkgconfig support
23 lines
556 B
Makefile
23 lines
556 B
Makefile
### all of the standard pc files we need to generate
|
|
pcfiles = \
|
|
gst-python-@GST_MAJORMINOR@.pc
|
|
|
|
pcfiles_uninstalled = \
|
|
gst-python-@GST_MAJORMINOR@-uninstalled.pc
|
|
|
|
all-local: $(pcfiles) $(pcfiles_uninstalled)
|
|
|
|
### how to generate pc files
|
|
$(pcfiles): %-@GST_MAJORMINOR@.pc: %.pc
|
|
cp $< $@
|
|
$(pcfiles_uninstalled): %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
|
|
cp $< $@
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = $(pcfiles)
|
|
|
|
EXTRA_DIST = \
|
|
gst-python.pc.in \
|
|
gst-python-uninstalled.pc.in
|
|
|
|
CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)
|