summaryrefslogtreecommitdiff
Side-by-side diff
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