build: be a bit more flexible with configuration options

It would be nice if we can be a bit more flexible with where the
sysprof-cli tool can run. Lets try to break out the system checks a
bit more.
This commit is contained in:
Christian Hergert
2016-04-14 00:59:28 -07:00
parent f4df6616c6
commit 5d25b8a242
5 changed files with 92 additions and 42 deletions

View File

@ -3,7 +3,9 @@ if ENABLE_GTK
bin_PROGRAMS = sysprof
sysprof_CFLAGS = \
$(SYSPROF_UI_CFLAGS) \
$(GIO_CFLAGS) \
$(GTK_CFLAGS) \
$(POLKIT_CFLAGS) \
-I$(top_srcdir)/lib \
-I$(top_builddir)/lib
@ -23,7 +25,9 @@ nodist_sysprof_SOURCES = \
sp-resources.h
sysprof_LDADD = \
$(SYSPROF_UI_LIBS) \
$(GIO_LIBS) \
$(GTK_LIBS) \
$(POLKIT_LIBS) \
$(top_builddir)/lib/libsysprof-@API_VERSION@.la \
$(top_builddir)/lib/libsysprof-ui-@API_VERSION@.la \
$(NULL)