2010-03-25 17:28:49 +00:00
|
|
|
pcfiles_in = gstreamer-vaapi.pc.in
|
2012-07-24 13:07:48 +00:00
|
|
|
if USE_X11
|
2010-03-25 17:28:49 +00:00
|
|
|
pcfiles_in += gstreamer-vaapi-x11.pc.in
|
2012-07-24 13:07:48 +00:00
|
|
|
endif
|
2010-03-25 17:28:49 +00:00
|
|
|
if USE_GLX
|
|
|
|
pcfiles_in += gstreamer-vaapi-glx.pc.in
|
|
|
|
endif
|
2012-07-24 13:43:44 +00:00
|
|
|
if USE_WAYLAND
|
|
|
|
pcfiles_in += gstreamer-vaapi-wayland.pc.in
|
|
|
|
endif
|
2010-03-16 10:13:36 +00:00
|
|
|
|
2010-03-25 17:28:49 +00:00
|
|
|
pcfiles = $(pcfiles_in:%.pc.in=%-@GST_MAJORMINOR@.pc)
|
2010-03-16 09:57:25 +00:00
|
|
|
|
2010-03-29 14:42:57 +00:00
|
|
|
all_pcfiles_in = gstreamer-vaapi.pc.in
|
|
|
|
all_pcfiles_in += gstreamer-vaapi-x11.pc.in
|
|
|
|
all_pcfiles_in += gstreamer-vaapi-glx.pc.in
|
2012-07-24 13:43:44 +00:00
|
|
|
all_pcfiles_in += gstreamer-vaapi-wayland.pc.in
|
2010-03-29 14:42:57 +00:00
|
|
|
|
|
|
|
all_pcfiles = $(all_pcfiles_in:%.pc.in=%-@GST_MAJORMINOR@.pc)
|
|
|
|
|
2010-03-16 09:57:25 +00:00
|
|
|
pkgconfigdir = @pkgconfigdir@
|
|
|
|
pkgconfig_DATA = $(pcfiles)
|
|
|
|
|
2012-07-24 13:43:44 +00:00
|
|
|
EXTRA_DIST = $(all_pcfiles_in)
|
2010-03-16 09:57:25 +00:00
|
|
|
|
2010-03-29 14:42:57 +00:00
|
|
|
DISTCLEANFILES = $(all_pcfiles)
|
2010-03-16 09:57:25 +00:00
|
|
|
|
|
|
|
# Extra clean files so that maintainer-clean removes *everything*
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|