summaryrefslogtreecommitdiff
path: root/lib/tevent/tevent.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-05-16 14:56:37 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-05-16 14:56:37 +0200
commit5065cf70f8bf41193d6d33413f2285f62bba0502 (patch)
tree8503c02e92f1ed783bcb728b05bd66798f75d651 /lib/tevent/tevent.mk
parent857c3f8322005efd460c2f516a9486a2de059e9f (diff)
downloadsamba-5065cf70f8bf41193d6d33413f2285f62bba0502.tar.gz
samba-5065cf70f8bf41193d6d33413f2285f62bba0502.tar.bz2
samba-5065cf70f8bf41193d6d33413f2285f62bba0502.zip
tevent: Remove python module.
This module didn't have any functionality that we actually used yet, and it was quite small. Tevent is quite low level and perhaps doesn't make much sense to expose directly as a Python module. It was also causing build problems when used with a system-tevent. We can always back later if necessary.
Diffstat (limited to 'lib/tevent/tevent.mk')
-rw-r--r--lib/tevent/tevent.mk20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/tevent/tevent.mk b/lib/tevent/tevent.mk
index ff01bd9808..82cc4a0860 100644
--- a/lib/tevent/tevent.mk
+++ b/lib/tevent/tevent.mk
@@ -33,23 +33,3 @@ install:: all installdirs installheaders installlibs $(PYTHON_INSTALL_TARGET)
clean::
rm -f $(TEVENT_SOBASE) $(TEVENT_SONAME) $(TEVENT_SOLIB) $(TEVENT_STLIB)
rm -f tevent.pc
- rm -f tevent.$(SHLIBEXT)
-
-#python stuff
-
-check-python:: build-python
- $(LIB_PATH_VAR)=. PYTHONPATH=".:$(teventdir)" $(PYTHON) $(teventdir)/tests.py
-
-build-python:: tevent.$(SHLIBEXT)
-
-pytevent.o: $(teventdir)/pytevent.c
- $(CC) $(PICFLAG) -c $(teventdir)/pytevent.c $(CFLAGS) `$(PYTHON_CONFIG) --cflags`
-
-tevent.$(SHLIBEXT): $(TEVENT_SOBASE) $(TEVENT_SONAME) pytevent.o
- $(SHLD) $(SHLD_FLAGS) -o $@ pytevent.o -L. -ltevent `$(PYTHON_CONFIG) --libs`
-
-install-python:: build-python
- mkdir -p $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(0, prefix='$(prefix)')"` \
- $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1, prefix='$(prefix)')"`
- cp tevent.$(SHLIBEXT) $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1, prefix='$(prefix)')"`
-