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

@ -2,18 +2,18 @@ bin_PROGRAMS = sysprof-cli
noinst_PROGRAMS = sysprof-dump
AM_CPPFLAGS = \
$(SYSPROF_CFLAGS) \
$(GIO_CFLAGS) \
-I$(top_srcdir)/lib \
-I$(top_builddir)/lib
sysprof_cli_SOURCES = sysprof-cli.c
sysprof_cli_LDADD = \
$(SYSPROF_LIBS) \
$(GIO_LIBS) \
$(top_builddir)/lib/libsysprof-@API_VERSION@.la
sysprof_dump_SOURCES = sysprof-dump.c
sysprof_dump_LDADD = \
$(SYSPROF_LIBS) \
$(GIO_LIBS) \
$(top_builddir)/lib/libsysprof-@API_VERSION@.la
-include $(top_srcdir)/git.mk