1 ovsdbmonitor_pyfiles = \
2 ovsdb/ovsdbmonitor/OVEApp.py \
3 ovsdb/ovsdbmonitor/OVECommonWindow.py \
4 ovsdb/ovsdbmonitor/OVEConfig.py \
5 ovsdb/ovsdbmonitor/OVEConfigWindow.py \
6 ovsdb/ovsdbmonitor/OVEFetch.py \
7 ovsdb/ovsdbmonitor/OVEFlowWindow.py \
8 ovsdb/ovsdbmonitor/OVEHostWindow.py \
9 ovsdb/ovsdbmonitor/OVELogWindow.py \
10 ovsdb/ovsdbmonitor/OVELogger.py \
11 ovsdb/ovsdbmonitor/OVEMainWindow.py \
12 ovsdb/ovsdbmonitor/OVEStandard.py \
13 ovsdb/ovsdbmonitor/OVEUtil.py \
14 ovsdb/ovsdbmonitor/Ui_ConfigWindow.py \
15 ovsdb/ovsdbmonitor/Ui_FlowWindow.py \
16 ovsdb/ovsdbmonitor/Ui_HostWindow.py \
17 ovsdb/ovsdbmonitor/Ui_LogWindow.py \
18 ovsdb/ovsdbmonitor/Ui_MainWindow.py \
19 ovsdb/ovsdbmonitor/qt4reactor.py
21 $(ovsdbmonitor_pyfiles) \
22 ovsdb/ovsdbmonitor/COPYING \
23 ovsdb/ovsdbmonitor/ConfigWindow.ui \
24 ovsdb/ovsdbmonitor/FlowWindow.ui \
25 ovsdb/ovsdbmonitor/HostWindow.ui \
26 ovsdb/ovsdbmonitor/LogWindow.ui \
27 ovsdb/ovsdbmonitor/MainWindow.ui \
28 ovsdb/ovsdbmonitor/ovsdbmonitor.in
30 ovsdbmonitordir = ${pkgdatadir}/ovsdbmonitor
32 noinst_SCRIPTS += ovsdb/ovsdbmonitor/ovsdbmonitor
33 ovsdbmonitor_DATA = $(ovsdbmonitor_pyfiles)
35 sed -e '/NOINSTALL/d' < ovsdb/ovsdbmonitor/ovsdbmonitor > ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
36 chmod +x ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
37 $(INSTALL_PROGRAM) ovsdb/ovsdbmonitor/ovsdbmonitor.tmp $(DESTDIR)$(bindir)/ovsdbmonitor
38 rm ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
40 ovsdb/ovsdbmonitor/ovsdbmonitor \
41 ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
44 uninstall-local: ovsdbmonitor-uninstall-local
45 ovsdbmonitor-uninstall-local:
46 rm -f $(DESTDIR)$(bindir)/ovsdbmonitor
50 $(PYUIC4) $< | sed 's/from PyQt4 import QtCore, QtGui/\
52 from OVEStandard import globalForcePySide\
53 if globalForcePySide:\
55 from PyQt4 import QtCore, QtGui\
57 from PySide import QtCore, QtGui/' > $@