blob: 78a1e6534e01a24febeebe2db4e4bba2ef26c241 (
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
|
### all of the standard pc files we need to generate
if HAVE_CHECK
CHECK_PC_I = gstreamer-check-@GST_API_VERSION@.pc
CHECK_PC_U = gstreamer-check-@GST_API_VERSION@-uninstalled.pc
else
CHECK_PC_I =
CHECK_PC_U =
endif
pcfiles = \
gstreamer-@GST_API_VERSION@.pc \
gstreamer-base-@GST_API_VERSION@.pc \
$(CHECK_PC_I) \
gstreamer-controller-@GST_API_VERSION@.pc \
gstreamer-net-@GST_API_VERSION@.pc
pcfiles_uninstalled = \
gstreamer-@GST_API_VERSION@-uninstalled.pc \
gstreamer-base-@GST_API_VERSION@-uninstalled.pc \
$(CHECK_PC_U) \
gstreamer-controller-@GST_API_VERSION@-uninstalled.pc \
gstreamer-net-@GST_API_VERSION@-uninstalled.pc
all-local: $(pcfiles) $(pcfiles_uninstalled)
cp_verbose = $(cp_verbose_$(V))
cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
cp_verbose_0 = @echo " CP $@";
### how to generate pc files
%-@GST_API_VERSION@.pc: %.pc
$(cp_verbose_0)cp $< $@
%-@GST_API_VERSION@-uninstalled.pc: %-uninstalled.pc
### the uninstalled libdir is depend of the build system used so set it here
### rather than hardcoding it in the file directly.
$(AM_V_GEN) sed \
-e "s|[@]gstlibdir[@]|$(abs_top_builddir)/gst/.libs|" \
-e "s|[@]checklibdir[@]|$(abs_top_builddir)/libs/gst/check/.libs|" \
-e "s|[@]baselibdir[@]|$(abs_top_builddir)/libs/gst/base/.libs|" \
-e "s|[@]netlibdir[@]|$(abs_top_builddir)/libs/gst/net/.libs|" \
-e "s|[@]controllerlibdir[@]|$(abs_top_builddir)/libs/gst/controller/.libs|" \
$< > $@.tmp && mv $@.tmp $@
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(pcfiles)
EXTRA_DIST = \
gstreamer.pc.in \
gstreamer-uninstalled.pc.in \
gstreamer-base.pc.in \
gstreamer-base-uninstalled.pc.in \
gstreamer-check.pc.in \
gstreamer-check-uninstalled.pc.in \
gstreamer-controller.pc.in \
gstreamer-controller-uninstalled.pc.in \
gstreamer-net.pc.in \
gstreamer-net-uninstalled.pc.in
CLEANFILES = $(pcfiles) $(pcfiles_uninstalled)
|