mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
f9dd026355
object oriented wrappers for the interfaces (still need to fix
the actual function calls)
(This used to be commit bf5da20869
)
31 lines
870 B
Makefile
31 lines
870 B
Makefile
#######################
|
|
# Start LIBRARY swig_dcerpc
|
|
[LIBRARY::swig_dcerpc]
|
|
LIBRARY_REALNAME = _dcerpc.$(SHLIBEXT)
|
|
PUBLIC_DEPENDENCIES = LIBCLI_SMB NDR_MISC LIBSAMBA-UTIL LIBSAMBA-CONFIG RPC_NDR_SAMR RPC_NDR_LSA DYNCONFIG
|
|
OBJ_FILES = dcerpc_wrap.o
|
|
# End LIBRARY swig_dcerpc
|
|
#######################
|
|
|
|
# Swig extensions
|
|
swig: lib/tdb/swig/_tdb.$(SHLIBEXT) lib/ldb/swig/_ldb.$(SHLIBEXT) \
|
|
libcli/swig/_libcli_nbt.$(SHLIBEXT)
|
|
|
|
.SUFFIXES: _wrap.c .i
|
|
|
|
.i_wrap.c:
|
|
swig -I$(srcdir)/scripting/swig -python $<
|
|
|
|
SWIG_INCLUDES = librpc/gen_ndr/samr.i librpc/gen_ndr/lsa.i librpc/gen_ndr/spoolss.i
|
|
|
|
scripting/swig/dcerpc_wrap.c: scripting/swig/dcerpc.i scripting/swig/samba.i scripting/swig/status_codes.i $(SWIG_INCLUDES)
|
|
|
|
clean::
|
|
@echo "Removing SWIG output files"
|
|
@-rm -f scripting/swig/tdb.pyc scripting/swig/tdb.py
|
|
|
|
# Swig testing
|
|
|
|
swigtest: swig
|
|
./script/tests/test_swig.sh
|