working commit

This commit is contained in:
2026-04-22 18:15:05 +02:00
parent f1b7d9783d
commit 76c797b489
13 changed files with 207 additions and 135 deletions
+10 -9
View File
@@ -2,31 +2,32 @@
AUTOMAKE_OPTIONS = foreign no-dependencies no-installinfo subdir-objects
CXXFLAGS = -std=c++23 -Wall -I. -pthread -D_GNU_SOURCE=1
LDFLAGS = -pthread
LDFLAGS = -pthread
LIBS = -Wl,--as-need -lprotobuf-lite
sbin_PROGRAMS = helmetd
helmetd_SOURCES = helmetd.cpp \
server.cpp server.hpp \
tunclient.cpp tunclient.hpp \
service.cpp service.hpp \
interface.cpp interface.hpp \
hello.pb.cc hello.pb.h \
udpclient.cpp udpclient.hpp \
resolver.cpp resolver.hpp
resolver.cpp resolver.hpp \
iprouter.cpp iprouter.hpp
noinst_PROGRAMS = \
udpclient_test \
service_test \
server_test
tunclient_test
server_test_SOURCES = server_test.cpp \
server.cpp server.hpp \
tunclient_test_SOURCES = tunclient_test.cpp \
tunclient.cpp tunclient.hpp \
service.cpp service.hpp \
interface.cpp interface.hpp
service_test_SOURCES = service_test.cpp \
server.cpp server.hpp \
tunclient.cpp tunclient.hpp \
service.cpp service.hpp \
interface.cpp interface.hpp
@@ -36,8 +37,8 @@ udpclient_test_SOURCES = \
udpclient.cpp udpclient.hpp \
udpclient_test.cpp
test: udpclient_test
./udpclient_test
test: tunclient_test
./tunclient_test
run: helmetd
./helmetd