about summary refs log tree commit diff
path: root/src/tool
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool')
-rw-r--r--src/tool/Makefile13
-rw-r--r--src/tool/Makefile.ng27
2 files changed, 13 insertions, 27 deletions
diff --git a/src/tool/Makefile b/src/tool/Makefile
new file mode 100644
index 00000000..df41ebae
--- /dev/null
+++ b/src/tool/Makefile
@@ -0,0 +1,13 @@
+CFLAGS += -DDOCDIR='"/usr/local/share/doc/ngircd"'
+CFLAGS += -DHAVE_CONFIG_H
+CFLAGS += -I..
+CFLAGS += -I../portab
+CFLAGS += -I../ipaddr
+CFLAGS += -I../tool
+
+OBJS += tool.o
+
+all: libngtool.a
+
+libngtool.a: ${OBJS}
+	ar rcs libngtool.a ${OBJS}
diff --git a/src/tool/Makefile.ng b/src/tool/Makefile.ng
deleted file mode 100644
index d88bdc94..00000000
--- a/src/tool/Makefile.ng
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# ngIRCd -- The Next Generation IRC Daemon
-# Copyright (c)2001-2012 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
-
-AM_CPPFLAGS = -I$(srcdir)/../portab
-
-noinst_LIBRARIES = libngtool.a
-
-libngtool_a_SOURCES = tool.c
-
-noinst_HEADERS = tool.h
-
-maintainer-clean-local:
-	rm -f Makefile Makefile.in Makefile.am
-
-# -eof-