diff options
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r-- | tools/Makefile.am | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index fab1bd9..d07eda0 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -18,13 +18,31 @@ bin_PROGRAMS = \ p11_kit_SOURCES = \ list.c \ - save.c save.h \ tool.c tool.h \ $(NULL) +p11_kit_CFLAGS = \ + $(LIBTASN1_CFLAGS) \ + $(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) + +if WITH_ASN1 + +p11_kit_LDADD += \ + $(top_builddir)/common/libp11-data.la \ + $(LIBTASN1_LIBS) + +p11_kit_SOURCES += \ + extract.c extract.h \ + extract-info.c \ + extract-x509.c \ + save.c save.h \ + $(NULL) + +endif # WITH_ASN1 |