2009-01-08 13:42:10 +00:00
|
|
|
pcfiles = \
|
2012-04-04 12:45:55 +00:00
|
|
|
gstreamer-rtsp-server-@GST_API_VERSION@.pc
|
2009-01-08 13:42:10 +00:00
|
|
|
|
2009-10-09 14:26:30 +00:00
|
|
|
pcfiles_uninstalled = \
|
2012-04-04 12:45:55 +00:00
|
|
|
gstreamer-rtsp-server-@GST_API_VERSION@-uninstalled.pc
|
2009-10-09 14:26:30 +00:00
|
|
|
|
|
|
|
all-local: $(pcfiles) $(pcfiles_uninstalled)
|
2009-01-08 13:42:10 +00:00
|
|
|
|
|
|
|
### how to generate pc files
|
2012-04-04 12:45:55 +00:00
|
|
|
%-@GST_API_VERSION@.pc: %.pc
|
2009-01-08 13:42:10 +00:00
|
|
|
cp $< $@
|
2012-04-04 12:45:55 +00:00
|
|
|
%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
|
2017-01-04 15:20:54 +00:00
|
|
|
### the uninstalled libdir is depend of the build system used so set it here
|
|
|
|
### rather than hardcoding it in the file directly.
|
|
|
|
$(AM_V_GEN) sed \
|
|
|
|
-e "s|[@]rtspserverlibdir[@]|$(abs_top_builddir)/gst/rtsp-server/.libs|" \
|
|
|
|
$< > $@.tmp && mv $@.tmp $@
|
2009-01-08 13:42:10 +00:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = $(pcfiles)
|
|
|
|
|
2009-10-09 14:26:30 +00:00
|
|
|
EXTRA_DIST = \
|
2012-02-13 11:40:44 +00:00
|
|
|
gstreamer-rtsp-server.pc.in \
|
|
|
|
gstreamer-rtsp-server-uninstalled.pc.in
|
2009-10-09 14:26:30 +00:00
|
|
|
CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)
|