Added Plugin Manager Configuration Feature
[platform/upstream/iotivity.git] / service / protocol-plugin / plugins / mqtt-fan / lib / python / Makefile
1 # Set DESTDIR if it isn't given
2 DESTDIR?=/
3
4 .PHONY : all clean install
5
6 ifeq ($(WITH_PYTHON),yes)
7 all : mosquitto.pyc
8 else
9 all :
10 endif
11
12 ifeq ($(WITH_PYTHON),yes)
13 install : all
14         python ./setup.py install --prefix=${prefix} --root=${DESTDIR}
15 else
16 install :
17 endif
18
19 mosquitto.pyc : mosquitto.py
20         python ./setup.py build
21
22 clean :
23         -rm -rf build mosquitto.pyc __pycache__