Makefile.am 984 Bytes
Newer Older
1 2
### all of the standard pc files we need to generate
pcverfiles =  \
3
	gstreamer-plugins-good-@GST_API_VERSION@.pc
4
pcverfiles_uninstalled = \
5
	gstreamer-plugins-good-@GST_API_VERSION@-uninstalled.pc
6 7 8 9

### all-local: $(pcverfiles) $(pcverfiles_uninstalled)
all-local: $(pcverfiles_uninstalled)

10 11 12 13
cp_verbose = $(cp_verbose_$(V))
cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
cp_verbose_0 = @echo "  CP     $@";

14
### how to generate versioned .pc files from .pc files in this dir
15
%-@GST_API_VERSION@.pc: %.pc
16
	$(cp_verbose)cp $< $@
17
%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
18
	$(cp_verbose)cp $< $@
19 20 21 22 23 24

# do not install for now
# pkgconfigdir = $(libdir)/pkgconfig
# pkgconfig_DATA = $(pcverfiles)

CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
25 26
# pcinfiles = \
#           gstreamer-plugins-good.pc.in gstreamer-plugins-good-uninstalled.pc.in
27
pcinfiles = \
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
28
           gstreamer-plugins-good-uninstalled.pc.in
29 30 31

DISTCLEANFILES = $(pcinfiles:.in=)
EXTRA_DIST = $(pcinfiles)