2003-04-07 21:34:30 +00:00
|
|
|
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 \
|
2003-10-30 02:36:42 +00:00
|
|
|
gstreamer-play-@GST_MAJORMINOR@.pc \
|
|
|
|
gstreamer-interfaces-@GST_MAJORMINOR@.pc
|
2003-04-07 21:34:30 +00:00
|
|
|
pcfiles_uninstalled = \
|
|
|
|
gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc \
|
2003-10-30 02:36:42 +00:00
|
|
|
gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc \
|
|
|
|
gstreamer-interfaces-@GST_MAJORMINOR@-uninstalled.pc
|
2003-04-07 21:34:30 +00:00
|
|
|
|
2003-04-27 15:20:07 +00:00
|
|
|
pcfiles_gconf = $(GCONF_PC) $(GCONF_PC_UNINSTALLED)
|
|
|
|
all-local: $(pcfiles) $(pcfiles_uninstalled) $(pcfiles_gconf)
|
2003-04-07 21:34:30 +00:00
|
|
|
|
2003-04-27 15:20:07 +00:00
|
|
|
### how to generate pc files from .pc files in this dir
|
2003-04-07 21:34:30 +00:00
|
|
|
$(pcfiles): %-@GST_MAJORMINOR@.pc: %.pc
|
|
|
|
cp $< $@
|
|
|
|
$(pcfiles_uninstalled): %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
|
|
|
|
cp $< $@
|
|
|
|
|
2003-04-27 15:20:07 +00:00
|
|
|
### how to generate gconf dir pc files from their pc.in files
|
|
|
|
### somebody smart could figure out how to fold this back into one rule
|
|
|
|
$(srcdir)/../gst-libs/gst/gconf/gstreamer-gconf*.pc:
|
|
|
|
cd $(srcdir)/../gst-libs/gst/gconf && make gstreamer-gconf.pc gstreamer-gconf-uninstalled.pc
|
|
|
|
|
|
|
|
### how to generate pc files from base .pc file in other dir
|
|
|
|
$(pcfiles_gconf): gstreamer-gconf-@GST_MAJORMINOR@%.pc: \
|
|
|
|
$(srcdir)/../gst-libs/gst/gconf/gstreamer-gconf%.pc
|
2003-04-07 21:34:30 +00:00
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = \
|
|
|
|
$(GCONF_PC) \
|
|
|
|
gstreamer-libs-@GST_MAJORMINOR@.pc \
|
2003-10-30 02:36:42 +00:00
|
|
|
gstreamer-play-@GST_MAJORMINOR@.pc \
|
|
|
|
gstreamer-interfaces-@GST_MAJORMINOR@.pc
|
2003-04-07 21:34:30 +00:00
|
|
|
|
2003-11-24 04:08:47 +00:00
|
|
|
CLEANFILES = $(pcfiles) $(pcfiles_uninstalled) $(GCONF_PC) $(GCONF_PC_UNINSTALLED)
|
2003-04-07 21:34:30 +00:00
|
|
|
EXTRA_DIST= \
|
|
|
|
gstreamer-libs.pc.in gstreamer-libs-uninstalled.pc.in \
|
|
|
|
gstreamer-play.pc.in gstreamer-play-uninstalled.pc.in
|