From 9a2b8cb4fde1adea8027387f277510cfa4406a20 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Thu, 15 Jan 2026 14:45:26 +0300 Subject: Use simpler build system --- src/portab/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/portab/Makefile (limited to 'src/portab/Makefile') diff --git a/src/portab/Makefile b/src/portab/Makefile new file mode 100644 index 00000000..2814557e --- /dev/null +++ b/src/portab/Makefile @@ -0,0 +1,20 @@ +CFLAGS += -DDOCDIR='"/usr/local/share/doc/ngircd"' +CFLAGS += -DHAVE_CONFIG_H +CFLAGS += -I.. +CFLAGS += -I../portab +CFLAGS += -I../ipaddr +CFLAGS += -I../tool + +OBJS += ansi2knr.o +OBJS += portabtest.o +OBJS += strdup.o +OBJS += strlcpy.o +OBJS += strndup.o +OBJS += strtok_r.o +OBJS += vsnprintf.o +OBJS += waitpid.o + +all: libngportab.a + +libngportab.a: ${OBJS} + ar rcs libngportab.a ${OBJS} -- cgit 1.4.1