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) \
|
2005-06-30 13:22:55 +00:00
|
|
|
gstreamer-plugins-base-@GST_MAJORMINOR@.pc
|
2004-03-15 17:17:28 +00:00
|
|
|
pcverfiles_uninstalled = \
|
2004-03-14 10:33:44 +00:00
|
|
|
$(GCONF_PC_UNINSTALLED) \
|
2005-06-30 13:22:55 +00:00
|
|
|
gstreamer-plugins-base-@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
|
2004-04-19 22:51:57 +00:00
|
|
|
%-@GST_MAJORMINOR@.pc: %.pc
|
2003-04-07 21:34:30 +00:00
|
|
|
cp $< $@
|
2004-04-19 22:51:57 +00:00
|
|
|
%-@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 \
|
2005-06-30 13:22:55 +00:00
|
|
|
gstreamer-plugins-base.pc.in gstreamer-plugins-base-uninstalled.pc.in
|
2004-03-15 17:17:28 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = $(pcinfiles:.in=)
|
|
|
|
EXTRA_DIST = $(pcinfiles)
|