summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rw-r--r--tool/Makefile.am15
-rw-r--r--tool/secret-tool.c8
2 files changed, 7 insertions, 16 deletions
diff --git a/tool/Makefile.am b/tool/Makefile.am
index 667c88c..422e0d3 100644
--- a/tool/Makefile.am
+++ b/tool/Makefile.am
@@ -1,16 +1,7 @@
-include $(top_srcdir)/Makefile.decl
-
-AM_CPPFLAGS = \
- -I$(top_srcdir) \
- -I$(top_srcdir)/libsecret \
- -DSECRET_COMPILATION \
- -DLOCALEDIR=\""$(datadir)/locale"\" \
- $(NULL)
-
-bin_PROGRAMS = secret-tool
+bin_PROGRAMS += secret-tool
secret_tool_SOURCES = \
- secret-tool.c
+ tool/secret-tool.c
secret_tool_LDADD = \
- $(top_builddir)/libsecret/libsecret-@SECRET_MAJOR@.la
+ libsecret-@SECRET_MAJOR@.la
diff --git a/tool/secret-tool.c b/tool/secret-tool.c
index 0a1350f..14ce14b 100644
--- a/tool/secret-tool.c
+++ b/tool/secret-tool.c
@@ -14,10 +14,10 @@
#include "config.h"
-#include "secret-item.h"
-#include "secret-password.h"
-#include "secret-service.h"
-#include "secret-value.h"
+#include "libsecret/secret-item.h"
+#include "libsecret/secret-password.h"
+#include "libsecret/secret-service.h"
+#include "libsecret/secret-value.h"
#include <glib/gi18n.h>