diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-04-07 21:34:30 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-04-07 21:34:30 +0000 |
commit | 13cf1785d813f23c5cfae18a98568058ed94dfa7 (patch) | |
tree | 3df886e601eda5ee680356516fac565713c96723 /pkgconfig/Makefile.am | |
parent | f2f86939c3dd8382217ba14f7342a9a15da11ef6 (diff) | |
download | gstreamer-plugins-bad-13cf1785d813f23c5cfae18a98568058ed94dfa7.tar.gz |
Port some changes from 0.6.0/0.6.1 back to HEAD (.pc files moved to pkg-config/, .m4 file moved from plugins to core)
Original commit message from CVS:
Port some changes from 0.6.0/0.6.1 back to HEAD (.pc files moved to pkg-config/, .m4 file moved from plugins to core)
Diffstat (limited to 'pkgconfig/Makefile.am')
-rw-r--r-- | pkgconfig/Makefile.am | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am new file mode 100644 index 000000000..9692616d0 --- /dev/null +++ b/pkgconfig/Makefile.am @@ -0,0 +1,42 @@ +if USE_GCONF +GCONF_PC=gstreamer-gconf-@GST_MAJORMINOR@.pc +GCONF_PC_UNINSTALLED=gstreamer-gconf-@GST_MAJORMINOR@-uninstalled.pc +else +GCONF_PC= +GCONF_PC_UNINSTALLED= +endif + +### all of the standard pc files we need to generate +pcfiles = \ + gstreamer-libs-@GST_MAJORMINOR@.pc \ + gstreamer-play-@GST_MAJORMINOR@.pc +pcfiles_uninstalled = \ + gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc \ + gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc + +all-local: $(pcfiles) $(pcfiles_uninstalled) \ + $(GCONF_PC) \ + $(GCONF_PC_UNINSTALLED) + +### how to generate pc files +$(pcfiles): %-@GST_MAJORMINOR@.pc: %.pc + cp $< $@ +$(pcfiles_uninstalled): %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc + cp $< $@ + +gstreamer-gconf-@GST_MAJORMINOR@.pc: \ + $(srcdir)/../gst-libs/gst/gconf/gstreamer-gconf.pc + cp $< $@ +gstreamer-gconf-@GST_MAJORMINOR@-uninstalled.pc: \ + $(srcdir)/../gst-libs/gst/gconf/gstreamer-gconf-uninstalled.pc + cp $< $@ + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = \ + $(GCONF_PC) \ + gstreamer-libs-@GST_MAJORMINOR@.pc \ + gstreamer-play-@GST_MAJORMINOR@.pc + +EXTRA_DIST= \ + gstreamer-libs.pc.in gstreamer-libs-uninstalled.pc.in \ + gstreamer-play.pc.in gstreamer-play-uninstalled.pc.in |