-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 | |||
@@ -8,21 +8,20 @@ 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 | |||