man2html: Added to autobuild

git-svn-id: svn://kolibrios.org@9652 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2022-01-18 18:01:35 +00:00
parent ee7c61f931
commit 8b6d8d592b
2 changed files with 15 additions and 19 deletions

View File

@ -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)

View File

@ -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");