summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-05-14 14:24:34 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-05-14 14:24:34 +0200
commit0ff825e0e6fe5fc7238e3964d24779a07cb53518 (patch)
tree7b47a9fe58a09e12ed99fdfacc84fff198ce5ce1 /tools
parent29ae5ac36d4ffc520232ff393b2455130ec0227e (diff)
Split miav server and client apart. Port client to Qt4. Replace libraw1994 with libiec61883. Add unit tests for multiplexer and fix some bugs in it.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/MocList9
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/MocList b/tools/MocList
index b69f49f..369ece4 100755
--- a/tools/MocList
+++ b/tools/MocList
@@ -1,11 +1,10 @@
# -*- mode: shell-script; sh-shell: bash; sh-indentation: 2 -*-
-if grep "#define USE_GUI" ../config.h > /dev/null ; then
- if [ "$1" = "cc" ]; then
+if [ "$1" = "cc" ]; then
grep "Q_OBJECT" *.h | cut -d: -f1 | sed -e 's/^//g;s/\.h/\.moc.cc/g'| xargs echo;
- elif [ "$1" = "o" ]; then
+elif [ "$1" = "o" ]; then
grep "Q_OBJECT" *.h | cut -d: -f1 | sed -e 's/^//g;s/\.h/\.moc.o/g'| xargs echo;
- elif [ "$1" = "h" ]; then
+elif [ "$1" = "h" ]; then
grep "Q_OBJECT" *.h | cut -d: -f1 | cut -d'/' -f3 | xargs echo;
- fi
fi
+