From 67bd1bf34fc3f7bebb304cdf84284523c8ea09f5 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 31 Mar 2012 12:52:58 +0200 Subject: [PATCH] Makefiles: list each source files on a separate line Patches that add/remove source files become much nicer this way :-) --- doc/Makefile.am | 20 ++++++++--- src/ngircd/Makefile.am | 79 ++++++++++++++++++++++++++++++++++++------ 2 files changed, 84 insertions(+), 15 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index c153fece..1a792c5f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,6 @@ # # ngIRCd -- The Next Generation IRC Daemon -# Copyright (c)2001-2011 Alexander Barton (alex@barton.de) and Contributors +# 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 @@ -16,9 +16,21 @@ SUFFIXES = .tmpl -static_docs = Bopm.txt FAQ.txt GIT.txt HowToRelease.txt Modes.txt PAM.txt \ - Platforms.txt Protocol.txt README-AUX.txt README-BeOS.txt \ - README-Interix.txt RFC.txt SSL.txt Services.txt +static_docs = \ + Bopm.txt \ + FAQ.txt \ + GIT.txt \ + HowToRelease.txt \ + Modes.txt \ + PAM.txt \ + Platforms.txt \ + Protocol.txt \ + README-AUX.txt \ + README-BeOS.txt \ + README-Interix.txt \ + RFC.txt \ + Services.txt \ + SSL.txt doc_templates = sample-ngircd.conf.tmpl diff --git a/src/ngircd/Makefile.am b/src/ngircd/Makefile.am index 450547ea..cacd1c3c 100644 --- a/src/ngircd/Makefile.am +++ b/src/ngircd/Makefile.am @@ -1,6 +1,6 @@ # # ngIRCd -- The Next Generation IRC Daemon -# Copyright (c)2001-2010 Alexander Barton (alex@barton.de) +# 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 @@ -18,21 +18,78 @@ LINTARGS = -weak -warnunixlib +unixlib -booltype BOOLEAN \ sbin_PROGRAMS = ngircd -ngircd_SOURCES = ngircd.c array.c channel.c class.c client.c conf.c conn.c \ - conn-func.c conn-ssl.c conn-zip.c hash.c io.c irc.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 match.c op.c numeric.c pam.c parse.c \ - proc.c resolve.c sighandlers.c +ngircd_SOURCES = \ + ngircd.c \ + array.c \ + channel.c \ + class.c \ + client.c \ + conf.c \ + conn.c \ + conn-func.c \ + conn-ssl.c \ + conn-zip.c \ + hash.c \ + io.c \ + irc.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 \ + 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 conf.h \ - conf-ssl.h conn.h conn-func.h conn-ssl.h conn-zip.h hash.h io.h \ - irc.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 match.h numeric.h \ - op.h pam.h parse.h proc.h resolve.h sighandlers.h defines.h messages.h +noinst_HEADERS = \ + ngircd.h \ + array.h \ + channel.h \ + class.h \ + client.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-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 \ + 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