#include "../Calvin.tmpl"

TOP = ..

/* These will not overwrite a file in the destination directory already */

#if RSA
               SRCS = rsa_keycomp.c rsa_getkeys.c
           RSA_FILE = .reserved
 RSA_MASTER_KEYFILE = rsa_keycap
       RSA_MOTDLIST = rsa_motd

AllTarget(rsa_keycomp)
NormalProgramTarget(rsa_keycomp, rsa_keycomp.o,,,)

AllTarget(rsa_getkeys)
NormalProgramTarget(rsa_getkeys, rsa_getkeys.o,,,)

DependTarget()
InstallProgram(rsa_keycomp, $(NETREK_BIN))
InstallProgram(rsa_getkeys, $(NETREK_BIN))

SaberProgramTarget(rsa_keycomp,rsa_keycomp.c,rsa_keycomp.o,,)

InstallNamedNonExecSafe(rsa_keycap,rsa_keycap,$(NETREK_BIN))
InstallNamedNonExecSafe($(RSA_MOTDLIST),$(RSA_MOTDLIST),$(NETREK_BIN)/motd)
/* InstallScript(rsa_getkeys,$(NETREK_BIN)) */

#else
all:
depend:
#endif
