1pcfiles = \ 2 gstreamer-rtsp-server-@GST_API_VERSION@.pc 3 4pcfiles_uninstalled = \ 5 gstreamer-rtsp-server-@GST_API_VERSION@-uninstalled.pc 6 7all-local: $(pcfiles) $(pcfiles_uninstalled) 8 9### how to generate pc files 10%-@GST_API_VERSION@.pc: %.pc 11 cp $< $@ 12%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc 13### the uninstalled libdir is depend of the build system used so set it here 14### rather than hardcoding it in the file directly. 15 $(AM_V_GEN) sed \ 16 -e "s|[@]rtspserverlibdir[@]|$(abs_top_builddir)/gst/rtsp-server/.libs|" \ 17 $< > $@.tmp && mv $@.tmp $@ 18 19pkgconfigdir = $(libdir)/pkgconfig 20pkgconfig_DATA = $(pcfiles) 21 22EXTRA_DIST = \ 23 gstreamer-rtsp-server.pc.in \ 24 gstreamer-rtsp-server-uninstalled.pc.in 25CLEANFILES = $(pcfiles) $(pcfiles_uninstalled) 26