File: Makefile.am

package info (click to toggle)
opendht 3.0.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,284 kB
  • sloc: cpp: 23,342; python: 2,189; ansic: 2,041; makefile: 207; sh: 72
file content (30 lines) | stat: -rw-r--r-- 611 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
if USE_CYTHON

noinst_HEADERS = \
	opendht.pyx \
	opendht_cpp.pxd \
	pyproject.toml

PYTHON_INSTALL_RECORD = $(builddir)/install_record.txt

pybuild.stamp:
	LDFLAGS="-L$(top_srcdir)/src/.libs" $(PYTHON) setup.py build_ext --inplace
	echo stamp > pybuild.stamp

CLEANFILES = pybuild.stamp

all-local: pybuild.stamp
clean-local:
	rm -rf $(builddir)/build $(builddir)/*.so $(PYTHON_INSTALL_RECORD)

install-exec-local:
	$(PYTHON) setup.py install --root=$(DESTDIR)/ --record $(PYTHON_INSTALL_RECORD)
	rm -rf $(builddir)/build

if HAVE_PIP
uninstall-local:
	/usr/bin/yes | $(PIP) uninstall $(PACKAGE)
endif

endif