summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2002-12-09 14:13:01 (UTC)
committer mickeyl <mickeyl>2002-12-09 14:13:01 (UTC)
commit5202da78533aed8d48f63d764128929423fd6822 (patch) (unidiff)
tree3130722430573994def2dd896163b7a1bd6e8230
parentfffd954b4ea3c124a37cab9af99b248986029436 (diff)
downloadopie-5202da78533aed8d48f63d764128929423fd6822.zip
opie-5202da78533aed8d48f63d764128929423fd6822.tar.gz
opie-5202da78533aed8d48f63d764128929423fd6822.tar.bz2
Wellenreiter is now fully integrated into the Opie build environment.
If you want to play with what we have yet, be sure to add the following to the makefile: * noncore/net/wellenreiter/libwellenreiter * noncore/net/wellenreiter/daemon * noncore/net/wellenreiter/gui Don't add the toplevel noncore/net/wellenreiter, because the Makefile in there is handcrafted.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/Makefile2
-rw-r--r--noncore/net/wellenreiter/Makefile.static28
-rw-r--r--noncore/net/wellenreiter/daemon/.cvsignore3
-rw-r--r--noncore/net/wellenreiter/daemon/daemon.pro8
-rw-r--r--noncore/net/wellenreiter/daemon/source/.cvsignore3
-rw-r--r--noncore/net/wellenreiter/gui/gui.pro2
-rw-r--r--noncore/net/wellenreiter/libwellenreiter/.cvsignore3
-rw-r--r--noncore/net/wellenreiter/libwellenreiter/libwellenreiter.pro8
-rw-r--r--noncore/net/wellenreiter/libwellenreiter/source/.cvsignore3
-rw-r--r--noncore/net/wellenreiter/opie-wellenreiter.control2
10 files changed, 51 insertions, 11 deletions
diff --git a/noncore/net/wellenreiter/Makefile b/noncore/net/wellenreiter/Makefile
index 22b23f4..db085e3 100644
--- a/noncore/net/wellenreiter/Makefile
+++ b/noncore/net/wellenreiter/Makefile
@@ -10,5 +10,5 @@ MAKEFILE= Makefile
10 TMAKE =tmake 10 TMAKE =tmake
11 11
12 SUBDIRS =libwellenreiter/source daemon/source gui 12 SUBDIRS =libwellenreiter daemon gui
13 13
14all: $(SUBDIRS) 14all: $(SUBDIRS)
diff --git a/noncore/net/wellenreiter/Makefile.static b/noncore/net/wellenreiter/Makefile.static
new file mode 100644
index 0000000..22b23f4
--- a/dev/null
+++ b/noncore/net/wellenreiter/Makefile.static
@@ -0,0 +1,28 @@
1# Warning: Handcrafted!
2
3#############################################################################
4# Makefile for building targets in sub directories.
5# Project: wellenreiter
6# Template: subdirs
7#############################################################################
8
9 MAKEFILE=Makefile
10 TMAKE =tmake
11
12 SUBDIRS =libwellenreiter/source daemon/source gui
13
14all: $(SUBDIRS)
15
16$(SUBDIRS): FORCE
17 cd $@; $(MAKE)
18
19tmake:
20 tmake wellenreiter.pro
21
22tmake_all:
23 for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; pro=`basename $$i`.pro ; $(TMAKE) $$pro -o $(MAKEFILE); grep "TEMPLATE.*subdirs" $$pro 2>/dev/null >/dev/null && $(MAKE) -f $(MAKEFILE) tmake_all || true; fi; ) ; done
24
25clean release debug:
26 for i in $(SUBDIRS); do ( if [ -d $$i ]; then cd $$i ; $(MAKE) $@; fi; ) ; done
27
28FORCE:
diff --git a/noncore/net/wellenreiter/daemon/.cvsignore b/noncore/net/wellenreiter/daemon/.cvsignore
new file mode 100644
index 0000000..ed65c71
--- a/dev/null
+++ b/noncore/net/wellenreiter/daemon/.cvsignore
@@ -0,0 +1,3 @@
1*.o
2*~
3moc_*
diff --git a/noncore/net/wellenreiter/daemon/daemon.pro b/noncore/net/wellenreiter/daemon/daemon.pro
index 974c889..92e64c0 100644
--- a/noncore/net/wellenreiter/daemon/daemon.pro
+++ b/noncore/net/wellenreiter/daemon/daemon.pro
@@ -3,9 +3,9 @@ TEMPLATE = app
3CONFIG = warn_on debug 3CONFIG = warn_on debug
4#CONFIG = warn_on release 4#CONFIG = warn_on release
5HEADERS = config.hh daemon.hh 5HEADERS = source/config.hh source/daemon.hh
6SOURCES = daemon.cc 6SOURCES = source/daemon.cc
7INCLUDEPATH += ../../libwellenreiter/source 7INCLUDEPATH += ../../libwellenreiter/source
8DEPENDPATH += $(OPIEDIR)/include ../daemon 8DEPENDPATH += $(OPIEDIR)/include
9LIBS += -lpcap -L../../libwellenreiter/source -lwellenreiter 9LIBS += -lpcap -L$(QTDIR)/lib -lwellenreiter
10INTERFACES = 10INTERFACES =
11TARGET = wellenreiterd 11TARGET = wellenreiterd
diff --git a/noncore/net/wellenreiter/daemon/source/.cvsignore b/noncore/net/wellenreiter/daemon/source/.cvsignore
new file mode 100644
index 0000000..ed65c71
--- a/dev/null
+++ b/noncore/net/wellenreiter/daemon/source/.cvsignore
@@ -0,0 +1,3 @@
1*.o
2*~
3moc_*
diff --git a/noncore/net/wellenreiter/gui/gui.pro b/noncore/net/wellenreiter/gui/gui.pro
index 6b9944d..8f14bc1 100644
--- a/noncore/net/wellenreiter/gui/gui.pro
+++ b/noncore/net/wellenreiter/gui/gui.pro
@@ -7,5 +7,5 @@ SOURCES = main.cpp wellenreiterbase.cpp wellenreiter.cpp scanlistitem.cp
7INCLUDEPATH += $(OPIEDIR)/include ../daemon 7INCLUDEPATH += $(OPIEDIR)/include ../daemon
8DEPENDPATH += $(OPIEDIR)/include ../daemon 8DEPENDPATH += $(OPIEDIR)/include ../daemon
9LIBS += -lqpe -lopie -L../libwellenreiter/source -lwellenreiter 9LIBS += -lqpe -lopie -lwellenreiter
10INTERFACES = wellenreitertemplate.ui 10INTERFACES = wellenreitertemplate.ui
11TARGET = wellenreiter 11TARGET = wellenreiter
diff --git a/noncore/net/wellenreiter/libwellenreiter/.cvsignore b/noncore/net/wellenreiter/libwellenreiter/.cvsignore
new file mode 100644
index 0000000..ed65c71
--- a/dev/null
+++ b/noncore/net/wellenreiter/libwellenreiter/.cvsignore
@@ -0,0 +1,3 @@
1*.o
2*~
3moc_*
diff --git a/noncore/net/wellenreiter/libwellenreiter/libwellenreiter.pro b/noncore/net/wellenreiter/libwellenreiter/libwellenreiter.pro
index 7bb86c3..d7cf0c5 100644
--- a/noncore/net/wellenreiter/libwellenreiter/libwellenreiter.pro
+++ b/noncore/net/wellenreiter/libwellenreiter/libwellenreiter.pro
@@ -2,7 +2,7 @@ TEMPLATE = lib
2CONFIG -= moc 2CONFIG -= moc
3CONFIG += debug 3CONFIG += debug
4 4VERSION = 0.1
5HEADERS = cardmode.hh log.hh proto.hh sniff.hh sock.hh 5HEADERS = source/cardmode.hh source/log.hh source/proto.hh source/sniff.hh source/sock.hh
6SOURCES = cardmode.cc log.cc proto.cc sniff.cc sock.cc 6SOURCES = source/cardmode.cc source/log.cc source/proto.cc source/sniff.cc source/sock.cc
7 7
8#INCLUDEPATH += ../ ../library 8#INCLUDEPATH += ../ ../library
@@ -12,4 +12,4 @@ LIBS =
12TMAKE_CFLAGS += -D__UNIX__ 12TMAKE_CFLAGS += -D__UNIX__
13 13
14DESTDIR = $(OPIEDIR)/noncore/net/wellenreiter/libwellenreiter/source 14DESTDIR = $(QTDIR)/lib
15TARGET = wellenreiter 15TARGET = wellenreiter
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/.cvsignore b/noncore/net/wellenreiter/libwellenreiter/source/.cvsignore
new file mode 100644
index 0000000..ed65c71
--- a/dev/null
+++ b/noncore/net/wellenreiter/libwellenreiter/source/.cvsignore
@@ -0,0 +1,3 @@
1*.o
2*~
3moc_*
diff --git a/noncore/net/wellenreiter/opie-wellenreiter.control b/noncore/net/wellenreiter/opie-wellenreiter.control
index c1cdc6b..81f7f82 100644
--- a/noncore/net/wellenreiter/opie-wellenreiter.control
+++ b/noncore/net/wellenreiter/opie-wellenreiter.control
@@ -1,3 +1,3 @@
1Files: bin/wellenreiter pics/wellenreiter 1Files: bin/wellenreiter bin/wellenreiterd pics/wellenreiter
2Priority: optional 2Priority: optional
3Section: opie/applications 3Section: opie/applications