author | mickeyl <mickeyl> | 2002-12-08 18:48:34 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-12-08 18:48:34 (UTC) |
commit | f91aa29028f6807312e059229627ec4a8b1191d4 (patch) (unidiff) | |
tree | 8f0db979cb5933ebf49038f28babfdcc1ced5261 | |
parent | 2cb5f8b1fa823787315576cce5e4f61cd152a7ce (diff) | |
download | opie-f91aa29028f6807312e059229627ec4a8b1191d4.zip opie-f91aa29028f6807312e059229627ec4a8b1191d4.tar.gz opie-f91aa29028f6807312e059229627ec4a8b1191d4.tar.bz2 |
- pro-file for future integration of the daemon
- Makefile: wellenreiterd is not .PHONY
-rw-r--r-- | noncore/net/wellenreiter/daemon/daemon.pro | 11 | ||||
-rw-r--r-- | noncore/net/wellenreiter/daemon/source/Makefile | 7 |
2 files changed, 14 insertions, 4 deletions
diff --git a/noncore/net/wellenreiter/daemon/daemon.pro b/noncore/net/wellenreiter/daemon/daemon.pro new file mode 100644 index 0000000..974c889 --- a/dev/null +++ b/noncore/net/wellenreiter/daemon/daemon.pro | |||
@@ -0,0 +1,11 @@ | |||
1 | DESTDIR = $(OPIEDIR)/bin | ||
2 | TEMPLATE = app | ||
3 | CONFIG = warn_on debug | ||
4 | #CONFIG = warn_on release | ||
5 | HEADERS = config.hh daemon.hh | ||
6 | SOURCES = daemon.cc | ||
7 | INCLUDEPATH += ../../libwellenreiter/source | ||
8 | DEPENDPATH += $(OPIEDIR)/include ../daemon | ||
9 | LIBS += -lpcap -L../../libwellenreiter/source -lwellenreiter | ||
10 | INTERFACES = | ||
11 | TARGET = wellenreiterd | ||
diff --git a/noncore/net/wellenreiter/daemon/source/Makefile b/noncore/net/wellenreiter/daemon/source/Makefile index f6efa3d..238dcce 100644 --- a/noncore/net/wellenreiter/daemon/source/Makefile +++ b/noncore/net/wellenreiter/daemon/source/Makefile | |||
@@ -1,28 +1,27 @@ | |||
1 | # $Id$ | 1 | # $Id$ |
2 | 2 | ||
3 | CPP = g++ | 3 | CPP = g++ |
4 | 4 | ||
5 | OPTIMFLAGS= -g | 5 | OPTIMFLAGS= -g |
6 | WARNFLAGS= -Wall -pedantic -DDEBUG | 6 | WARNFLAGS= -Wall -pedantic -DDEBUG |
7 | LDFLAGS = | 7 | LDFLAGS = |
8 | LIBS = -lpcap ../../libwellenreiter/source/libwellenreiter.a | 8 | LIBS = -lpcap ../../libwellenreiter/source/libwellenreiter.a |
9 | OBJ = daemon.o | 9 | OBJ = daemon.o |
10 | 10 | ||
11 | .SUFFIXES: | 11 | .SUFFIXES: |
12 | .PHONY: all wellenreiterd clean distclean realclean | 12 | .PHONY: all clean distclean realclean |
13 | 13 | ||
14 | %.o : %.cc | 14 | %.o : %.cc |
15 | $(CPP) $(WARNFLAGS) $(OPTIMFLAGS) -c $< -o $@ | 15 | $(CPP) $(WARNFLAGS) $(OPTIMFLAGS) -c $< -o $@ |
16 | 16 | ||
17 | all:wellenreiterd | 17 | all:wellenreiterd |
18 | 18 | ||
19 | wellenreiterd:$(OBJ) | 19 | wellenreiterd:$(OBJ) |
20 | $(CPP) $(OPTIMFLAGS) $(WARNFLAGS) $(OBJ) $(LDFLAGS) $(LIBS) -o $@ | 20 | $(CPP) $(OPTIMFLAGS) $(WARNFLAGS) $(OBJ) $(LDFLAGS) $(LIBS) -o $@ |
21 | @echo Build wellenreiterd | 21 | @echo Built wellenreiterd |
22 | 22 | ||
23 | clean distclean realclean: | 23 | clean distclean realclean: |
24 | @rm -rf wellenreiterd *~ *.o | 24 | @rm -rf wellenreiterd *~ *.o |
25 | @echo All dependent files have been removed. | 25 | @echo All dependent files have been removed. |
26 | 26 | ||
27 | daemon.o:config.hh | 27 | daemon.o:config.hh daemon.cc daemon.hh |
28 | |||