summaryrefslogtreecommitdiffstats
path: root/pkgconfig/Makefile.am
blob: 1ee78c991695e49de08674bb02eba5fddeb1a542 (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
### all of the standard pc files we need to generate
pcverfiles =  \
	gstreamer-plugins-good-@GST_MAJORMINOR@.pc
pcverfiles_uninstalled = \
	gstreamer-plugins-good-@GST_MAJORMINOR@-uninstalled.pc

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

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

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

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

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