From 2b6f8123e925e3be8ce7c04eccdd49fc728314a5 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 3 Jan 2023 09:31:51 +0100 Subject: Separated out libcommon as libreichwein --- plugins/statistics/Makefile | 8 +------- plugins/statistics/statistics.cpp | 4 ++-- 2 files changed, 3 insertions(+), 9 deletions(-) (limited to 'plugins/statistics') diff --git a/plugins/statistics/Makefile b/plugins/statistics/Makefile index 26032c3..cece45e 100644 --- a/plugins/statistics/Makefile +++ b/plugins/statistics/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=\ statistics.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/statistics/statistics.cpp b/plugins/statistics/statistics.cpp index 415369d..54450a8 100644 --- a/plugins/statistics/statistics.cpp +++ b/plugins/statistics/statistics.cpp @@ -1,7 +1,7 @@ #include "statistics.h" -#include "libcommon/file.h" -#include "libcommon/tempfile.h" +#include "libreichwein/file.h" +#include "libreichwein/tempfile.h" #include #include -- cgit v1.2.3