This commit is contained in:
Олег Бородин
2025-10-01 11:21:05 +02:00
commit 9abd8a5e19
50 changed files with 12685 additions and 0 deletions

52
Makefile.am Normal file
View File

@@ -0,0 +1,52 @@
AUTOMAKE_OPTIONS = foreign no-dependencies no-installinfo subdir-objects
libxtools_NAME = libxtools.a
libxasync_NAME = libxasync.a
CFLAGS += -std=c99 -Wall -I. -I ./libxasync -I ./libxtools
sbin_PROGRAMS = helmetd
bin_PROGRAMS = helmetctl
helmetd_SOURCES = helmetd.c \
logger.c logger.h \
server.c server.h
helmetd_LDADD = $(libxtools_NAME) $(libxasync_NAME)
helmetctl_SOURCES = helmetctl.c \
logger.c logger.h
helmetctl_LDADD = $(libxtools_NAME) $(libxasync_NAME)
noinst_LIBRARIES = $(libxtools_NAME) $(libxasync_NAME)
libxtools_a_SOURCES = \
libxtools/bstream.c \
libxtools/bstream.h \
libxtools/galexer.c \
libxtools/galexer.h \
libxtools/gclexer.c \
libxtools/gclexer.h \
libxtools/massert.c \
libxtools/massert.h \
libxtools/tccomp.c \
libxtools/tccomp.h \
libxtools/tclexer.c \
libxtools/tclexer.h \
libxtools/tconfig.c \
libxtools/tconfig.h \
libxtools/vmapper.c \
libxtools/vmapper.h
libxasync_a_SOURCES = \
libxasync/waitgroup.c \
libxasync/waitgroup.h
test: helmetctl
./helmetctl
clean-local:
rm -f *~
rm -rf autom4te.cache