From 8b6d8d592b032cd239d794b01fc4f97eda749755 Mon Sep 17 00:00:00 2001 From: turbocat Date: Tue, 18 Jan 2022 18:01:35 +0000 Subject: [PATCH] man2html: Added to autobuild git-svn-id: svn://kolibrios.org@9652 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/other/man2html/Makefile.kos | 19 ------------------- programs/other/man2html/Tupfile.lua | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 19 deletions(-) delete mode 100644 programs/other/man2html/Makefile.kos create mode 100644 programs/other/man2html/Tupfile.lua diff --git a/programs/other/man2html/Makefile.kos b/programs/other/man2html/Makefile.kos deleted file mode 100644 index 39d6bb1c77..0000000000 --- a/programs/other/man2html/Makefile.kos +++ /dev/null @@ -1,19 +0,0 @@ -KTCC_DIR = ../../develop/ktcc/trunk - -NAME = man2html - -KTCC = kos32-tcc -KPACK = kpack - -SRC = man2html.c cgibase.c abbrev.c strdefs.c - -CFLAGS = -D_KOLIBRI -DNOCGI -I$(KTCC_DIR)/libc.obj/include -I inc -LFLAGS = -nostdlib -L$(KTCC_DIR)/bin/lib $(KTCC_DIR)/bin/lib/crt0.o -LIBS = -ltcc -lc.obj - -all: - $(KTCC) $(CFLAGS) $(SRC) $(LFLAGS) $(LIBS) -o $(NAME) - $(KPACK) $(NAME) - -clean: - rm $(NAME) diff --git a/programs/other/man2html/Tupfile.lua b/programs/other/man2html/Tupfile.lua new file mode 100644 index 0000000000..acb3a1b10e --- /dev/null +++ b/programs/other/man2html/Tupfile.lua @@ -0,0 +1,15 @@ +if tup.getconfig("NO_TCC") ~= "" then return end +if tup.getconfig("HELPERDIR") == "" +then + HELPERDIR = "../../../programs" +end +tup.include(HELPERDIR .. "/use_tcc.lua") + +SRCS = { + "man2html.c", + "cgibase.c", + "abbrev.c", + "strdefs.c" +} + +link_tcc(SRCS, "man2html");