From a9790a21302f47016a88ba9a2c904bed11efb388 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 29 Jan 2013 11:43:09 +0100 Subject: Make the p11-kit tool have distinct commands * Change the -l argument into the list-modules command. * Add proper functions for printing usage * Support for external commands in the path or /usr/share/p11-kit --- tools/Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tools/Makefile.am') diff --git a/tools/Makefile.am b/tools/Makefile.am index 44b8432..43adf56 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -6,17 +6,22 @@ INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/common \ -I$(top_srcdir)/p11-kit \ - -DSRCDIR=\"$(srcdir)\" + -DSRCDIR=\"$(srcdir)\" \ + -DPKGDATADIR=\"$(pkgdatadir)\" \ + -DP11_KIT_FUTURE_UNSTABLE_API \ + $(NULL) bin_PROGRAMS = \ p11-kit p11_kit_SOURCES = \ - p11-kit.c \ + list.c \ + tool.c tool.h \ $(NULL) p11_kit_LDADD = \ $(top_builddir)/p11-kit/libp11-kit.la \ + $(top_builddir)/common/libp11-library.la \ $(top_builddir)/common/libp11-compat.la \ $(LTLIBINTL) \ $(NULL) -- cgit v1.1