summaryrefslogtreecommitdiff
path: root/ngircd/src/portab/Makefile.ng
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-10-23 23:44:03 +0800
committerMistivia <i@mistivia.com>2025-10-23 23:44:07 +0800
commitc8aeef18cb46a617b6397b9822263895e97e9048 (patch)
treeebe127e7c194039f315b74a5998b05a271c57b9d /ngircd/src/portab/Makefile.ng
add ircd
Diffstat (limited to 'ngircd/src/portab/Makefile.ng')
-rw-r--r--ngircd/src/portab/Makefile.ng41
1 files changed, 41 insertions, 0 deletions
diff --git a/ngircd/src/portab/Makefile.ng b/ngircd/src/portab/Makefile.ng
new file mode 100644
index 0000000..9be5f56
--- /dev/null
+++ b/ngircd/src/portab/Makefile.ng
@@ -0,0 +1,41 @@
+#
+# ngIRCd -- The Next Generation IRC Daemon
+# Copyright (c)2001-2024 Alexander Barton (alex@barton.de) and Contributors
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# Please read the file COPYING, README and AUTHORS for more information.
+#
+
+__ng_Makefile_am_template__
+
+EXTRA_DIST = Makefile.ng
+
+noinst_LIBRARIES = libngportab.a
+
+libngportab_a_SOURCES = \
+ strdup.c \
+ strlcpy.c \
+ strndup.c \
+ strtok_r.c \
+ vsnprintf.c \
+ waitpid.c
+
+check_PROGRAMS = portabtest
+
+portabtest_SOURCES = portabtest.c
+
+portabtest_LDFLAGS = -L.
+
+portabtest_LDADD = -lngportab
+
+noinst_HEADERS = portab.h
+
+maintainer-clean-local:
+ rm -f Makefile Makefile.in Makefile.am
+
+TESTS = portabtest
+
+# -eof-