Skip to content

Commit

Permalink
s4-waf: add the missing bits for builing nss_winbind and pam_winbind
Browse files Browse the repository at this point in the history
This is something that was not picked up during the migration to waf
  • Loading branch information
ekacnet committed Jul 17, 2010
1 parent e461e29 commit dbbfad8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/iniparser/wscript_build
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env python

bld.SAMBA_SUBSYSTEM('LIBINIPARSER',
source='../iniparser_build/iniparser.c ../iniparser_build/dictionary.c ../iniparser_build/strlib.c',
deps='replace',
cflags=''
)
12 changes: 12 additions & 0 deletions nsswitch/wscript_build
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,15 @@ bld.SAMBA_BINARY('wbinfo',
deps='LIBSAMBA-UTIL LIBCLI_AUTH popt POPT_SAMBA LIBWINBIND-CLIENT LIBWBCLIENT tevent UTIL_TEVENT LIBASYNC_REQ UID_WRAPPER'
)

bld.SAMBA_LIBRARY('nsswinbind',
source='../nsswitch/winbind_nss_linux.c',
deps='LIBWINBIND-CLIENT',
realname='libnss_winbind.so',
vnum='2')

bld.SAMBA_LIBRARY('pamwinbind',
source='../nsswitch/pam_winbind.c',
deps='talloc LIBWBCLIENT LIBWINBIND-CLIENT LIBINIPARSER pam',
cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
realname='pam_winbind.so',
)
1 change: 1 addition & 0 deletions source4/wscript_build
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ bld.RECURSE('cluster')
bld.RECURSE('smbd')
bld.RECURSE('libnet')
bld.RECURSE('auth')
bld.RECURSE('../lib/iniparser')
bld.RECURSE('../nsswitch')
bld.RECURSE('../nsswitch/libwbclient')
bld.RECURSE('lib/samba3')
Expand Down

0 comments on commit dbbfad8

Please sign in to comment.