mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -1,7 +1,7 @@
|
||||
bin_PROGRAMS = sysprof
|
||||
|
||||
sysprof_CFLAGS = \
|
||||
$(SYSPROF_CFLAGS) \
|
||||
$(SYSPROF_UI_CFLAGS) \
|
||||
-I$(top_srcdir)/lib \
|
||||
-I$(top_builddir)/lib
|
||||
|
||||
@ -21,8 +21,10 @@ nodist_sysprof_SOURCES = \
|
||||
sp-resources.h
|
||||
|
||||
sysprof_LDADD = \
|
||||
$(SYSPROF_LIBS) \
|
||||
$(top_builddir)/lib/libsysprof-@API_VERSION@.la
|
||||
$(SYSPROF_UI_LIBS) \
|
||||
$(top_builddir)/lib/libsysprof-@API_VERSION@.la \
|
||||
$(top_builddir)/lib/libsysprof-ui-@API_VERSION@.la \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST =
|
||||
CLEANFILES =
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
#include <errno.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <sysprof.h>
|
||||
#include <sysprof-ui.h>
|
||||
|
||||
#include "sp-application.h"
|
||||
#include "sp-window.h"
|
||||
|
||||
Reference in New Issue
Block a user