File: Makefile.in

package info (click to toggle)
cwiid 0.6.00%2Bsvn201-4
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,372 kB
  • sloc: ansic: 7,572; makefile: 280; python: 255; lex: 176; yacc: 73; awk: 16
file content (24 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#Copyright (C) 2007 Justin M. Tulloss

include @top_builddir@/defs.mak

ifdef ROOTDIR
	SET_ROOT_DIR = "--root=$(ROOTDIR)"
endif

all:
	$(PYTHON) setup.py build_ext $(DEBUGFLAGS) -I@top_builddir@/libcwiid -L@top_builddir@/libcwiid -lcwiid

install:
	$(PYTHON) setup.py install --install-lib=${libdir}/python@PYTHON_VERSION@/site-packages $(SET_ROOT_DIR)

uninstall:
	rm -f $(ROOTDIR)${libdir}/python@PYTHON_VERSION@/site-packages/cwiid.so

clean:
	rm -rf build

distclean: clean
	rm Makefile

.PHONY: all install uninstall clean distclean