From 192e304b94f239de13b0f10ca01f6694fe6eea40 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 23 Sep 2012 17:55:48 +0200 Subject: Change build system to support new and old GNU automake Starting with GNU automake 1.12, the "de-ANSI-fication support" has been removed, which ngIRCd used to enable building itself on very old systems. Now the problem is, that using automake >= 1.12 isn't working because of the now unsupported M4 macros. Therefore the solution that this patch implements is to dynamically generate the automake input files with our own ./autogen.sh script: configure.ng => configure.in Makefile.ng => Makefile.am This is quite an ugly approach, but it works and enables us to: 1. use current automake >= 1.12 for development and "private builds", 2. still build distribution archives using automake 1.11.x that have "de-ANSI-fication support" enabled in the generated Makefile's. And if you are using Makefile's generated with a automake version newer than 1.11.x (without "de-ANSI-fication support"), the ./configure script warns you not to use this generated build system to generate distribution archives. Drawback of this patch: you MUST use our autogen.sh script, you can't call the autoconf/automake commands directly any more; but autoreconf should still work ... --- src/ipaddr/.gitignore | 1 + src/ipaddr/Makefile.am | 19 ------ src/ipaddr/Makefile.ng | 19 ++++++ src/ngircd/.gitignore | 1 + src/ngircd/Makefile.am | 144 ---------------------------------------------- src/ngircd/Makefile.ng | 144 ++++++++++++++++++++++++++++++++++++++++++++++ src/portab/.gitignore | 1 + src/portab/Makefile.am | 34 ----------- src/portab/Makefile.ng | 34 +++++++++++ src/testsuite/.gitignore | 1 + src/testsuite/Makefile.am | 110 ----------------------------------- src/testsuite/Makefile.ng | 110 +++++++++++++++++++++++++++++++++++ src/tool/.gitignore | 1 + src/tool/Makefile.am | 25 -------- src/tool/Makefile.ng | 25 ++++++++ 15 files changed, 337 insertions(+), 332 deletions(-) create mode 100644 src/ipaddr/.gitignore delete mode 100644 src/ipaddr/Makefile.am create mode 100644 src/ipaddr/Makefile.ng delete mode 100644 src/ngircd/Makefile.am create mode 100644 src/ngircd/Makefile.ng delete mode 100644 src/portab/Makefile.am create mode 100644 src/portab/Makefile.ng delete mode 100644 src/testsuite/Makefile.am create mode 100644 src/testsuite/Makefile.ng create mode 100644 src/tool/.gitignore delete mode 100644 src/tool/Makefile.am create mode 100644 src/tool/Makefile.ng (limited to 'src') diff --git a/src/ipaddr/.gitignore b/src/ipaddr/.gitignore new file mode 100644 index 00000000..08a6d725 --- /dev/null +++ b/src/ipaddr/.gitignore @@ -0,0 +1 @@ +Makefile.am diff --git a/src/ipaddr/Makefile.am b/src/ipaddr/Makefile.am deleted file mode 100644 index 6ce299f2..00000000 --- a/src/ipaddr/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -# -# ipaddr/Makefile.am -# (c) 2008 Florian Westphal , public domain. -# - -AUTOMAKE_OPTIONS = ../portab/ansi2knr - -INCLUDES = -I$(srcdir)/../portab - -noinst_LIBRARIES = libngipaddr.a - -libngipaddr_a_SOURCES = ng_ipaddr.c - -noinst_HEADERS = ng_ipaddr.h - -maintainer-clean-local: - rm -f Makefile Makefile.in - -# -eof- diff --git a/src/ipaddr/Makefile.ng b/src/ipaddr/Makefile.ng new file mode 100644 index 00000000..3d5a5db9 --- /dev/null +++ b/src/ipaddr/Makefile.ng @@ -0,0 +1,19 @@ +# +# ipaddr/Makefile.am +# (c) 2008 Florian Westphal , public domain. +# + +__ng_Makefile_am_template__ + +INCLUDES = -I$(srcdir)/../portab + +noinst_LIBRARIES = libngipaddr.a + +libngipaddr_a_SOURCES = ng_ipaddr.c + +noinst_HEADERS = ng_ipaddr.h + +maintainer-clean-local: + rm -f Makefile Makefile.in + +# -eof- diff --git a/src/ngircd/.gitignore b/src/ngircd/.gitignore index c25ba5e3..d1148bfb 100644 --- a/src/ngircd/.gitignore +++ b/src/ngircd/.gitignore @@ -1,3 +1,4 @@ +Makefile.am check-help check-version ngircd diff --git a/src/ngircd/Makefile.am b/src/ngircd/Makefile.am deleted file mode 100644 index 3a411a96..00000000 --- a/src/ngircd/Makefile.am +++ /dev/null @@ -1,144 +0,0 @@ -# -# ngIRCd -- The Next Generation IRC Daemon -# Copyright (c)2001-2012 Alexander Barton (alex@barton.de) -# -# 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. -# - -AUTOMAKE_OPTIONS = ../portab/ansi2knr - -INCLUDES = -I$(srcdir)/../portab -I$(srcdir)/../tool -I$(srcdir)/../ipaddr - -LINTARGS = -weak -warnunixlib +unixlib -booltype BOOLEAN \ - -varuse -retvalother -emptyret -unrecog - -sbin_PROGRAMS = ngircd - -ngircd_SOURCES = \ - ngircd.c \ - array.c \ - channel.c \ - class.c \ - client.c \ - client-cap.c \ - conf.c \ - conn.c \ - conn-func.c \ - conn-ssl.c \ - conn-zip.c \ - hash.c \ - io.c \ - irc.c \ - irc-cap.c \ - irc-channel.c \ - irc-info.c \ - irc-login.c \ - irc-mode.c \ - irc-op.c \ - irc-oper.c \ - irc-server.c \ - irc-write.c \ - lists.c \ - log.c \ - login.c \ - match.c \ - numeric.c \ - op.c \ - pam.c \ - parse.c \ - proc.c \ - resolve.c \ - sighandlers.c - -ngircd_LDFLAGS = -L../portab -L../tool -L../ipaddr - -ngircd_LDADD = -lngportab -lngtool -lngipaddr - -noinst_HEADERS = \ - ngircd.h \ - array.h \ - channel.h \ - class.h \ - client.h \ - client-cap.h \ - conf.h \ - conf-ssl.h \ - conn.h \ - conn-func.h \ - conn-ssl.h \ - conn-zip.h \ - defines.h \ - hash.h \ - io.h \ - irc.h \ - irc-cap.h \ - irc-channel.h \ - irc-info.h \ - irc-login.h \ - irc-mode.h \ - irc-op.h \ - irc-oper.h \ - irc-server.h \ - irc-write.h \ - lists.h \ - log.h \ - login.h \ - match.h \ - messages.h \ - numeric.h \ - op.h \ - pam.h \ - parse.h \ - proc.h \ - resolve.h \ - sighandlers.h - -clean-local: - rm -f check-version check-help lint.out - -maintainer-clean-local: - rm -f Makefile Makefile.in - -check-version: Makefile - echo "#!/bin/sh" > check-version - echo "./ngircd --version | grep ngircd >/dev/null 2>&1" >>check-version - chmod 755 check-version - -check-help: Makefile - echo "#!/bin/sh" > check-help - echo "./ngircd --help | grep help >/dev/null 2>&1" >>check-help - chmod 755 check-help - -lint: - @splint --version >/dev/null 2>&1 \ - || ( echo; echo "Error: \"splint\" not found!"; echo; exit 1 ) - @echo; warnings=0; files=0; \ - for f in *.c; do \ - echo "checking $$f ..."; \ - splint $$f $(LINTARGS) -I$(srcdir) -I$(srcdir)/.. \ - $(INCLUDES) $(AM_CFLAGS) >lint.out 2>&1; \ - grep "no warnings" lint.out > /dev/null 2>&1; \ - if [ $$? -ne 0 ]; then \ - waswarning=1; \ - echo; grep -v "^Command Line: " lint.out; echo; \ - w=$$( grep "code warning" lint.out | $(AWK) "{ print \$$4 }" ); \ - [ "$$w" -gt 0 ] && warnings=`expr $$warnings + $$w`; \ - files=`expr $$files + 1`; \ - else \ - waswarning=0; \ - fi; \ - rm -f lint.out; \ - done; \ - [ $$waswarning -eq 0 ] && echo; \ - [ $$warnings -gt 0 ] \ - && echo "Result: $$warnings warning(s) in $$files file(s)!" \ - || echo "Result: no warnings found."; \ - echo; [ $$warnings -gt 0 ] && exit 1 - -TESTS = check-version check-help - -# -eof- diff --git a/src/ngircd/Makefile.ng b/src/ngircd/Makefile.ng new file mode 100644 index 00000000..db3ecfe9 --- /dev/null +++ b/src/ngircd/Makefile.ng @@ -0,0 +1,144 @@ +# +# ngIRCd -- The Next Generation IRC Daemon +# Copyright (c)2001-2012 Alexander Barton (alex@barton.de) +# +# 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__ + +INCLUDES = -I$(srcdir)/../portab -I$(srcdir)/../tool -I$(srcdir)/../ipaddr + +LINTARGS = -weak -warnunixlib +unixlib -booltype BOOLEAN \ + -varuse -retvalother -emptyret -unrecog + +sbin_PROGRAMS = ngircd + +ngircd_SOURCES = \ + ngircd.c \ + array.c \ + channel.c \ + class.c \ + client.c \ + client-cap.c \ + conf.c \ + conn.c \ + conn-func.c \ + conn-ssl.c \ + conn-zip.c \ + hash.c \ + io.c \ + irc.c \ + irc-cap.c \ + irc-channel.c \ + irc-info.c \ + irc-login.c \ + irc-mode.c \ + irc-op.c \ + irc-oper.c \ + irc-server.c \ + irc-write.c \ + lists.c \ + log.c \ + login.c \ + match.c \ + numeric.c \ + op.c \ + pam.c \ + parse.c \ + proc.c \ + resolve.c \ + sighandlers.c + +ngircd_LDFLAGS = -L../portab -L../tool -L../ipaddr + +ngircd_LDADD = -lngportab -lngtool -lngipaddr + +noinst_HEADERS = \ + ngircd.h \ + array.h \ + channel.h \ + class.h \ + client.h \ + client-cap.h \ + conf.h \ + conf-ssl.h \ + conn.h \ + conn-func.h \ + conn-ssl.h \ + conn-zip.h \ + defines.h \ + hash.h \ + io.h \ + irc.h \ + irc-cap.h \ + irc-channel.h \ + irc-info.h \ + irc-login.h \ + irc-mode.h \ + irc-op.h \ + irc-oper.h \ + irc-server.h \ + irc-write.h \ + lists.h \ + log.h \ + login.h \ + match.h \ + messages.h \ + numeric.h \ + op.h \ + pam.h \ + parse.h \ + proc.h \ + resolve.h \ + sighandlers.h + +clean-local: + rm -f check-version check-help lint.out + +maintainer-clean-local: + rm -f Makefile Makefile.in + +check-version: Makefile + echo "#!/bin/sh" > check-version + echo "./ngircd --version | grep ngircd >/dev/null 2>&1" >>check-version + chmod 755 check-version + +check-help: Makefile + echo "#!/bin/sh" > check-help + echo "./ngircd --help | grep help >/dev/null 2>&1" >>check-help + chmod 755 check-help + +lint: + @splint --version >/dev/null 2>&1 \ + || ( echo; echo "Error: \"splint\" not found!"; echo; exit 1 ) + @echo; warnings=0; files=0; \ + for f in *.c; do \ + echo "checking $$f ..."; \ + splint $$f $(LINTARGS) -I$(srcdir) -I$(srcdir)/.. \ + $(INCLUDES) $(AM_CFLAGS) >lint.out 2>&1; \ + grep "no warnings" lint.out > /dev/null 2>&1; \ + if [ $$? -ne 0 ]; then \ + waswarning=1; \ + echo; grep -v "^Command Line: " lint.out; echo; \ + w=$$( grep "code warning" lint.out | $(AWK) "{ print \$$4 }" ); \ + [ "$$w" -gt 0 ] && warnings=`expr $$warnings + $$w`; \ + files=`expr $$files + 1`; \ + else \ + waswarning=0; \ + fi; \ + rm -f lint.out; \ + done; \ + [ $$waswarning -eq 0 ] && echo; \ + [ $$warnings -gt 0 ] \ + && echo "Result: $$warnings warning(s) in $$files file(s)!" \ + || echo "Result: no warnings found."; \ + echo; [ $$warnings -gt 0 ] && exit 1 + +TESTS = check-version check-help + +# -eof- diff --git a/src/portab/.gitignore b/src/portab/.gitignore index 839a69fd..9bac6ac1 100644 --- a/src/portab/.gitignore +++ b/src/portab/.gitignore @@ -1 +1,2 @@ +Makefile.am portabtest diff --git a/src/portab/Makefile.am b/src/portab/Makefile.am deleted file mode 100644 index a57ea495..00000000 --- a/src/portab/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -# -# ngIRCd -- The Next Generation IRC Daemon -# Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) -# -# Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen -# der GNU General Public License (GPL), wie von der Free Software Foundation -# herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2 -# der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version. -# Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste -# der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. -# - -AUTOMAKE_OPTIONS = ansi2knr - -noinst_LIBRARIES = libngportab.a - -libngportab_a_SOURCES = strdup.c strlcpy.c strtok_r.c vsnprintf.c waitpid.c - -check_PROGRAMS = portabtest - -portabtest_SOURCES = portabtest.c - -portabtest_LDFLAGS = -L. - -portabtest_LDADD = -lngportab - -noinst_HEADERS = imp.h exp.h portab.h splint.h - -maintainer-clean-local: - rm -f Makefile Makefile.in - -TESTS = portabtest - -# -eof- diff --git a/src/portab/Makefile.ng b/src/portab/Makefile.ng new file mode 100644 index 00000000..5681a530 --- /dev/null +++ b/src/portab/Makefile.ng @@ -0,0 +1,34 @@ +# +# ngIRCd -- The Next Generation IRC Daemon +# Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) +# +# Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen +# der GNU General Public License (GPL), wie von der Free Software Foundation +# herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2 +# der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version. +# Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste +# der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. +# + +__ng_Makefile_am_template__ + +noinst_LIBRARIES = libngportab.a + +libngportab_a_SOURCES = strdup.c strlcpy.c strtok_r.c vsnprintf.c waitpid.c + +check_PROGRAMS = portabtest + +portabtest_SOURCES = portabtest.c + +portabtest_LDFLAGS = -L. + +portabtest_LDADD = -lngportab + +noinst_HEADERS = imp.h exp.h portab.h splint.h + +maintainer-clean-local: + rm -f Makefile Makefile.in + +TESTS = portabtest + +# -eof- diff --git a/src/testsuite/.gitignore b/src/testsuite/.gitignore index 5884a486..b33a08f4 100644 --- a/src/testsuite/.gitignore +++ b/src/testsuite/.gitignore @@ -1,3 +1,4 @@ +Makefile.am T-ngircd1 T-ngircd2 channel-test diff --git a/src/testsuite/Makefile.am b/src/testsuite/Makefile.am deleted file mode 100644 index 9dc76a7d..00000000 --- a/src/testsuite/Makefile.am +++ /dev/null @@ -1,110 +0,0 @@ -# -# ngIRCd -- The Next Generation IRC Daemon -# Copyright (c)2001-2011 Alexander Barton (alex@barton.de) and Contributors. -# -# Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen -# der GNU General Public License (GPL), wie von der Free Software Foundation -# herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2 -# der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version. -# Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste -# der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. -# - -AUTOMAKE_OPTIONS = ../portab/ansi2knr - -INCLUDES = -I$(srcdir)/../portab - -EXTRA_DIST = \ - README functions.inc getpid.sh \ - start-server.sh stop-server.sh tests.sh stress-server.sh \ - test-loop.sh wait-tests.sh \ - channel-test.e connect-test.e check-idle.e invite-test.e \ - join-test.e kick-test.e message-test.e misc-test.e mode-test.e \ - opless-channel-test.e server-link-test.e who-test.e whois-test.e \ - stress-A.e stress-B.e \ - start-server1 stop-server1 ngircd-test1.conf \ - start-server2 stop-server2 ngircd-test2.conf - -all: - -clean-local: - rm -rf logs tests *-test ngircd-test*.log procs.tmp \ - T-ngircd1 ngircd-test1.motd T-ngircd2 ngircd-test2.motd - -maintainer-clean-local: - rm -f Makefile Makefile.in - -check_SCRIPTS = ngircd-TEST-Binary tests.sh - -ngircd-TEST-Binary: - cp ../ngircd/ngircd T-ngircd1 - cp ../ngircd/ngircd T-ngircd2 - [ -f getpid.sh ] || ln -s $(srcdir)/getpid.sh . - -connect-test: tests.sh - rm -f connect-test - ln -s $(srcdir)/tests.sh connect-test - -channel-test: tests.sh - rm -f channel-test - ln -s $(srcdir)/tests.sh channel-test - -invite-test: tests.sh - rm -f invite-test - ln -s $(srcdir)/tests.sh invite-test - -join-test: tests.sh - rm -f join-test - ln -s $(srcdir)/tests.sh join-test - -kick-test: tests.sh - rm -f kick-test - ln -s $(srcdir)/tests.sh kick-test - -message-test: tests.sh - rm -f message-test - ln -s $(srcdir)/tests.sh message-test - -misc-test: tests.sh - rm -f misc-test - ln -s $(srcdir)/tests.sh misc-test - -mode-test: tests.sh - rm -f mode-test - ln -s $(srcdir)/tests.sh mode-test - -opless-channel-test: tests.sh - rm -f opless-channel-test - ln -s $(srcdir)/tests.sh opless-channel-test - -server-link-test: tests.sh - rm -f server-link-test - ln -s $(srcdir)/tests.sh server-link-test - -who-test: tests.sh - rm -f who-test - ln -s $(srcdir)/tests.sh who-test - -whois-test: tests.sh - rm -f whois-test - ln -s $(srcdir)/tests.sh whois-test - -TESTS = start-server1 \ - connect-test \ - start-server2 \ - channel-test \ - invite-test \ - join-test \ - kick-test \ - message-test \ - misc-test \ - mode-test \ - opless-channel-test \ - who-test \ - whois-test \ - server-link-test \ - stop-server2 \ - stress-server.sh \ - stop-server1 - -# -eof- diff --git a/src/testsuite/Makefile.ng b/src/testsuite/Makefile.ng new file mode 100644 index 00000000..fe642e89 --- /dev/null +++ b/src/testsuite/Makefile.ng @@ -0,0 +1,110 @@ +# +# ngIRCd -- The Next Generation IRC Daemon +# Copyright (c)2001-2011 Alexander Barton (alex@barton.de) and Contributors. +# +# Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen +# der GNU General Public License (GPL), wie von der Free Software Foundation +# herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2 +# der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version. +# Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste +# der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. +# + +__ng_Makefile_am_template__ + +INCLUDES = -I$(srcdir)/../portab + +EXTRA_DIST = \ + README functions.inc getpid.sh \ + start-server.sh stop-server.sh tests.sh stress-server.sh \ + test-loop.sh wait-tests.sh \ + channel-test.e connect-test.e check-idle.e invite-test.e \ + join-test.e kick-test.e message-test.e misc-test.e mode-test.e \ + opless-channel-test.e server-link-test.e who-test.e whois-test.e \ + stress-A.e stress-B.e \ + start-server1 stop-server1 ngircd-test1.conf \ + start-server2 stop-server2 ngircd-test2.conf + +all: + +clean-local: + rm -rf logs tests *-test ngircd-test*.log procs.tmp \ + T-ngircd1 ngircd-test1.motd T-ngircd2 ngircd-test2.motd + +maintainer-clean-local: + rm -f Makefile Makefile.in + +check_SCRIPTS = ngircd-TEST-Binary tests.sh + +ngircd-TEST-Binary: + cp ../ngircd/ngircd T-ngircd1 + cp ../ngircd/ngircd T-ngircd2 + [ -f getpid.sh ] || ln -s $(srcdir)/getpid.sh . + +connect-test: tests.sh + rm -f connect-test + ln -s $(srcdir)/tests.sh connect-test + +channel-test: tests.sh + rm -f channel-test + ln -s $(srcdir)/tests.sh channel-test + +invite-test: tests.sh + rm -f invite-test + ln -s $(srcdir)/tests.sh invite-test + +join-test: tests.sh + rm -f join-test + ln -s $(srcdir)/tests.sh join-test + +kick-test: tests.sh + rm -f kick-test + ln -s $(srcdir)/tests.sh kick-test + +message-test: tests.sh + rm -f message-test + ln -s $(srcdir)/tests.sh message-test + +misc-test: tests.sh + rm -f misc-test + ln -s $(srcdir)/tests.sh misc-test + +mode-test: tests.sh + rm -f mode-test + ln -s $(srcdir)/tests.sh mode-test + +opless-channel-test: tests.sh + rm -f opless-channel-test + ln -s $(srcdir)/tests.sh opless-channel-test + +server-link-test: tests.sh + rm -f server-link-test + ln -s $(srcdir)/tests.sh server-link-test + +who-test: tests.sh + rm -f who-test + ln -s $(srcdir)/tests.sh who-test + +whois-test: tests.sh + rm -f whois-test + ln -s $(srcdir)/tests.sh whois-test + +TESTS = start-server1 \ + connect-test \ + start-server2 \ + channel-test \ + invite-test \ + join-test \ + kick-test \ + message-test \ + misc-test \ + mode-test \ + opless-channel-test \ + who-test \ + whois-test \ + server-link-test \ + stop-server2 \ + stress-server.sh \ + stop-server1 + +# -eof- diff --git a/src/tool/.gitignore b/src/tool/.gitignore new file mode 100644 index 00000000..08a6d725 --- /dev/null +++ b/src/tool/.gitignore @@ -0,0 +1 @@ +Makefile.am diff --git a/src/tool/Makefile.am b/src/tool/Makefile.am deleted file mode 100644 index 8d6cda46..00000000 --- a/src/tool/Makefile.am +++ /dev/null @@ -1,25 +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. -# - -AUTOMAKE_OPTIONS = ../portab/ansi2knr - -INCLUDES = -I$(srcdir)/../portab - -noinst_LIBRARIES = libngtool.a - -libngtool_a_SOURCES = tool.c - -noinst_HEADERS = tool.h - -maintainer-clean-local: - rm -f Makefile Makefile.in - -# -eof- diff --git a/src/tool/Makefile.ng b/src/tool/Makefile.ng new file mode 100644 index 00000000..807f24bc --- /dev/null +++ b/src/tool/Makefile.ng @@ -0,0 +1,25 @@ +# +# 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__ + +INCLUDES = -I$(srcdir)/../portab + +noinst_LIBRARIES = libngtool.a + +libngtool_a_SOURCES = tool.c + +noinst_HEADERS = tool.h + +maintainer-clean-local: + rm -f Makefile Makefile.in + +# -eof- -- cgit 1.4.1