From d004964142b0eac88528bb556228a49742725f4e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 7 Mar 2010 10:26:46 +1100 Subject: build: moved main autoproto rule into samba_autoproto.py --- buildtools/wafsamba/wafsamba.py | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'buildtools/wafsamba/wafsamba.py') diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 015db06fd4..7686a891b2 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -336,22 +336,6 @@ def SAMBA_ERRTABLE(bld, name, source, ) Build.BuildContext.SAMBA_ERRTABLE = SAMBA_ERRTABLE - - - -################################################################ -# build a C prototype file automatically -def AUTOPROTO(bld, header, source): - if header is not None: - bld.SET_BUILD_GROUP('prototypes') - bld( - source = source, - target = header, - rule = '../script/mkproto.pl --srcdir=.. --builddir=. --public=/dev/null --private=${TGT} ${SRC}' - ) -Build.BuildContext.AUTOPROTO = AUTOPROTO - - ################################################################# # define a Samba module. def SAMBA_MODULE(bld, modname, source, -- cgit