summaryrefslogtreecommitdiff
path: root/pkgconfig/Makefile.am
blob: c035577de5518e1743dc6e50a6413871235280c7 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
### all of the standard pc files we need to generate
pcverfiles =  \
	gstreamer-audio-@GST_MAJORMINOR@.pc \
	gstreamer-cdda-@GST_MAJORMINOR@.pc \
	gstreamer-fft-@GST_MAJORMINOR@.pc \
	gstreamer-floatcast-@GST_MAJORMINOR@.pc \
	gstreamer-interfaces-@GST_MAJORMINOR@.pc \
	gstreamer-netbuffer-@GST_MAJORMINOR@.pc \
	gstreamer-pbutils-@GST_MAJORMINOR@.pc \
	gstreamer-riff-@GST_MAJORMINOR@.pc \
	gstreamer-rtp-@GST_MAJORMINOR@.pc \
	gstreamer-rtsp-@GST_MAJORMINOR@.pc \
	gstreamer-sdp-@GST_MAJORMINOR@.pc \
	gstreamer-tag-@GST_MAJORMINOR@.pc \
	gstreamer-video-@GST_MAJORMINOR@.pc \
	gstreamer-plugins-base-@GST_MAJORMINOR@.pc
pcverfiles_uninstalled = \
	gstreamer-audio-@GST_MAJORMINOR@-uninstalled.pc \
	gstreamer-cdda-@GST_MAJORMINOR@-uninstalled.pc \
	gstreamer-fft-@GST_MAJORMINOR@-uninstalled.pc \
	gstreamer-floatcast-@GST_MAJORMINOR@-uninstalled.pc \
	gstreamer-interfaces-@GST_MAJORMINOR@-uninstalled.pc \
	gstreamer-netbuffer-@GST_MAJORMINOR@-uninstalled.pc \
	gstreamer-pbutils-@GST_MAJORMINOR@-uninstalled.pc \
	gstreamer-riff-@GST_MAJORMINOR@-uninstalled.pc \
	gstreamer-rtp-@GST_MAJORMINOR@-uninstalled.pc \
	gstreamer-rtsp-@GST_MAJORMINOR@-uninstalled.pc \
	gstreamer-sdp-@GST_MAJORMINOR@-uninstalled.pc \
	gstreamer-tag-@GST_MAJORMINOR@-uninstalled.pc \
	gstreamer-video-@GST_MAJORMINOR@-uninstalled.pc \
	gstreamer-plugins-base-@GST_MAJORMINOR@-uninstalled.pc

all-local: $(pcverfiles) $(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 $< $@

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(pcverfiles)

CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
pcinfiles = \
           gstreamer-audio.pc.in gstreamer-audio-uninstalled.pc.in \
           gstreamer-cdda.pc.in gstreamer-cdda-uninstalled.pc.in \
           gstreamer-fft.pc.in gstreamer-fft-uninstalled.pc.in \
           gstreamer-floatcast.pc.in gstreamer-floatcast-uninstalled.pc.in \
           gstreamer-interfaces.pc.in gstreamer-interfaces-uninstalled.pc.in \
           gstreamer-netbuffer.pc.in gstreamer-netbuffer-uninstalled.pc.in \
           gstreamer-pbutils.pc.in gstreamer-pbutils-uninstalled.pc.in \
           gstreamer-riff.pc.in gstreamer-riff-uninstalled.pc.in \
           gstreamer-rtp.pc.in gstreamer-rtp-uninstalled.pc.in \
           gstreamer-rtsp.pc.in gstreamer-rtsp-uninstalled.pc.in \
           gstreamer-sdp.pc.in gstreamer-sdp-uninstalled.pc.in \
           gstreamer-tag.pc.in gstreamer-tag-uninstalled.pc.in \
           gstreamer-video.pc.in gstreamer-video-uninstalled.pc.in \
           gstreamer-plugins-base.pc.in gstreamer-plugins-base-uninstalled.pc.in

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