summaryrefslogtreecommitdiffhomepage
path: root/plugins/weblog/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-02-11 11:58:03 +0100
committerRoland Reichwein <mail@reichwein.it>2023-02-11 11:58:03 +0100
commitaaaaed8479368b87bc6960dc6abe5a97b4cc7ef9 (patch)
treeb42aba96bb84c0e3593b910011a8b05cffe4e7be /plugins/weblog/Makefile
parente1f1bf463631c73b5a7e70c3f3a1b1206df6c317 (diff)
Separated out weblog
Diffstat (limited to 'plugins/weblog/Makefile')
-rw-r--r--plugins/weblog/Makefile52
1 files changed, 0 insertions, 52 deletions
diff --git a/plugins/weblog/Makefile b/plugins/weblog/Makefile
deleted file mode 100644
index 2e19495..0000000
--- a/plugins/weblog/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-include ../../common.mk
-
-PROJECTNAME=weblog
-
-CXXFLAGS+= -fvisibility=hidden -fPIC
-
-CXXFLAGS+= -I../..
-
-LDLIBS=\
--lreichwein \
--lboost_context \
--lboost_coroutine \
--lboost_program_options \
--lboost_system \
--lboost_thread \
--lboost_filesystem \
--lboost_regex \
--lpthread \
--lssl -lcrypto \
--ldl
-
-PROGSRC=\
- weblog.cpp
-
-SRC=$(PROGSRC)
-
-all: $(PROJECTNAME).so
-
-$(PROJECTNAME).so: $(SRC:.cpp=.o)
- $(CXX) $(LDFLAGS) $^ -shared $(LDLIBS) $(LIBS) -o $@
-
-%.d: %.cpp
- $(CXX) $(CXXFLAGS) -MM -MP -MF $@ -c $<
-
-%.o: %.cpp %.d
- $(CXX) $(CXXFLAGS) -c $< -o $@
-
-# dependencies
-
-ADD_DEP=Makefile
-
-install:
- mkdir -p $(DESTDIR)/usr/lib/webserver/plugins
- cp $(PROJECTNAME).so $(DESTDIR)/usr/lib/webserver/plugins
-
-# misc ---------------------------------------------------
-clean:
- -rm -f *.o *.so *.d
-
-.PHONY: clean install all
-
--include $(wildcard $(SRC:.cpp=.d))