summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2002-12-08 18:48:34 (UTC)
committer mickeyl <mickeyl>2002-12-08 18:48:34 (UTC)
commitf91aa29028f6807312e059229627ec4a8b1191d4 (patch) (side-by-side diff)
tree8f0db979cb5933ebf49038f28babfdcc1ced5261
parent2cb5f8b1fa823787315576cce5e4f61cd152a7ce (diff)
downloadopie-f91aa29028f6807312e059229627ec4a8b1191d4.zip
opie-f91aa29028f6807312e059229627ec4a8b1191d4.tar.gz
opie-f91aa29028f6807312e059229627ec4a8b1191d4.tar.bz2
- pro-file for future integration of the daemon
- Makefile: wellenreiterd is not .PHONY
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/daemon/daemon.pro11
-rw-r--r--noncore/net/wellenreiter/daemon/source/Makefile7
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 @@
+DESTDIR = $(OPIEDIR)/bin
+TEMPLATE = app
+CONFIG = warn_on debug
+#CONFIG = warn_on release
+HEADERS = config.hh daemon.hh
+SOURCES = daemon.cc
+INCLUDEPATH += ../../libwellenreiter/source
+DEPENDPATH += $(OPIEDIR)/include ../daemon
+LIBS += -lpcap -L../../libwellenreiter/source -lwellenreiter
+INTERFACES =
+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 @@
# $Id$
CPP = g++
OPTIMFLAGS = -g
WARNFLAGS = -Wall -pedantic -DDEBUG
LDFLAGS =
LIBS = -lpcap ../../libwellenreiter/source/libwellenreiter.a
OBJ = daemon.o
.SUFFIXES:
-.PHONY: all wellenreiterd clean distclean realclean
+.PHONY: all clean distclean realclean
%.o : %.cc
$(CPP) $(WARNFLAGS) $(OPTIMFLAGS) -c $< -o $@
all: wellenreiterd
wellenreiterd: $(OBJ)
$(CPP) $(OPTIMFLAGS) $(WARNFLAGS) $(OBJ) $(LDFLAGS) $(LIBS) -o $@
- @echo Build wellenreiterd
+ @echo Built wellenreiterd
clean distclean realclean:
@rm -rf wellenreiterd *~ *.o
@echo All dependent files have been removed.
-daemon.o: config.hh
-
+daemon.o: config.hh daemon.cc daemon.hh