mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
6c67afeb03
With swig we now have C files that are generated with tools that are not under our control, so provide an escape hatch for them.
13 lines
448 B
Makefile
13 lines
448 B
Makefile
#!/usr/bin/make
|
|
|
|
LIBHSMD_PY_GEN_FILES := contrib/libhsmd_python/swig_wrap.c \
|
|
contrib/libhsmd_python/libhsmd.py
|
|
|
|
PYTHON_GENERATED += contrib/libhsmd_python/libhsmd.py
|
|
CPPCHECK_OPTS += --suppress=nullPointer:contrib/libhsmd_python/swig_wrap.c
|
|
|
|
# Swig by default generates stubs in the file's directory, which is
|
|
# what we want.
|
|
$(LIBHSMD_PY_GEN_FILES): contrib/libhsmd_python/swig.i $(HSMD_SRC)
|
|
swig -python -builtin contrib/libhsmd_python/swig.i
|