build: split profiler and gtk widgets into separate libraries

This will make it easier to support installing just sysprof-cli and the
sysprofd helper daemon on systems where GTK is not feasible or necessary.
This does not, however, do that. It simply gets things broken up into
pieces.
This commit is contained in:
Christian Hergert
2016-04-13 21:09:52 -07:00
parent 66d4bb25e1
commit 61fed5b8f2
11 changed files with 226 additions and 110 deletions

View File

@ -4,8 +4,8 @@ libdir=${exec_prefix}/lib
includedir=${exec_prefix}/include
Name: libsysprof-@API_VERSION@
Description: The sysprof library for integrating profiling into IDEs
Description: The sysprof profiler library
Version: @VERSION@
Libs: -L${libdir} -lsysprof-@API_VERSION@
Cflags: -I${includedir}/sysprof-@API_VERSION@
Requires: gio-2.0 gtk+-3.0
Requires: gio-2.0