mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	- new library "libngtool", reorganized code and directory structure therefore.
This commit is contained in:
		
							
								
								
									
										14
									
								
								configure.in
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								configure.in
									
									
									
									
									
								
							| @@ -2,14 +2,13 @@ | |||||||
| # ngIRCd -- The Next Generation IRC Daemon | # ngIRCd -- The Next Generation IRC Daemon | ||||||
| # Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) | # Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) | ||||||
| # | # | ||||||
| # Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen | # This program is free software; you can redistribute it and/or modify | ||||||
| # der GNU General Public License (GPL), wie von der Free Software Foundation | # it under the terms of the GNU General Public License as published by | ||||||
| # herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2 | # the Free Software Foundation; either version 2 of the License, or | ||||||
| # der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version. | # (at your option) any later version. | ||||||
| # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste | # Please read the file COPYING, README and AUTHORS for more information. | ||||||
| # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. |  | ||||||
| # | # | ||||||
| # $Id: configure.in,v 1.77 2003/01/04 13:07:54 alex Exp $ | # $Id: configure.in,v 1.78 2003/01/13 12:20:16 alex Exp $ | ||||||
| # | # | ||||||
|  |  | ||||||
| # -- Initialisierung -- | # -- Initialisierung -- | ||||||
| @@ -224,6 +223,7 @@ AC_OUTPUT([ \ | |||||||
| 	MacOSX/ngircd.pbproj/Makefile \ | 	MacOSX/ngircd.pbproj/Makefile \ | ||||||
| 	src/Makefile \ | 	src/Makefile \ | ||||||
| 	src/portab/Makefile \ | 	src/portab/Makefile \ | ||||||
|  | 	src/tool/Makefile \ | ||||||
| 	src/ngircd/Makefile \ | 	src/ngircd/Makefile \ | ||||||
| 	src/testsuite/Makefile \ | 	src/testsuite/Makefile \ | ||||||
| 	man/Makefile \ | 	man/Makefile \ | ||||||
|   | |||||||
| @@ -2,17 +2,16 @@ | |||||||
| # ngIRCd -- The Next Generation IRC Daemon | # ngIRCd -- The Next Generation IRC Daemon | ||||||
| # Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) | # Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) | ||||||
| # | # | ||||||
| # Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen | # This program is free software; you can redistribute it and/or modify | ||||||
| # der GNU General Public License (GPL), wie von der Free Software Foundation | # it under the terms of the GNU General Public License as published by | ||||||
| # herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2 | # the Free Software Foundation; either version 2 of the License, or | ||||||
| # der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version. | # (at your option) any later version. | ||||||
| # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste | # Please read the file COPYING, README and AUTHORS for more information. | ||||||
| # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. |  | ||||||
| # | # | ||||||
| # $Id: Makefile.am,v 1.4 2002/09/09 10:00:15 alex Exp $ | # $Id: Makefile.am,v 1.5 2003/01/13 12:20:16 alex Exp $ | ||||||
| # | # | ||||||
|  |  | ||||||
| SUBDIRS = portab ngircd testsuite | SUBDIRS = portab tool ngircd testsuite | ||||||
|  |  | ||||||
| maintainer-clean-local: | maintainer-clean-local: | ||||||
| 	rm -f Makefile Makefile.in config.h config.h.in stamp-h.in | 	rm -f Makefile Makefile.in config.h config.h.in stamp-h.in | ||||||
|   | |||||||
| @@ -2,19 +2,18 @@ | |||||||
| # ngIRCd -- The Next Generation IRC Daemon | # ngIRCd -- The Next Generation IRC Daemon | ||||||
| # Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) | # Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) | ||||||
| # | # | ||||||
| # Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen | # This program is free software; you can redistribute it and/or modify | ||||||
| # der GNU General Public License (GPL), wie von der Free Software Foundation | # it under the terms of the GNU General Public License as published by | ||||||
| # herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2 | # the Free Software Foundation; either version 2 of the License, or | ||||||
| # der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version. | # (at your option) any later version. | ||||||
| # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste | # Please read the file COPYING, README and AUTHORS for more information. | ||||||
| # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. |  | ||||||
| # | # | ||||||
| # $Id: Makefile.am,v 1.35 2003/01/04 10:39:14 alex Exp $ | # $Id: Makefile.am,v 1.36 2003/01/13 12:20:16 alex Exp $ | ||||||
| # | # | ||||||
|  |  | ||||||
| AUTOMAKE_OPTIONS = ../portab/ansi2knr | AUTOMAKE_OPTIONS = ../portab/ansi2knr | ||||||
|  |  | ||||||
| INCLUDES = -I$(srcdir)/../portab | INCLUDES = -I$(srcdir)/../portab -I$(srcdir)/../tool | ||||||
|  |  | ||||||
| LINTARGS = -weak -warnunixlib +unixlib -booltype BOOLEAN | LINTARGS = -weak -warnunixlib +unixlib -booltype BOOLEAN | ||||||
|  |  | ||||||
| @@ -22,17 +21,16 @@ sbin_PROGRAMS = ngircd | |||||||
|  |  | ||||||
| ngircd_SOURCES = ngircd.c channel.c client.c conf.c conn.c conn-zip.c conn-func.c \ | ngircd_SOURCES = ngircd.c channel.c client.c conf.c conn.c conn-zip.c conn-func.c \ | ||||||
| 	hash.c irc.c irc-channel.c irc-info.c irc-login.c irc-mode.c irc-op.c \ | 	hash.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 parse.c resolve.c \ | 	irc-oper.c irc-server.c irc-write.c lists.c log.c match.c parse.c resolve.c | ||||||
| 	tool.c |  | ||||||
|  |  | ||||||
| ngircd_LDFLAGS = -L../portab | ngircd_LDFLAGS = -L../portab -L../tool | ||||||
|  |  | ||||||
| ngircd_LDADD = -lngportab | ngircd_LDADD = -lngportab -lngtool | ||||||
|  |  | ||||||
| noinst_HEADERS = ngircd.h channel.h client.h conf.h conn.h conn-zip.h conn-func.h \ | noinst_HEADERS = ngircd.h channel.h client.h conf.h conn.h conn-zip.h conn-func.h \ | ||||||
| 	hash.h irc.h irc-channel.h irc-info.h irc-login.h irc-mode.h irc-op.h \ | 	hash.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 parse.h resolve.h \ | 	irc-oper.h irc-server.h irc-write.h lists.h log.h match.h parse.h resolve.h \ | ||||||
| 	tool.h messages.h defines.h | 	messages.h defines.h | ||||||
|  |  | ||||||
| clean-local: | clean-local: | ||||||
| 	rm -f check-version check-help lint.out cvs-version.* | 	rm -f check-version check-help lint.out cvs-version.* | ||||||
|   | |||||||
							
								
								
									
										27
									
								
								src/tool/Makefile.am
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								src/tool/Makefile.am
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | |||||||
|  | # | ||||||
|  | # ngIRCd -- The Next Generation IRC Daemon | ||||||
|  | # Copyright (c)2001,2002 by 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. | ||||||
|  | # | ||||||
|  | # $Id: Makefile.am,v 1.1 2003/01/13 12:20:16 alex Exp $ | ||||||
|  | # | ||||||
|  |  | ||||||
|  | AUTOMAKE_OPTIONS = 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- | ||||||
| @@ -14,7 +14,7 @@ | |||||||
| 
 | 
 | ||||||
| #include "portab.h" | #include "portab.h" | ||||||
| 
 | 
 | ||||||
| static char UNUSED id[] = "$Id: tool.c,v 1.10 2002/12/12 12:24:18 alex Exp $"; | static char UNUSED id[] = "$Id: tool.c,v 1.1 2003/01/13 12:20:16 alex Exp $"; | ||||||
| 
 | 
 | ||||||
| #include "imp.h" | #include "imp.h" | ||||||
| #include <assert.h> | #include <assert.h> | ||||||
| @@ -8,7 +8,7 @@ | |||||||
|  * (at your option) any later version. |  * (at your option) any later version. | ||||||
|  * Please read the file COPYING, README and AUTHORS for more information. |  * Please read the file COPYING, README and AUTHORS for more information. | ||||||
|  * |  * | ||||||
|  * $Id: tool.h,v 1.9 2002/12/12 12:23:43 alex Exp $ |  * $Id: tool.h,v 1.1 2003/01/13 12:20:16 alex Exp $ | ||||||
|  * |  * | ||||||
|  * Tool functions (Header) |  * Tool functions (Header) | ||||||
|  */ |  */ | ||||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton