summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_patterns.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-06 10:49:21 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:40 +1000
commit36e6d11dceb7af9cccdff3c631745427e31b8835 (patch)
treef244f1b9548f9d11c8966f7242cc204b906f3283 /buildtools/wafsamba/samba_patterns.py
parent27090becab1d9bd31ee313a32f0d0b78572f99b2 (diff)
downloadsamba-36e6d11dceb7af9cccdff3c631745427e31b8835.tar.gz
build: add README to explain gen_ndr, and ensure directory exists
Diffstat (limited to 'buildtools/wafsamba/samba_patterns.py')
-rw-r--r--buildtools/wafsamba/samba_patterns.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_patterns.py b/buildtools/wafsamba/samba_patterns.py
index f7068955866..ca19d8d09aa 100644
--- a/buildtools/wafsamba/samba_patterns.py
+++ b/buildtools/wafsamba/samba_patterns.py
@@ -24,11 +24,17 @@ def process_et(self, node):
+# this was my (awful) attempt at a ASN1 rule, i plan on moving it to samba_asn1.py,
+# like I did for the PIDL rules, and conver to a make-like rule
################################################################################
# a asn1 task which calls out to asn1_compile_wrapper.sh to do the work
Task.simple_task_type('asn1',
'''
+# this is the rule for now - ie. an embedded shell script!! like
+# I showed you previously, the ASN1 compiler generates weird names,
+# we need to fix the names, and add config.h header
+
# shell script to convert ASN1 to C. This could be separated out if we want to
set -e
compiler=${TGT[0].compiler}