-libdir=${pcfiledir}/..
-includedir=${pcfiledir}/..
-toolsdir=${pcfiledir}/../tools
-pluginsdir=${pcfiledir}/..
-
-gstcontrol_libs=-lgstcontrol-@GST_MAJORMINOR@
+libdir=@abs_top_builddir@/gst
+# includedir is builddir because it is used to find gstconfig.h in places
+includedir=@abs_top_builddir@
+toolsdir=@abs_top_builddir@/tools
+pluginsdir=@abs_top_builddir@
+girdir=@abs_top_builddir@/gst
+typelibdir=@abs_top_builddir@/gst