build: allow disabling the GTK interface with --disable-gtk

For some systems, such as embedded Linux including ARM, we might want to
just compile libsysprof/sysprof-cli without the GTK user interface. This
allows for that. You can copy the capture files to your visualization
host to render the results.
This commit is contained in:
Christian Hergert
2016-04-13 21:32:01 -07:00
parent 61fed5b8f2
commit a8205c7c29
4 changed files with 46 additions and 13 deletions

View File

@ -116,6 +116,8 @@ libsysprof_@API_VERSION@_la_LDFLAGS = \
$(NULL)
if ENABLE_GTK
# This is our GTK library containing the widgets suitable for viewing
# and manipulating the various profiler API in libsysprof. This is
# meant to be used by IDEs and the sysprof gui.
@ -181,5 +183,7 @@ glib_resources_h = sp-resources.h
glib_resources_namespace = sp
include $(top_srcdir)/gresources.mk
endif
-include $(top_srcdir)/git.mk