about summary refs log tree commit diff
path: root/src/portab/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/portab/Makefile')
-rw-r--r--src/portab/Makefile20
1 files changed, 20 insertions, 0 deletions
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}