t40_utf7.py t40_utf8.py t50_methods.py t90_bigauto.py
EXTRA_DIST = NOTES Recode.c Recode.pyx pytest common.py $(SUITE)
-CLEANFILES = Recode.so
+CLEANFILES = Recode@shlibext@
PYTHON = python
-check-local: Recode.so
- export LD_LIBRARY_PATH=$(top_srcdir)/src/.libs && \
+check-local: Recode@shlibext@
+ export LD_LIBRARY_PATH=$(top_srcdir)/src/@objdir@ && \
RECODE=$(top_builddir)/src/recode PYTHONPATH=.:$(srcdir) \
$(PYTHON) $(srcdir)/pytest $(LIMIT) $(srcdir)/t*.py
-Recode.so: Recode.c setup.py
- rm -f *.so
+Recode@shlibext@: Recode.c setup.py
+ rm -f *@shlibext@
$(PYTHON) setup.py build_ext --inplace
rm -fr build