This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
cryptic/bindings/python/Makefile.am

34 lines
1.1 KiB
Makefile

MAINTAINERCLEANFILES = Makefile.in
MOSTLYCLEANFILES = __init__.pyc lang.pyc
if PYTHON_ENABLED
INCLUDES = \
-DPACKAGE=\"@PACKAGE@\" \
-I$(top_builddir) \
-I$(top_srcdir) \
$(SASL_CFLAGS) \
$(CRYPTIC_CFLAGS)
pythondir= $(PY_SITE_PACKAGES)
nodist_python_DATA = cryptic.py
python_LTLIBRARIES = _cryptic.la
nodist__cryptic_la_SOURCES = _cryptic.c
_cryptic_la_CFLAGS = -fno-strict-aliasing $(cryptic_CORE_CFLAGS) $(PY_CFLAGS) $(AM_CFLAGS)
_cryptic_la_LIBADD = $(top_builddir)/cryptic/libcryptic.la $(cryptic_LIBS)
_cryptic_la_LDFLAGS = -no-undefined -module -avoid-version
BUILT_SOURCES = _cryptic.c
_cryptic.c cryptic.py: $(top_srcdir)/cryptic/*/*.h $(top_srcdir)/cryptic/*/*.c $(top_srcdir)/cryptic/*/*/*.h $(top_srcdir)/cryptic/*/*/*.c
EXTRA_DIST=lang.py wrapper_bottom.c wrapper_top.c __init__.py samples.py
cryptic.py _cryptic.c: lang.py wrapper_top.c wrapper_bottom.c ../bindings.py
$(AM_V_GEN) $(PYTHON) $(top_srcdir)/bindings/bindings.py -l python --src-dir=$(top_srcdir)/cryptic/ $(EXTRA_ARGS)
clean-local:
-rm -f cryptic.py cryptic.pyc _cryptic.c Makefile Makefile.in
endif