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

@ -1,3 +1,5 @@
if ENABLE_GTK
bin_PROGRAMS = sysprof
sysprof_CFLAGS = \
@ -37,4 +39,6 @@ glib_resources_h = sp-resources.h
glib_resources_namespace = sysprof
include $(top_srcdir)/gresources.mk
endif
-include $(top_srcdir)/git.mk