summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_autoproto.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-02 13:06:35 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:22 +1000
commit31a88f266c5b4e884276f92f3801eec4e1033f8d (patch)
treedbf59a1ced842479b5fa8eab6e52365b10d4fb1a /buildtools/wafsamba/samba_autoproto.py
parent865e478e25e6c9d69915061f6f2211298e730068 (diff)
downloadsamba-31a88f266c5b4e884276f92f3801eec4e1033f8d.tar.gz
samba-31a88f266c5b4e884276f92f3801eec4e1033f8d.tar.bz2
samba-31a88f266c5b4e884276f92f3801eec4e1033f8d.zip
build: nicer display of command type for prototypes and generators
Diffstat (limited to 'buildtools/wafsamba/samba_autoproto.py')
-rw-r--r--buildtools/wafsamba/samba_autoproto.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_autoproto.py b/buildtools/wafsamba/samba_autoproto.py
index ae2eb41a93..5a6460c89a 100644
--- a/buildtools/wafsamba/samba_autoproto.py
+++ b/buildtools/wafsamba/samba_autoproto.py
@@ -8,6 +8,7 @@ def HEIMDAL_AUTOPROTO(bld, header, source, options=None, group='prototypes'):
bld.SET_BUILD_GROUP(group)
if options is None:
options='-q -P comment -o'
+ SET_TARGET_TYPE(bld, header, 'PROTOTYPE')
t = bld(rule='${PERL} ../heimdal/cf/make-proto.pl ${OPTIONS} ${TGT[0].abspath(env)} ${SRC}',
source=source,
target=header,
@@ -27,6 +28,7 @@ Build.BuildContext.HEIMDAL_AUTOPROTO_PRIVATE = HEIMDAL_AUTOPROTO_PRIVATE
def SAMBA_AUTOPROTO(bld, header, source):
'''rule for samba prototype generation'''
bld.SET_BUILD_GROUP('prototypes')
+ SET_TARGET_TYPE(bld, header, 'PROTOTYPE')
bld(
source = source,
target = header,