extra : convert_revision : svn%3Aeebe1cee-a9af-4fe4-bd26-ad572b19c5ab/trunk%4061
This commit is contained in:
mathias 2006-12-16 09:45:49 +00:00
parent 7ff31ef752
commit a4b41f5458
3 changed files with 5 additions and 3 deletions

View file

@ -55,6 +55,7 @@ alock_options.AddOptions(
BoolOption('amd5', 'build a little md5-helper', 0), BoolOption('amd5', 'build a little md5-helper', 0),
BoolOption('asha1', 'build a little sha1-helper', 0), BoolOption('asha1', 'build a little sha1-helper', 0),
BoolOption('asha2', 'build a little sha2-helper', 0), BoolOption('asha2', 'build a little sha2-helper', 0),
BoolOption('awpool', 'build a little whirlpool-helper', 0),
PathOption('PREFIX', 'install-path base', '/usr/local'), PathOption('PREFIX', 'install-path base', '/usr/local'),
PathOption('DESTDIR', 'install to $DESTDIR/$PREFIX', '/') PathOption('DESTDIR', 'install to $DESTDIR/$PREFIX', '/')
@ -196,6 +197,9 @@ if alock_env['asha1']:
if alock_env['asha2']: if alock_env['asha2']:
default_targets += [ 'src/asha2' ] default_targets += [ 'src/asha2' ]
if alock_env['awpool']:
default_targets += [ 'src/awpool' ]
Default(default_targets) Default(default_targets)
alock_options.Save('scons.opts', alock_env) alock_options.Save('scons.opts', alock_env)

View file

@ -18,7 +18,7 @@ build = alock_env.Copy()
if build['passwd']: if build['passwd']:
auth_sources += [ 'auth_passwd.c' ] auth_sources += [ 'auth_passwd.c' ]
if build['hash']: if build['hash']:
auth_sources += [ 'auth_md5.c', 'auth_sha1.c', 'auth_sha2.c', 'auth_wpool' ] auth_sources += [ 'auth_md5.c', 'auth_sha1.c', 'auth_sha2.c', 'auth_wpool.c' ]
if build['pam']: if build['pam']:
auth_sources += [ 'auth_pam.c' ] auth_sources += [ 'auth_pam.c' ]

View file

@ -1,5 +1,3 @@
/* ---------------------------------------------------------------- *\ /* ---------------------------------------------------------------- *\
file : alock.c file : alock.c