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
29 MAN_ROOTS += ovsdb/ovsdbmonitor/ovsdbmonitor.1
31 ovsdbmonitordir = ${pkgdatadir}/ovsdbmonitor
33 noinst_SCRIPTS += ovsdb/ovsdbmonitor/ovsdbmonitor
34 ovsdbmonitor_DATA = $(ovsdbmonitor_pyfiles)
36 sed -e '/NOINSTALL/d' < ovsdb/ovsdbmonitor/ovsdbmonitor > ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
37 chmod +x ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
38 $(INSTALL_PROGRAM) ovsdb/ovsdbmonitor/ovsdbmonitor.tmp $(DESTDIR)$(bindir)/ovsdbmonitor
39 rm ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
41 ovsdb/ovsdbmonitor/ovsdbmonitor \
42 ovsdb/ovsdbmonitor/ovsdbmonitor.tmp
43 man_MANS += ovsdb/ovsdbmonitor/ovsdbmonitor.1
46 UNINSTALL_LOCAL += ovsdbmonitor-uninstall-local
47 ovsdbmonitor-uninstall-local:
48 rm -f $(DESTDIR)$(bindir)/ovsdbmonitor
52 $(PYUIC4) $< | sed 's/from PyQt4 import QtCore, QtGui/\
54 from OVEStandard import globalForcePySide\
55 if globalForcePySide:\
57 from PyQt4 import QtCore, QtGui\
59 from PySide import QtCore, QtGui/' > $@