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
|
2004-03-15 17:17:28 +00:00
|
|
|
pcverfiles = \
|
2004-03-14 10:33:44 +00:00
|
|
|
$(GCONF_PC) \
|
2004-03-15 17:17:28 +00:00
|
|
|
gstreamer-interfaces-@GST_MAJORMINOR@.pc \
|
2003-04-07 21:34:30 +00:00
|
|
|
gstreamer-libs-@GST_MAJORMINOR@.pc \
|
2004-03-15 17:17:28 +00:00
|
|
|
gstreamer-media-info-@GST_MAJORMINOR@.pc \
|
2004-03-15 22:27:32 +00:00
|
|
|
gstreamer-play-@GST_MAJORMINOR@.pc \
|
|
|
|
gstreamer-plugins-@GST_MAJORMINOR@.pc
|
2004-03-15 17:17:28 +00:00
|
|
|
pcverfiles_uninstalled = \
|
2004-03-14 10:33:44 +00:00
|
|
|
$(GCONF_PC_UNINSTALLED) \
|
2004-03-15 17:17:28 +00:00
|
|
|
gstreamer-interfaces-@GST_MAJORMINOR@-uninstalled.pc \
|
2003-04-07 21:34:30 +00:00
|
|
|
gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc \
|
2004-03-15 17:17:28 +00:00
|
|
|
gstreamer-media-info-@GST_MAJORMINOR@-uninstalled.pc \
|
2004-03-15 22:27:32 +00:00
|
|
|
gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc \
|
|
|
|
gstreamer-plugins-@GST_MAJORMINOR@-uninstalled.pc
|
2003-04-07 21:34:30 +00:00
|
|
|
|
2004-03-15 17:17:28 +00:00
|
|
|
pcverfiles_gconf = $(GCONF_PC) $(GCONF_PC_UNINSTALLED)
|
|
|
|
all-local: $(pcverfiles) $(pcverfiles_uninstalled)
|
2003-04-07 21:34:30 +00:00
|
|
|
|
2004-03-15 17:17:28 +00:00
|
|
|
### how to generate versioned .pc files from .pc files in this dir
|
|
|
|
$(pcverfiles): %-@GST_MAJORMINOR@.pc: %.pc
|
2003-04-07 21:34:30 +00:00
|
|
|
cp $< $@
|
2004-03-15 17:17:28 +00:00
|
|
|
$(pcverfiles_uninstalled): %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
|
2003-04-07 21:34:30 +00:00
|
|
|
cp $< $@
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2004-03-15 17:17:28 +00:00
|
|
|
pkgconfig_DATA = $(pcverfiles)
|
2003-04-07 21:34:30 +00:00
|
|
|
|
2004-03-15 17:17:28 +00:00
|
|
|
CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
|
|
|
|
pcinfiles = \
|
2004-03-14 10:33:44 +00:00
|
|
|
gstreamer-gconf.pc.in gstreamer-gconf-uninstalled.pc.in \
|
|
|
|
gstreamer-interfaces.pc.in gstreamer-interfaces-uninstalled.pc.in \
|
2003-04-07 21:34:30 +00:00
|
|
|
gstreamer-libs.pc.in gstreamer-libs-uninstalled.pc.in \
|
2004-03-15 17:17:28 +00:00
|
|
|
gstreamer-media-info.pc.in gstreamer-media-info-uninstalled.pc.in \
|
2004-03-15 22:27:32 +00:00
|
|
|
gstreamer-play.pc.in gstreamer-play-uninstalled.pc.in \
|
|
|
|
gstreamer-plugins.pc.in gstreamer-plugins-uninstalled.pc.in
|
2004-03-15 17:17:28 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = $(pcinfiles:.in=)
|
|
|
|
EXTRA_DIST = $(pcinfiles)
|