mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
Only build GUI when the necessary dependencies are found.
Sat Jan 14 18:24:43 2006 Soeren Sandmann <sandmann@redhat.com> * configure.ac, Makefile.am: Only build GUI when the necessary dependencies are found. * sysprof.c (compute_text_width): Remove unused variable * profile.c (build_object_list): Follow next instead of siblings.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
9125c4e644
commit
98308836af
@ -1,7 +1,11 @@
|
||||
SUBDIRS = $(MODULE_SUBDIR)
|
||||
DIST_SUBDIRS = module
|
||||
|
||||
bin_PROGRAMS = sysprof sysprof-text
|
||||
bin_PROGRAMS = sysprof-text
|
||||
|
||||
if BUILD_GUI
|
||||
bin_PROGRAMS += sysprof
|
||||
endif
|
||||
|
||||
SYSPROF_CORE = \
|
||||
binfile.h \
|
||||
@ -23,6 +27,7 @@ SYSPROF_CORE = \
|
||||
#
|
||||
# GUI version
|
||||
#
|
||||
if BUILD_GUI
|
||||
|
||||
sysprof_SOURCES = \
|
||||
$(SYSPROF_CORE) \
|
||||
@ -37,6 +42,8 @@ sysprof_CPPFLAGS = \
|
||||
|
||||
sysprof_LDADD = $(GUI_DEP_LIBS)
|
||||
|
||||
endif
|
||||
|
||||
udevdir = $(sysconfdir)/udev/rules.d
|
||||
dist_udev_DATA = 60-sysprof.rules
|
||||
|
||||
|
||||
Reference in New Issue
Block a user