summaryrefslogtreecommitdiffhomepage
path: root/plugins/webbox
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-03 09:31:51 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-03 09:31:51 +0100
commit2b6f8123e925e3be8ce7c04eccdd49fc728314a5 (patch)
tree78e86bb428b3bc821ae84d0f6abe86136356bd1a /plugins/webbox
parent5581340f23b31114d33736c630de849898668f38 (diff)
Separated out libcommon as libreichwein
Diffstat (limited to 'plugins/webbox')
-rw-r--r--plugins/webbox/Makefile8
-rw-r--r--plugins/webbox/webbox.cpp10
2 files changed, 6 insertions, 12 deletions
diff --git a/plugins/webbox/Makefile b/plugins/webbox/Makefile
index 4be08d1..5e4dab8 100644
--- a/plugins/webbox/Makefile
+++ b/plugins/webbox/Makefile
@@ -7,7 +7,6 @@ CXXFLAGS+= -fvisibility=hidden -fPIC
CXXFLAGS+= -I../..
LDLIBS=\
--lcommon \
-lboost_context \
-lboost_coroutine \
-lboost_program_options \
@@ -19,8 +18,6 @@ LDLIBS=\
-lssl -lcrypto \
-ldl
-LDFLAGS+=-L../../libcommon
-
PROGSRC=\
webbox.cpp
@@ -28,12 +25,9 @@ SRC=$(PROGSRC)
all: $(PROJECTNAME).so
-$(PROJECTNAME).so: ../../libcommon/libcommon.a $(SRC:.cpp=.o)
+$(PROJECTNAME).so: $(SRC:.cpp=.o)
$(CXX) $(LDFLAGS) $^ -shared $(LDLIBS) $(LIBS) -o $@
-../../libcommon/libcommon.a:
- cd ../.. && $(MAKE) libcommon/libcommon.a
-
%.d: %.cpp
$(CXX) $(CXXFLAGS) -MM -MP -MF $@ -c $<
diff --git a/plugins/webbox/webbox.cpp b/plugins/webbox/webbox.cpp
index ac54394..90975b5 100644
--- a/plugins/webbox/webbox.cpp
+++ b/plugins/webbox/webbox.cpp
@@ -1,10 +1,10 @@
#include "webbox.h"
-#include "libcommon/mime.h"
-#include "libcommon/tempfile.h"
-#include "libcommon/file.h"
-#include "libcommon/stringutil.h"
-#include "libcommon/url.h"
+#include "libreichwein/mime.h"
+#include "libreichwein/tempfile.h"
+#include "libreichwein/file.h"
+#include "libreichwein/stringutil.h"
+#include "libreichwein/url.h"
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/replace.hpp>