summaryrefslogtreecommitdiff
path: root/pkgconfig/Makefile.am
blob: b7089b7ff2f809b905e09417777133f0acf1094f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
### all of the standard pc files we need to generate
pcverfiles =  \
	gstreamer-plugins-ugly-@GST_API_VERSION@.pc
pcverfiles_uninstalled = \
	gstreamer-plugins-ugly-@GST_API_VERSION@-uninstalled.pc

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

cp_verbose = $(cp_verbose_$(V))
cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
cp_verbose_0 = @echo "  CP     $@";

### how to generate versioned .pc files from .pc files in this dir
%-@GST_API_VERSION@.pc: %.pc
	$(cp_verbose)cp $< $@
%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
	$(cp_verbose)cp $< $@

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

CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
# pcinfiles = \
#           gstreamer-plugins-ugly.pc.in gstreamer-plugins-ugly-uninstalled.pc.in
pcinfiles = \
           gstreamer-plugins-ugly-uninstalled.pc.in

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