chiark / gitweb /
Multiple key types, key profiles, and user key storage.
[distorted-keys] / Makefile.am
index 12168f62b8f986bfc2c1ff9dcf9a272c7cc701cb..0cd0854cf089bbc0ab7269e942b37dbd09f7c3a6 100644 (file)
@@ -24,7 +24,9 @@
 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 bin_SCRIPTS             =
+sbin_SCRIPTS            =
 dist_pkglib_SCRIPTS     =
+dist_pkglib_DATA        =
 pkglib_DATA             =
 noinst_SCRIPTS          =
 
@@ -43,6 +45,7 @@ SUBSTVARS = \
        PYTHON="$(PYTHON)" \
        bindir="$(bindir)" \
        pkgconfdir="$(sysconfdir)/$(PACKAGE)" \
+       pkgstatedir="$(localstatedir)/$(PACKAGE)" \
        pkglibdir="$(pkglibdir)"
 
 SUBST = $(AM_V_GEN)$(confsubst)
@@ -58,6 +61,42 @@ shamir: shamir.in Makefile
        $(SUBST) $(srcdir)/shamir.in $(SUBSTVARS) >shamir.new && \
                chmod +x shamir.new && mv shamir.new shamir
 
+## Property expansion.
+bin_SCRIPTS            += extract-profile
+EXTRA_DIST             += extract-profile.in
+CLEANFILES             += extract-profile
+extract-profile: extract-profile.in Makefile
+       $(SUBST) $(srcdir)/extract-profile.in $(SUBSTVARS) \
+                       >extract-profile.new && \
+               chmod +x extract-profile.new && \
+               mv extract-profile.new extract-profile
+
+###--------------------------------------------------------------------------
+### Crypto operations.
+
+## Main driver program.
+sbin_SCRIPTS           += cryptop
+EXTRA_DIST             += cryptop.in
+CLEANFILES             += cryptop
+cryptop: cryptop.in Makefile
+       $(SUBST) $(srcdir)/cryptop.in $(SUBSTVARS) >cryptop.new && \
+               chmod +x cryptop.new && mv cryptop.new cryptop
+
+## Key type libraries.
+dist_pkglib_DATA       += ktype.gnupg
+dist_pkglib_DATA       += ktype.seccure
+
+## Commands.
+dist_pkglib_SCRIPTS    += cryptop.genkey
+dist_pkglib_SCRIPTS    += cryptop.delkey
+dist_pkglib_SCRIPTS    += cryptop.recover
+dist_pkglib_SCRIPTS    += cryptop.info
+dist_pkglib_SCRIPTS    += cryptop.public
+dist_pkglib_SCRIPTS    += cryptop.encrypt
+dist_pkglib_SCRIPTS    += cryptop.decrypt
+dist_pkglib_SCRIPTS    += cryptop.sign
+dist_pkglib_SCRIPTS    += cryptop.verify
+
 ###--------------------------------------------------------------------------
 ### Main driver program and commands.
 
@@ -78,11 +117,12 @@ keyfunc.sh: keyfunc.sh.in Makefile
                mv keyfunc.sh.new keyfunc.sh
 
 ## Commands.
-dist_pkglib_SCRIPTS    += keeper-cards
-dist_pkglib_SCRIPTS    += new-keeper
-dist_pkglib_SCRIPTS    += new-recov
-dist_pkglib_SCRIPTS    += recover
-dist_pkglib_SCRIPTS    += reveal
-dist_pkglib_SCRIPTS    += stash
+dist_pkglib_SCRIPTS    += keys.conceal
+dist_pkglib_SCRIPTS    += keys.keeper-cards
+dist_pkglib_SCRIPTS    += keys.new-keeper
+dist_pkglib_SCRIPTS    += keys.new-recov
+dist_pkglib_SCRIPTS    += keys.recover
+dist_pkglib_SCRIPTS    += keys.reveal
+dist_pkglib_SCRIPTS    += keys.stash
 
 ###----- That's all, folks --------------------------------------------------