-rw-r--r-- | noncore/net/wellenreiter/README | 4 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/hexwindow.cpp | 13 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/hexwindow.h | 6 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/logwindow.cpp | 15 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/statwindow.cpp | 36 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/statwindow.h | 11 | ||||
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 18 | ||||
-rwxr-xr-x | noncore/net/wellenreiter/makedist.sh | 2 |
8 files changed, 47 insertions, 58 deletions
diff --git a/noncore/net/wellenreiter/README b/noncore/net/wellenreiter/README index 291f1fe..ec621b9 100644 --- a/noncore/net/wellenreiter/README +++ b/noncore/net/wellenreiter/README | |||
@@ -1,25 +1,25 @@ | |||
1 | /************************************************************************ | 1 | /************************************************************************ |
2 | /* W e l l e n r e i t e r I I | 2 | /* W e l l e n r e i t e r I I |
3 | /* =============================== | 3 | /* =============================== |
4 | /* | 4 | /* |
5 | /* Version: ALPHA-2-April | 5 | /* Version: April BETA |
6 | /************************************************************************ | 6 | /************************************************************************ |
7 | 7 | ||
8 | ---------------------------------------------------- | 8 | ---------------------------------------------------- |
9 | Release Notes for Opie-ALPHA Version April 2003 | 9 | Release Notes for Opie-Wellenreiter Version BETA April 2003 |
10 | ---------------------------------------------------- | 10 | ---------------------------------------------------- |
11 | 11 | ||
12 | ===================== | 12 | ===================== |
13 | = Supported Devices | 13 | = Supported Devices |
14 | ===================== | 14 | ===================== |
15 | 15 | ||
16 | - HERMES chipset [ orinoco or hostap ], e.g. Lucent/Agere cards, ... | 16 | - HERMES chipset [ orinoco or hostap ], e.g. Lucent/Agere cards, ... |
17 | - PRISM2 chipset [ orinoco or hostap ], e.g. D-Link, Buffallo, ... | 17 | - PRISM2 chipset [ orinoco or hostap ], e.g. D-Link, Buffallo, ... |
18 | - SYMBOL/SPECTRUM chipset [ orinoco ], e.g. Symbol Spectrum 24, Socket Lowpower CF, ... | 18 | - SYMBOL/SPECTRUM chipset [ orinoco ], e.g. Symbol Spectrum 24, Socket Lowpower CF, ... |
19 | - CISCO chipset | 19 | - CISCO chipset |
20 | - wlan-ng supported chipsets | 20 | - wlan-ng supported chipsets |
21 | 21 | ||
22 | ===================== | 22 | ===================== |
23 | = Build | 23 | = Build |
24 | ===================== | 24 | ===================== |
25 | 25 | ||
diff --git a/noncore/net/wellenreiter/gui/hexwindow.cpp b/noncore/net/wellenreiter/gui/hexwindow.cpp index 8b17285..2f011ca 100644 --- a/noncore/net/wellenreiter/gui/hexwindow.cpp +++ b/noncore/net/wellenreiter/gui/hexwindow.cpp | |||
@@ -8,38 +8,37 @@ | |||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | **********************************************************************/ | 14 | **********************************************************************/ |
15 | 15 | ||
16 | #include "hexwindow.h" | 16 | #include "hexwindow.h" |
17 | #include <qmultilineedit.h> | 17 | #include <qmultilineedit.h> |
18 | 18 | ||
19 | MHexWindow::MHexWindow( QWidget * parent, const char * name, WFlags f ) | 19 | MHexWindow::MHexWindow( QWidget * parent, const char * name, WFlags f ) |
20 | :QVBox( parent, name, f ) | 20 | :QVBox( parent, name, f ) |
21 | { | 21 | { |
22 | ledit = new QMultiLineEdit( this ); | 22 | ledit = new QMultiLineEdit( this ); |
23 | ledit->setFont( QFont( "fixed", 10 ) ); | 23 | ledit->setFont( QFont( "fixed", 10 ) ); |
24 | 24 | ledit->setReadOnly( true ); | |
25 | // FIXME: Set properties( font, read-only, etc...) | ||
26 | |||
27 | }; | 25 | }; |
28 | 26 | ||
29 | void MHexWindow::log( QString text ) | 27 | void MHexWindow::log( const QString& text ) |
30 | { | 28 | { |
31 | 29 | int col; | |
32 | ledit->append( text ); | 30 | int row; |
33 | 31 | ledit->getCursorPosition( &col, &row ); | |
32 | ledit->insertAt( text, col, row ); | ||
34 | }; | 33 | }; |
35 | 34 | ||
36 | const QString MHexWindow::getLog() const | 35 | const QString MHexWindow::getLog() const |
37 | { | 36 | { |
38 | return ledit->text(); | 37 | return ledit->text(); |
39 | } | 38 | } |
40 | 39 | ||
41 | void MHexWindow::clear() | 40 | void MHexWindow::clear() |
42 | { | 41 | { |
43 | ledit->clear(); | 42 | ledit->clear(); |
44 | } | 43 | } |
45 | 44 | ||
diff --git a/noncore/net/wellenreiter/gui/hexwindow.h b/noncore/net/wellenreiter/gui/hexwindow.h index f2f870c..3d4ec0f 100644 --- a/noncore/net/wellenreiter/gui/hexwindow.h +++ b/noncore/net/wellenreiter/gui/hexwindow.h | |||
@@ -13,28 +13,28 @@ | |||
13 | ** | 13 | ** |
14 | **********************************************************************/ | 14 | **********************************************************************/ |
15 | 15 | ||
16 | #ifndef HEXWINDOW_H | 16 | #ifndef HEXWINDOW_H |
17 | #define HEXWINDOW_H | 17 | #define HEXWINDOW_H |
18 | 18 | ||
19 | #include <qvbox.h> | 19 | #include <qvbox.h> |
20 | 20 | ||
21 | class QString; | 21 | class QString; |
22 | class QMultiLineEdit; | 22 | class QMultiLineEdit; |
23 | 23 | ||
24 | class MHexWindow: public QVBox | 24 | class MHexWindow: public QVBox |
25 | { | 25 | { |
26 | 26 | ||
27 | public: | 27 | public: |
28 | MHexWindow( QWidget * parent = 0, const char * name = "MHexWindow", WFlags f = 0 ); | 28 | MHexWindow( QWidget * parent = 0, const char * name = "MHexWindow", WFlags f = 0 ); |
29 | 29 | ||
30 | void log( QString text ); | 30 | void log( const QString& text ); |
31 | const QString getLog() const; | 31 | const QString getLog() const; |
32 | void clear(); | 32 | void clear(); |
33 | 33 | ||
34 | protected: | 34 | protected: |
35 | QMultiLineEdit* ledit; | 35 | QMultiLineEdit* ledit; |
36 | 36 | ||
37 | }; | 37 | }; |
38 | 38 | ||
39 | #endif | 39 | #endif |
40 | 40 | ||
diff --git a/noncore/net/wellenreiter/gui/logwindow.cpp b/noncore/net/wellenreiter/gui/logwindow.cpp index 55e2ccb..12f74fd 100644 --- a/noncore/net/wellenreiter/gui/logwindow.cpp +++ b/noncore/net/wellenreiter/gui/logwindow.cpp | |||
@@ -8,40 +8,43 @@ | |||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | **********************************************************************/ | 14 | **********************************************************************/ |
15 | 15 | ||
16 | #include "logwindow.h" | 16 | #include "logwindow.h" |
17 | #include <qmultilineedit.h> | 17 | #include <qmultilineedit.h> |
18 | #include <qdatetime.h> | 18 | #include <qdatetime.h> |
19 | 19 | ||
20 | MLogWindow::MLogWindow( QWidget * parent, const char * name, WFlags f ) | 20 | MLogWindow::MLogWindow( QWidget * parent, const char * name, WFlags f ) |
21 | :QVBox( parent, name, f ) | 21 | :QVBox( parent, name, f ) |
22 | { | 22 | { |
23 | ledit = new QMultiLineEdit( this ); | 23 | ledit = new QMultiLineEdit( this ); |
24 | 24 | ledit->setReadOnly( true ); | |
25 | // FIXME: Set properties( font, read-only, etc...) | ||
26 | |||
27 | } | 25 | } |
28 | 26 | ||
27 | |||
29 | void MLogWindow::log( QString text ) | 28 | void MLogWindow::log( QString text ) |
30 | { | 29 | { |
31 | QTime time = QTime::currentTime(); | 30 | QTime time = QTime::currentTime(); |
32 | QString line; | 31 | QString line; |
33 | line.sprintf( "[%s] %s", (const char*) time.toString(), (const char*) text ); | 32 | line.sprintf( "[%s] %s\n", (const char*) time.toString(), (const char*) text ); |
34 | ledit->append( line ); | 33 | int col; |
34 | int row; | ||
35 | ledit->getCursorPosition( &col, &row ); | ||
36 | ledit->insertAt( line, col, row ); | ||
35 | qDebug( line ); | 37 | qDebug( line ); |
36 | |||
37 | } | 38 | } |
38 | 39 | ||
40 | |||
39 | void MLogWindow::clear() | 41 | void MLogWindow::clear() |
40 | { | 42 | { |
41 | ledit->clear(); | 43 | ledit->clear(); |
42 | } | 44 | } |
43 | 45 | ||
46 | |||
44 | const QString MLogWindow::getLog() const | 47 | const QString MLogWindow::getLog() const |
45 | { | 48 | { |
46 | return ledit->text(); | 49 | return ledit->text(); |
47 | } | 50 | } |
diff --git a/noncore/net/wellenreiter/gui/statwindow.cpp b/noncore/net/wellenreiter/gui/statwindow.cpp index 07d34ef..2c8c774 100644 --- a/noncore/net/wellenreiter/gui/statwindow.cpp +++ b/noncore/net/wellenreiter/gui/statwindow.cpp | |||
@@ -1,45 +1,43 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved. | 2 | ** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Opie Environment. | 4 | ** This file is part of Opie Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | **********************************************************************/ | 14 | **********************************************************************/ |
15 | 15 | ||
16 | #include "statwindow.h" | 16 | #include "statwindow.h" |
17 | #include <qmultilineedit.h> | 17 | #include <opie2/olistview.h> |
18 | 18 | ||
19 | MStatWindow::MStatWindow( QWidget * parent, const char * name, WFlags f ) | 19 | MStatWindow::MStatWindow( QWidget * parent, const char * name, WFlags f ) |
20 | :QVBox( parent, name, f ) | 20 | :QVBox( parent, name, f ) |
21 | { | 21 | { |
22 | ledit = new QMultiLineEdit( this ); | 22 | table = new OListView( this ); |
23 | ledit->setFont( QFont( "fixed", 10 ) ); | 23 | table->addColumn( "Protocol" ); |
24 | 24 | table->addColumn( "Count" ); | |
25 | // FIXME: Set properties( font, read-only, etc...) | 25 | table->setItemMargin( 2 ); |
26 | |||
27 | }; | 26 | }; |
28 | 27 | ||
29 | void MStatWindow::log( QString text ) | ||
30 | { | ||
31 | |||
32 | ledit->append( text ); | ||
33 | |||
34 | }; | ||
35 | |||
36 | const QString MStatWindow::getLog() const | ||
37 | { | ||
38 | return ledit->text(); | ||
39 | } | ||
40 | 28 | ||
41 | void MStatWindow::clear() | 29 | void MStatWindow::updateCounter( const QString& protocol, int counter ) |
42 | { | 30 | { |
43 | ledit->clear(); | 31 | QListViewItemIterator it( table ); |
32 | for ( ; it.current(); ++it ) | ||
33 | { | ||
34 | if ( it.current()->text( 0 ) == protocol ) | ||
35 | { | ||
36 | it.current()->setText( 1, QString::number( counter ) ); | ||
37 | return; | ||
38 | } | ||
39 | } | ||
40 | |||
41 | new OListViewItem( table, protocol, QString::number( counter ) ); | ||
44 | } | 42 | } |
45 | 43 | ||
diff --git a/noncore/net/wellenreiter/gui/statwindow.h b/noncore/net/wellenreiter/gui/statwindow.h index bbdf777..0ab4b50 100644 --- a/noncore/net/wellenreiter/gui/statwindow.h +++ b/noncore/net/wellenreiter/gui/statwindow.h | |||
@@ -6,35 +6,38 @@ | |||
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | **********************************************************************/ | 14 | **********************************************************************/ |
15 | 15 | ||
16 | #ifndef STATWINDOW_H | 16 | #ifndef STATWINDOW_H |
17 | #define STATWINDOW_H | 17 | #define STATWINDOW_H |
18 | 18 | ||
19 | #include <qvbox.h> | 19 | #include <qvbox.h> |
20 | 20 | ||
21 | class QString; | 21 | class QString; |
22 | class QMultiLineEdit; | 22 | class OListView; |
23 | 23 | ||
24 | class MStatWindow: public QVBox | 24 | class MStatWindow: public QVBox |
25 | { | 25 | { |
26 | Q_OBJECT | ||
26 | 27 | ||
27 | public: | 28 | public: |
28 | MStatWindow( QWidget * parent = 0, const char * name = "MStatWindow", WFlags f = 0 ); | 29 | MStatWindow( QWidget * parent = 0, const char * name = "MStatWindow", WFlags f = 0 ); |
29 | 30 | ||
30 | void log( QString text ); | 31 | void log( QString text ); |
31 | const QString getLog() const; | 32 | const QString getLog() const; |
32 | void clear(); | 33 | void clear(); |
33 | 34 | ||
35 | void updateCounter( const QString&, int ); | ||
36 | |||
34 | protected: | 37 | protected: |
35 | QMultiLineEdit* ledit; | 38 | OListView* table; |
36 | 39 | ||
37 | }; | 40 | }; |
38 | 41 | ||
39 | #endif | 42 | #endif |
40 | 43 | ||
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index 0105e09..5ec9ee4 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp | |||
@@ -19,32 +19,33 @@ | |||
19 | #include <opie/odevice.h> | 19 | #include <opie/odevice.h> |
20 | using namespace Opie; | 20 | using namespace Opie; |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | #ifdef QWS | 23 | #ifdef QWS |
24 | #include <opie2/oapplication.h> | 24 | #include <opie2/oapplication.h> |
25 | #else | 25 | #else |
26 | #include <qapplication.h> | 26 | #include <qapplication.h> |
27 | #endif | 27 | #endif |
28 | #include <opie2/onetwork.h> | 28 | #include <opie2/onetwork.h> |
29 | #include <opie2/opcap.h> | 29 | #include <opie2/opcap.h> |
30 | 30 | ||
31 | // Qt | 31 | // Qt |
32 | 32 | ||
33 | #include <qcheckbox.h> | 33 | #include <qcheckbox.h> |
34 | #include <qcombobox.h> | 34 | #include <qcombobox.h> |
35 | #include <qdatetime.h> | ||
35 | #include <qpushbutton.h> | 36 | #include <qpushbutton.h> |
36 | #include <qlineedit.h> | 37 | #include <qlineedit.h> |
37 | #include <qmessagebox.h> | 38 | #include <qmessagebox.h> |
38 | #include <qregexp.h> | 39 | #include <qregexp.h> |
39 | #include <qspinbox.h> | 40 | #include <qspinbox.h> |
40 | #include <qtoolbutton.h> | 41 | #include <qtoolbutton.h> |
41 | #include <qmainwindow.h> | 42 | #include <qmainwindow.h> |
42 | 43 | ||
43 | // Standard | 44 | // Standard |
44 | 45 | ||
45 | #include <assert.h> | 46 | #include <assert.h> |
46 | #include <errno.h> | 47 | #include <errno.h> |
47 | #include <unistd.h> | 48 | #include <unistd.h> |
48 | #include <string.h> | 49 | #include <string.h> |
49 | #include <sys/types.h> | 50 | #include <sys/types.h> |
50 | #include <stdlib.h> | 51 | #include <stdlib.h> |
@@ -244,49 +245,34 @@ void Wellenreiter::stopClicked() | |||
244 | iface->setPromiscuousMode( false ); | 245 | iface->setPromiscuousMode( false ); |
245 | 246 | ||
246 | system( "cardctl reset; sleep 1" ); //FIXME: Use OProcess | 247 | system( "cardctl reset; sleep 1" ); //FIXME: Use OProcess |
247 | } | 248 | } |
248 | 249 | ||
249 | logwindow->log( "(i) Stopped Scanning." ); | 250 | logwindow->log( "(i) Stopped Scanning." ); |
250 | assert( parent() ); | 251 | assert( parent() ); |
251 | ( (QMainWindow*) parent() )->setCaption( "Wellenreiter II" ); | 252 | ( (QMainWindow*) parent() )->setCaption( "Wellenreiter II" ); |
252 | 253 | ||
253 | // message the user | 254 | // message the user |
254 | QMessageBox::information( this, "Wellenreiter II", "Your wireless card\nshould now be usable again." ); | 255 | QMessageBox::information( this, "Wellenreiter II", "Your wireless card\nshould now be usable again." ); |
255 | 256 | ||
256 | sniffing = false; | 257 | sniffing = false; |
257 | emit( stoppedSniffing() ); | 258 | emit( stoppedSniffing() ); |
258 | 259 | ||
259 | // print out statistics | 260 | // print out statistics |
260 | statwindow->log( "-----------------------------------------" ); | ||
261 | statwindow->log( "- Wellenreiter II Capturing Statistic -" ); | ||
262 | statwindow->log( "-----------------------------------------" ); | ||
263 | statwindow->log( "Packet Type | Receive Count" ); | ||
264 | |||
265 | for( QMap<QString,int>::ConstIterator it = pcap->statistics().begin(); it != pcap->statistics().end(); ++it ) | 261 | for( QMap<QString,int>::ConstIterator it = pcap->statistics().begin(); it != pcap->statistics().end(); ++it ) |
266 | { | 262 | statwindow->updateCounter( it.key(), it.data() ); |
267 | QString left; | ||
268 | left.sprintf( "%s", (const char*) it.key() ); | ||
269 | left = left.leftJustify( 20 ); | ||
270 | left.append( '|' ); | ||
271 | QString right; | ||
272 | right.sprintf( "%d", it.data() ); | ||
273 | right = right.rightJustify( 7 ); | ||
274 | statwindow->log( left + right ); | ||
275 | } | ||
276 | |||
277 | } | 263 | } |
278 | 264 | ||
279 | 265 | ||
280 | void Wellenreiter::startClicked() | 266 | void Wellenreiter::startClicked() |
281 | { | 267 | { |
282 | // get configuration from config window | 268 | // get configuration from config window |
283 | 269 | ||
284 | const QString& interface = configwindow->interfaceName->currentText(); | 270 | const QString& interface = configwindow->interfaceName->currentText(); |
285 | const int cardtype = configwindow->daemonDeviceType(); | 271 | const int cardtype = configwindow->daemonDeviceType(); |
286 | const int interval = configwindow->daemonHopInterval(); | 272 | const int interval = configwindow->daemonHopInterval(); |
287 | 273 | ||
288 | if ( ( interface == "" ) || ( cardtype == 0 ) ) | 274 | if ( ( interface == "" ) || ( cardtype == 0 ) ) |
289 | { | 275 | { |
290 | QMessageBox::information( this, "Wellenreiter II", "Your device is not\nproperly configured. Please reconfigure!" ); | 276 | QMessageBox::information( this, "Wellenreiter II", "Your device is not\nproperly configured. Please reconfigure!" ); |
291 | return; | 277 | return; |
292 | } | 278 | } |
diff --git a/noncore/net/wellenreiter/makedist.sh b/noncore/net/wellenreiter/makedist.sh index 1795ae5..cfb0b16 100755 --- a/noncore/net/wellenreiter/makedist.sh +++ b/noncore/net/wellenreiter/makedist.sh | |||
@@ -1,17 +1,17 @@ | |||
1 | VERSION=2-alpha2 | 1 | VERSION=2-beta |
2 | 2 | ||
3 | TGZDIR=$PWD | 3 | TGZDIR=$PWD |
4 | 4 | ||
5 | # script to make a .tgz distributable for the Wellenreiter X11 Standalone Version | 5 | # script to make a .tgz distributable for the Wellenreiter X11 Standalone Version |
6 | 6 | ||
7 | find . -name "*.o"|xargs rm -f | 7 | find . -name "*.o"|xargs rm -f |
8 | find . -name "Makefile"|xargs rm -f | 8 | find . -name "Makefile"|xargs rm -f |
9 | find . -name "*moc*"|xargs rm -f | 9 | find . -name "*moc*"|xargs rm -f |
10 | #TMPFILE=`mktemp -d -q /tmp/build.XXXXXX` | 10 | #TMPFILE=`mktemp -d -q /tmp/build.XXXXXX` |
11 | TMPFILE=/tmp/build | 11 | TMPFILE=/tmp/build |
12 | #if [ $? -ne 0 ]; then | 12 | #if [ $? -ne 0 ]; then |
13 | # echo "$0: Can't create temp file, exiting..." | 13 | # echo "$0: Can't create temp file, exiting..." |
14 | # exit 1 | 14 | # exit 1 |
15 | #fi | 15 | #fi |
16 | 16 | ||
17 | TMPDIR=$TMPFILE/wellenreiter$VERSION | 17 | TMPDIR=$TMPFILE/wellenreiter$VERSION |