openbnc-cvs Mailing List for OpenBNC
Status: Beta
Brought to you by:
andrereis
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(17) |
Jun
(17) |
Jul
(35) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: Kiraly Z. <yo...@us...> - 2004-07-20 10:39:40
|
Update of /cvsroot/openbnc/openbnc/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6324/openbnc/src Modified Files: openbnc.c Log Message: fixed for *BSD Index: openbnc.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/src/openbnc.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- openbnc.c 13 Jul 2004 21:41:32 -0000 1.11 +++ openbnc.c 20 Jul 2004 10:39:31 -0000 1.12 @@ -56,11 +56,9 @@ */ #ifndef lint -static char rcsid[] = "@(#)$Id$"; #endif #define P_MAIN - #include <p_global.h> #include <p_data.h> #include <sys/types.h> @@ -77,15 +75,16 @@ SSL_load_error_strings(); OpenSSL_add_ssl_algorithms(); srvctx=SSL_CTX_new(SSLv23_server_method()); - /* setting up the server context */ + + /* setting up the server context */ if(srvctx==NULL) { - log(LOG_ERROR,-1,lngtxt(970)); + log(LOG_ERROR,-1,lngtxt(970)); exit(0x1); } if (SSL_CTX_use_certificate_file(srvctx, SSLCERT, SSL_FILETYPE_PEM) <= 0) { - log(LOG_ERROR,-1,lngtxt(971), SSLCERT); + log(LOG_ERROR,-1,lngtxt(971), SSLCERT); exit(0x1); } if (SSL_CTX_use_PrivateKey_file(srvctx, SSLKEY, SSL_FILETYPE_PEM) <= 0) @@ -95,9 +94,10 @@ } if (!SSL_CTX_check_private_key(srvctx)) { - log(LOG_ERROR,-1,lngtxt(973)); - exit(0x1); + log(LOG_ERROR,-1,lngtxt(973)); + exit(0x1); } + /* create client context */ clnctx=SSL_CTX_new(SSLv23_client_method()); if(clnctx==NULL) @@ -112,8 +112,8 @@ } if (SSL_CTX_use_PrivateKey_file(clnctx, SSLKEY, SSL_FILETYPE_PEM) <= 0) { - log(LOG_ERROR,-1,lngtxt(976), SSLKEY); - exit(4); + log(LOG_ERROR,-1,lngtxt(976), SSLKEY); + exit(4); } if (!SSL_CTX_check_private_key(clnctx)) { @@ -127,20 +127,20 @@ #endif /* alarm-loop */ - int bncalarm(void) { slice++; delayinc=1; if(slice==1) checkclients(); - else + else if(slice==2) - checklinks(); - else + checklinks(); + else if(slice==3) - { + { checkdccs(); + #ifdef TRANSLATE cleartranslates(); #endif @@ -150,75 +150,43 @@ return; } - int user_uid(char user[255]) { - - struct passwd *passwd; - - passwd=getpwnam(user); - - if ( passwd != 0 ) { - return(passwd->pw_uid); - } else { - printf("ERROR: No such user %s\n",user); - exit(127); - } -} - -int group_gid(char grp[255]) { - - struct group *group; - - group=getgrnam(grp); - - if ( group != NULL ) { - return(group->gr_gid); - } else { - printf("ERROR: No such group %s\n",grp); - exit(127); - } + + struct passwd *passwd; + + passwd=getpwnam(user); + + if ( passwd != 0 ) { + return (passwd->pw_uid); + } else { + printf("ERROR: No such user %s\n",user); + exit(127); + } } - /* main bounce-loop */ - int bncmain(void) { - unsigned long em=0; - delayinc=1; - while(1) - { - em+=socketdriver(); - if(em>=5) - { - em=0; - bncalarm(); - } - checkstonednick(); - } - return 0x0; /* i wonder how often we get here */ + unsigned long em=0; + delayinc=1; + while(1) + { + em+=socketdriver(); + if(em>=5) + { + em=0; + bncalarm(); + } + checkstonednick(); + } + return 0x0; } -/* printing the banner */ - int printbanner(void) { -/* int i; - for(i=979;i<990;i++) - { - fprintf(stdout,"%s",lngtxt(i)); - if(i==984) - fprintf(stdout,"%s", APPVER); - } - if(getuid()==0) - fprintf(stdout,lngtxt(990)); - fflush(stdout); - */ - - printf("OpenIRC Advanced IRC Bouncer\n"); - printf("Copyright (C) 2004 The OpenBNC Development Team\n"); - printf("Based on psyBNC, by 'the most psychoid'.\n"); - - return 0x0; + printf("OpenBNC - Advanced IRC Bouncer\n"); + printf("Copyright (C) The OpenBNC Development Team\n"); + printf("Based on psyBNC, by 'the most psychoid'.\n"); + return 0x0; } /* installation loop */ @@ -226,283 +194,206 @@ int main (int argc, char **argv) { - int rc; - char *pt; - char buf[200],t_pid[200]; - char *bversion; - FILE *pidfile,*conffile; - int i,t_uid,t_gid=0; -/* if(argc>1) - { - strmncpy(configfile,argv[1],sizeof(configfile)); - } else { - strcpy(configfile,"openbnc.conf"); - } */ - - - + int rc; + char *pt; + char buf[200]; + char *bversion; + FILE *pidfile,*conffile; + int i,t_uid,t_gid=0; - +/* if(argc==2) + { + strmncpy(configfile,argv[1],sizeof(configfile)); + } else { +*/ strcpy(configfile,"openbnc.conf"); - - /* Checking parametrs */ - - if ( argc > 1 ) { + +if ( argc > 1 ) { - for ( i = 1 ; i < argc ; i++ ) { - - /* --version | -v - Output APPNAME and VERSION */ - if ( !strcasecmp("--version",argv[i]) || !strcasecmp("-v",argv[i]) ) { - printf("%s %s\n",APPNAME,APPVER); - exit(0); - } - - /* --config | -c - Reading config from specify file */ - if ( !strcasecmp("--config",argv[i]) || !strcasecmp("-c",argv[i]) ) { - if ( argv[i+1] != NULL ) { - strcpy(configfile,argv[i+1]); - } else { - printf("ERROR: --config without parametr!\n"); - exit(127); - } - } - - /* --pid-file | -p - Write pid to specified file */ - if ( !strcasecmp("--pid-file",argv[i]) || !strcasecmp("-p",argv[i]) ) { - if ( argv[i+1] != NULL ) { - - if ( strlen(argv[i+1]) < 201 ) { - strcpy(t_pid,argv[i+1]); - } else { - printf("ERROR: Pid file name too long!\n"); - } - - } else { - printf("ERROR: --pid-file without parametr!\n"); - exit(127); - } - } + for ( i = 1 ; i < argc ; i++ ) { - /* --help | -h - Display Help */ if ( !strcasecmp("--help",argv[i]) || !strcasecmp("-h",argv[i]) ) { printf("%s %s\n\n",APPNAME,APPVER); printf("Options :\n"); printf("---------\n\n"); printf("-h, --help Display help and exit\n"); - printf("-v, --version Display Version and exit\n"); + printf("-v, --version Display version and exit\n"); printf("-c, --config [file] Read configuration from specified file\n"); - printf("-p, --pid-file [file] Write pid to specified file\n"); printf("-u, --user [user] Run as specific user [*]\n"); printf("-g, --group [group] Run as specific group [*]\n"); printf("-l, --user-limit Max no. of users\n"); - printf("-i, --interval Time between connection attempts to IRC server\n\n"); + printf("-i, --interval Time between connection attempts to IRC server\n\n"); exit(0); } - - /* --user | -u - Run as specific user */ + if ( !strcasecmp("--version",argv[i]) || !strcasecmp("-v",argv[i]) ) { + printf("%s %s\n",APPNAME,APPVER); + exit(0); + } + if ( !strcasecmp("--config",argv[i]) || !strcasecmp("-c",argv[i]) ) { + if ( argv[i+1] != NULL ) { + strcpy(configfile,argv[i+1]); + } else { + printf("ERROR: --config without parameter!\n"); + exit(127); + } + } if ( !strcasecmp("--user",argv[i]) || !strcasecmp("-u",argv[i]) ) { - if ( getuid() == 0 ) { - - if ( argv[i+1] != NULL ) { - t_uid = user_uid(argv[i+1]); - } else { - printf("ERROR: --user without parametr!\n"); - exit(127); - } - - } else { - - printf("Sorry only root can do that!\n"); - exit(127); - - } - + if ( argv[i+1] != NULL ) { + t_uid = user_uid(argv[i+1]); + } else { + printf("ERROR: --user without parameter!\n"); + exit(127); } + } else { - /* --group | -g - Run as specific group */ - if ( !strcasecmp("--group",argv[i]) || !strcasecmp("-g",argv[i]) ) { - - if ( getuid() == 0 ) { - - if ( argv[i+1] != NULL ) { - t_gid = group_gid(argv[i+1]); - } else { - printf("ERROR: --group without parametr!\n"); - exit(127); - } - - } else { - - printf("Sorry only root can do that!\n"); - exit(127); - - } - + printf("Sorry only root can dot that!\n"); + exit(127); } - - } - - } + } +} +} + conffile=fopen(configfile,"r"); + if(conffile==NULL) + { + printf("Configuration file %s not exist\n",conffile); + exit (0x0); + } + - - if ( t_gid != 0 ) { - setgid(t_gid); - } + /* Checking uid - if root -> exit + if ( getuid() == 0 ) { + printf("Don't run OpenBNC as root!\n"); + exit(127); + } +*/ + + fclose(conffile); + readconfig(); + rc = getini("SYSTEM","LANGUAGE",INIFILE); + if(rc!=0) + { + rc=loadlanguage("english"); + } else { + rc=loadlanguage(value); + if(rc<0) + rc=loadlanguage("english"); + } + if(rc<0) + { + printf("Could not load language file, aborting\n"); + exit(0x0); + } + printbanner(); + printf(lngtxt(991),configfile); + printf(lngtxt(992),langname); + ap_snprintf(logfile,sizeof(logfile),lngtxt(993)); + rc = getini(lngtxt(994),lngtxt(995),INIFILE); + if (rc != 0) { + printf(lngtxt(996)); + exit (0x0); + } + listenport = atoi(value); + rc = getini(lngtxt(997),"ME",INIFILE); + if (rc < 0) { + memset(value,0x0,sizeof(value)); + } + pt=strchr(value,' '); + if(pt) + *pt=0; + ap_snprintf(me,sizeof(me),"%s",value); + oldfile(logfile); + + /* creating the socket-root */ + socketnode=(struct socketnodes *) pmalloc(sizeof(struct usernodes)); + socketnode->sock=NULL; + socketnode->next=NULL; + + /* creating the daemon socket */ + rc = createlisteners(); + if (rc == 0) { + printf(lngtxt(1002)); + exit (0x0); + } + + /* creating background */ + pidfile = fopen(lngtxt(1003),"w"); + if(pidfile==NULL) + { + printf(lngtxt(1004)); + exit(0x0); + } + if(mainlog!=NULL) + { + fclose(mainlog); + mainlog=NULL; + } + fflush(stdout); + pid = fork(); + if (pid < 0) { + + } + if (pid == 0) { +// rc= errorhandlig(); + makesalt(); - if ( t_uid != 0 ) { - setuid(t_uid); - } +#ifdef HAVE_SSL + initSSL(); + pcontext; +#endif + U_CREATE=0; - /* Checking uid - IF root -> exit - - it may be really unsecure */ - - if ( getuid() == 0 ) { - printf("Don't run OpenBNC as root!\n"); - exit(127); - } +#ifdef PARTYCHANNEL + /* partychannel setup */ + strmncpy(partytopic,lngtxt(1005),sizeof(partytopic)); + partyusers=NULL; - - conffile=fopen(configfile,"r"); - if(conffile==NULL) - { - printf("Configuration File %s not found, aborting\nRun 'make menuconfig' for creating a configuration or create the file manually.\n",conffile); /* rcsid */ - exit (0x0); - } - fclose(conffile); - readconfig(); - rc = getini("SYSTEM","LANGUAGE",INIFILE); /* rcsid */ - if(rc!=0) - { - rc=loadlanguage("english"); /* rcsid */ - } else { - rc=loadlanguage(value); - if(rc<0) - rc=loadlanguage("english"); /* rcsid */ - } - if(rc<0) - { - printf("Could not load language file, aborting.\n"); /* rcsid */ - exit(0x0); - } - printbanner(); - // printf(lngtxt(991),configfile); - if ( configfile[0] != '/' ) { - printf("> Reading config file : %s/%s\n",configfile); - } else { - printf("> Reading config file : %s\n",configfile); - } - // printf(lngtxt(992),langname); - // ap_snprintf(logfile,sizeof(logfile),lngtxt(993)); - printf("> Logging set to : %s/%s",logfile); - rc = getini(lngtxt(994),lngtxt(995),INIFILE); - if (rc != 0) { - printf(lngtxt(996)); - exit (0x0); - } - listenport = atoi(value); - rc = getini(lngtxt(997),"ME",INIFILE); - if (rc < 0) { - memset(value,0x0,sizeof(value)); - } - pt=strchr(value,' '); /* shortening bouncername to no spaces */ - if(pt) - *pt=0; - ap_snprintf(me,sizeof(me),"%s",value); - rc = getini(lngtxt(998),lngtxt(999),INIFILE); - if (rc < 0) { - printf("%s \n",lngtxt(1001)); - // ap_snprintf(value,sizeof(value),lngtxt(1001)); - } - ap_snprintf(logfile,sizeof(logfile),"%s",value); - oldfile(logfile); - /* creating the socket-root */ - socketnode=(struct socketnodes *) pmalloc(sizeof(struct usernodes)); - socketnode->sock=NULL; - socketnode->next=NULL; - /* creating the demon socket */ - rc = createlisteners(); - if (rc == 0) { - printf(lngtxt(1002)); - exit (0x0); - } - /* creating background */ - - /* UGLY! */ - if ( strlen(t_pid) > 0 ) { - pidfile = fopen(t_pid,"w"); - } else { - - pidfile = fopen(lngtxt(1003),"w"); - } - - if(pidfile==NULL) - { - printf(lngtxt(1004)); - exit(0x0); - } - if(mainlog!=NULL) - { - fclose(mainlog); - mainlog=NULL; - } - fflush(stdout); - pid = fork(); - if (pid < 0) { - - } - if (pid == 0) { - rc= errorhandling(); - makesalt(); -#ifdef HAVE_SSL - initSSL(); - pcontext; #endif - U_CREATE=0; -#ifdef PARTYCHANNEL - /* partychannel setup */ - strcpy(partytopic,lngtxt(1005)); - partyusers=NULL; -#endif - /* creating the usernode-root */ - usernode=(struct usernodes *) pmalloc(sizeof(struct usernodes)); - usernode->uid=0; - usernode->user=NULL; - usernode->next=NULL; - /* creating the newpeer-root */ - peernode=(struct peernodes *) pmalloc(sizeof(struct peernodes)); - peernode->uid=0; - peernode->peer=NULL; - peernode->next=NULL; - /* creating the datalink-root */ - linknode=(struct linknodes *) pmalloc(sizeof(struct linknodes)); - linknode->uid=0; - linknode->link=NULL; - linknode->next=NULL; - /* loading the users */ - loadusers(); - loadlinks(); - pcontext; - /* loading the hostallows */ - hostallows=loadlist(lngtxt(1006),hostallows); - } - pcontext; - if (pid) { - // bversion=buildversion(); - printf("%s v%s is running (PID=%i, UID=%i, GID=%i)\n",APPNAME,APPVER,pid,getuid(),getgid()); - log(LOG_INFO,-1,lngtxt(1008),bversion,pid); - fprintf( pidfile,"%d\n",pid); - fclose(pidfile); - exit (0x0); - } - pcontext; + + /* creating the usernode-root */ + usernode=(struct usernodes *) pmalloc(sizeof(struct usernodes)); + usernode->uid=0; + usernode->user=NULL; + usernode->next=NULL; + + /* creating the newpeer-root */ + peernode=(struct peernodes *) pmalloc(sizeof(struct peernodes)); + peernode->uid=0; + peernode->peer=NULL; + peernode->next=NULL; + + /* creating the datalink-root */ + linknode=(struct linknodes *) pmalloc(sizeof(struct linknodes)); + linknode->uid=0; + linknode->link=NULL; + linknode->next=NULL; + + /* loading the users */ + loadusers(); + loadlinks(); + pcontext; + + /* loading the hostallows */ + hostallows=loadlist(lngtxt(1006),hostallows); + } + pcontext; + if (pid) { + bversion=buildversion(); + printf(lngtxt(1007),bversion,pid); + log(LOG_INFO,-1,lngtxt(1008),bversion,pid); + fprintf( pidfile,"%d\n",pid); + fclose(pidfile); + exit (0x0); + } + pcontext; + #ifndef BLOCKDNS - if(init_dns_core()==0) - { - dns_err(0,1); - } + if(init_dns_core()==0) + { + dns_err(0,1); + } #endif - bncmain(); + bncmain(); } |
From: Kiraly Z. <yo...@us...> - 2004-07-20 10:39:40
|
Update of /cvsroot/openbnc/openbnc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6324/openbnc Modified Files: Makefile Log Message: fixed for *BSD Index: Makefile =================================================================== RCS file: /cvsroot/openbnc/openbnc/Makefile,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Makefile 14 Jul 2004 09:42:01 -0000 1.7 +++ Makefile 20 Jul 2004 10:39:31 -0000 1.8 @@ -76,7 +76,7 @@ AUTOCONF = ${SHELL} /root/openbnc/missing --run autoconf AUTOHEADER = ${SHELL} /root/openbnc/missing --run autoheader AUTOMAKE = ${SHELL} /root/openbnc/missing --run automake-1.8 -AWK = nawk +AWK = awk CC = gcc CCDEPMODE = depmode=gcc CFLAGS = -g -O2 @@ -84,8 +84,8 @@ CYGPATH_W = echo DEFS = -DHAVE_CONFIG_H DEPDIR = .deps -ECHO_C = \c -ECHO_N = +ECHO_C = +ECHO_N = -n ECHO_T = EXEEXT = INSTALL_DATA = ${INSTALL} -m 644 |
From: Kiraly Z. <yo...@us...> - 2004-07-14 09:42:09
|
Update of /cvsroot/openbnc/openbnc/menuconf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25353/openbnc/menuconf Modified Files: Makefile.in Log Message: Fixed Makefile Index: Makefile.in =================================================================== RCS file: /cvsroot/openbnc/openbnc/menuconf/Makefile.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile.in 9 Jul 2004 18:45:04 -0000 1.3 +++ Makefile.in 14 Jul 2004 09:42:01 -0000 1.4 @@ -37,7 +37,7 @@ PRE_UNINSTALL = : POST_UNINSTALL = : bin_PROGRAMS = menuconf$(EXEEXT) -subdir = menuconf +subdir = DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in |
From: Kiraly Z. <yo...@us...> - 2004-07-14 09:42:09
|
Update of /cvsroot/openbnc/openbnc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25353/openbnc Modified Files: Makefile Makefile.am Makefile.in Log Message: Fixed Makefile Index: Makefile.in =================================================================== RCS file: /cvsroot/openbnc/openbnc/Makefile.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile.in 9 Jul 2004 18:45:04 -0000 1.3 +++ Makefile.in 14 Jul 2004 09:42:01 -0000 1.4 @@ -136,7 +136,7 @@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ -SUBDIRS = menuconf tools src +SUBDIRS = tools src all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive Index: Makefile.am =================================================================== RCS file: /cvsroot/openbnc/openbnc/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.am 8 Jul 2004 14:57:40 -0000 1.1 +++ Makefile.am 14 Jul 2004 09:42:01 -0000 1.2 @@ -1 +1 @@ -SUBDIRS = menuconf tools src +SUBDIRS = tools src Index: Makefile =================================================================== RCS file: /cvsroot/openbnc/openbnc/Makefile,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Makefile 13 Jul 2004 21:41:32 -0000 1.6 +++ Makefile 14 Jul 2004 09:42:01 -0000 1.7 @@ -69,13 +69,13 @@ GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print -ACLOCAL = ${SHELL} /home/yo2lux/openbnc/missing --run aclocal-1.8 +ACLOCAL = ${SHELL} /root/openbnc/missing --run aclocal-1.8 AMDEP_FALSE = # AMDEP_TRUE = -AMTAR = ${SHELL} /home/yo2lux/openbnc/missing --run tar -AUTOCONF = ${SHELL} /home/yo2lux/openbnc/missing --run autoconf -AUTOHEADER = ${SHELL} /home/yo2lux/openbnc/missing --run autoheader -AUTOMAKE = ${SHELL} /home/yo2lux/openbnc/missing --run automake-1.8 +AMTAR = ${SHELL} /root/openbnc/missing --run tar +AUTOCONF = ${SHELL} /root/openbnc/missing --run autoconf +AUTOHEADER = ${SHELL} /root/openbnc/missing --run autoheader +AUTOMAKE = ${SHELL} /root/openbnc/missing --run automake-1.8 AWK = nawk CC = gcc CCDEPMODE = depmode=gcc @@ -96,7 +96,7 @@ LIBOBJS = LIBS = LTLIBOBJS = -MAKEINFO = ${SHELL} /home/yo2lux/openbnc/missing --run makeinfo +MAKEINFO = ${SHELL} /root/openbnc/missing --run makeinfo OBJEXT = o PACKAGE = OpenBNC PACKAGE_BUGREPORT = @@ -123,7 +123,7 @@ host_alias = includedir = ${prefix}/include infodir = ${prefix}/info -install_sh = /home/yo2lux/openbnc/install-sh +install_sh = /root/openbnc/install-sh libdir = ${exec_prefix}/lib libexecdir = ${exec_prefix}/libexec localstatedir = ${prefix}/var @@ -136,7 +136,7 @@ sharedstatedir = ${prefix}/com sysconfdir = ${prefix}/etc target_alias = -SUBDIRS = menuconf tools src +SUBDIRS = tools src all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive |
From: Kiraly Z. <yo...@us...> - 2004-07-13 21:41:42
|
Update of /cvsroot/openbnc/openbnc/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19629/openbnc/src Modified Files: openbnc.c snprintf.c Log Message: Added support for *BSD Index: snprintf.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/src/snprintf.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- snprintf.c 4 Jun 2004 16:26:39 -0000 1.2 +++ snprintf.c 13 Jul 2004 21:41:32 -0000 1.3 @@ -1,1178 +1,1178 @@ -/* -OpenBNC Advanced IRC Bouncer -Copyright (C) 2004 The OpenBNC Development Team - -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. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of [...2325 lines suppressed...] + return (cc == -1) ? len : cc; +} + + +int ap_vsnprintf(char *buf, size_t len, const char *format, + va_list ap) +{ + int cc; + ap_vformatter_buff vbuff; + + if (len == 0) + return 0; + + /* save one byte for nul terminator */ + vbuff.curpos = buf; + vbuff.endpos = buf + len - 1; + cc = ap_vformatter(snprintf_flush, &vbuff, format, ap); + *vbuff.curpos = '\0'; + return (cc == -1) ? len : cc; +} Index: openbnc.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/src/openbnc.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- openbnc.c 7 Jul 2004 10:30:30 -0000 1.10 +++ openbnc.c 13 Jul 2004 21:41:32 -0000 1.11 @@ -1,155 +1,155 @@ -/* -OpenBNC Advanced IRC Bouncer -Copyright (C) 2004 The OpenBNC Development Team - -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. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -The original version of this program was developed by 'the most psychoid -and the cool lam3rz IRC Group'. - -The original copyright preamble follows: - - ************************************************************************ - * psybnc2.3.1, src/psybnc.c - * Copyright (C) 2002 the most psychoid and - * the cool lam3rz IRC Group, IRCnet - * http://www.psychoid.lam3rz.de - * - * .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-. - * ,----.,----.,-. ,-.,---.,--. ,-.,----. - * | O || ,-' \ \/ / | o || \| || ,--' - * | _/ _\ \ \ / | o< | |\ || |__ - * |_| |____/ |__| |___||_| \_| \___| - * Version 2.3.1 (c) 1999-2002 - * the most psychoid - * and the cool lam3rz Group IRCnet - * - * `-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=tCl=-' - * - * 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 1, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - -*/ - -#ifndef lint -static char rcsid[] = "@(#)$Id$"; -#endif - -#define P_MAIN - -#include <p_global.h> -#include <p_data.h> +/* +OpenBNC Advanced IRC Bouncer +Copyright (C) 2004 The OpenBNC Development Team + +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. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +The original version of this program was developed by 'the most psychoid +and the cool lam3rz IRC Group'. + +The original copyright preamble follows: + + ************************************************************************ + * psybnc2.3.1, src/psybnc.c + * Copyright (C) 2002 the most psychoid and + * the cool lam3rz IRC Group, IRCnet + * http://www.psychoid.lam3rz.de + * + * .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-. + * ,----.,----.,-. ,-.,---.,--. ,-.,----. + * | O || ,-' \ \/ / | o || \| || ,--' + * | _/ _\ \ \ / | o< | |\ || |__ + * |_| |____/ |__| |___||_| \_| \___| + * Version 2.3.1 (c) 1999-2002 + * the most psychoid + * and the cool lam3rz Group IRCnet + * + * `-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=tCl=-' + * + * 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 1, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + +*/ + +#ifndef lint +static char rcsid[] = "@(#)$Id$"; +#endif + +#define P_MAIN + +#include <p_global.h> +#include <p_data.h> #include <sys/types.h> #include <unistd.h> #include <pwd.h> #include <grp.h> - -int slice=0; - -#ifdef HAVE_SSL - -void initSSL() -{ - SSL_load_error_strings(); - OpenSSL_add_ssl_algorithms(); - srvctx=SSL_CTX_new(SSLv23_server_method()); - /* setting up the server context */ - if(srvctx==NULL) - { - log(LOG_ERROR,-1,lngtxt(970)); - exit(0x1); - } - if (SSL_CTX_use_certificate_file(srvctx, SSLCERT, SSL_FILETYPE_PEM) <= 0) - { - log(LOG_ERROR,-1,lngtxt(971), SSLCERT); - exit(0x1); - } - if (SSL_CTX_use_PrivateKey_file(srvctx, SSLKEY, SSL_FILETYPE_PEM) <= 0) - { - log(LOG_ERROR,-1,lngtxt(972), SSLKEY); - exit(0x1); - } - if (!SSL_CTX_check_private_key(srvctx)) - { - log(LOG_ERROR,-1,lngtxt(973)); - exit(0x1); - } - /* create client context */ - clnctx=SSL_CTX_new(SSLv23_client_method()); - if(clnctx==NULL) - { - log(LOG_ERROR,-1,lngtxt(974)); - exit(0x1); - } - if (SSL_CTX_use_certificate_file(clnctx, SSLCERT, SSL_FILETYPE_PEM) <= 0) - { - log(LOG_ERROR,-1,lngtxt(975), SSLCERT); - exit(3); - } - if (SSL_CTX_use_PrivateKey_file(clnctx, SSLKEY, SSL_FILETYPE_PEM) <= 0) - { - log(LOG_ERROR,-1,lngtxt(976), SSLKEY); - exit(4); - } - if (!SSL_CTX_check_private_key(clnctx)) - { - log(LOG_ERROR,-1,lngtxt(977)); - exit(5); - } - log(LOG_INFO,-1,lngtxt(978)); - return; -} - -#endif - -/* alarm-loop */ - -int bncalarm(void) -{ - slice++; - delayinc=1; - if(slice==1) - checkclients(); - else - if(slice==2) - checklinks(); - else - if(slice==3) - { - checkdccs(); -#ifdef TRANSLATE - cleartranslates(); -#endif - checkdcctimeouts(); - slice=0; - } - return; -} - + +int slice=0; + +#ifdef HAVE_SSL + +void initSSL() +{ + SSL_load_error_strings(); + OpenSSL_add_ssl_algorithms(); + srvctx=SSL_CTX_new(SSLv23_server_method()); + /* setting up the server context */ + if(srvctx==NULL) + { + log(LOG_ERROR,-1,lngtxt(970)); + exit(0x1); + } + if (SSL_CTX_use_certificate_file(srvctx, SSLCERT, SSL_FILETYPE_PEM) <= 0) + { + log(LOG_ERROR,-1,lngtxt(971), SSLCERT); + exit(0x1); + } + if (SSL_CTX_use_PrivateKey_file(srvctx, SSLKEY, SSL_FILETYPE_PEM) <= 0) + { + log(LOG_ERROR,-1,lngtxt(972), SSLKEY); + exit(0x1); + } + if (!SSL_CTX_check_private_key(srvctx)) + { + log(LOG_ERROR,-1,lngtxt(973)); + exit(0x1); + } + /* create client context */ + clnctx=SSL_CTX_new(SSLv23_client_method()); + if(clnctx==NULL) + { + log(LOG_ERROR,-1,lngtxt(974)); + exit(0x1); + } + if (SSL_CTX_use_certificate_file(clnctx, SSLCERT, SSL_FILETYPE_PEM) <= 0) + { + log(LOG_ERROR,-1,lngtxt(975), SSLCERT); + exit(3); + } + if (SSL_CTX_use_PrivateKey_file(clnctx, SSLKEY, SSL_FILETYPE_PEM) <= 0) + { + log(LOG_ERROR,-1,lngtxt(976), SSLKEY); + exit(4); + } + if (!SSL_CTX_check_private_key(clnctx)) + { + log(LOG_ERROR,-1,lngtxt(977)); + exit(5); + } + log(LOG_INFO,-1,lngtxt(978)); + return; +} + +#endif + +/* alarm-loop */ + +int bncalarm(void) +{ + slice++; + delayinc=1; + if(slice==1) + checkclients(); + else + if(slice==2) + checklinks(); + else + if(slice==3) + { + checkdccs(); +#ifdef TRANSLATE + cleartranslates(); +#endif + checkdcctimeouts(); + slice=0; + } + return; +} + int user_uid(char user[255]) { @@ -180,63 +180,63 @@ } -/* main bounce-loop */ - -int bncmain(void) { - unsigned long em=0; - delayinc=1; - while(1) - { - em+=socketdriver(); - if(em>=5) - { - em=0; - bncalarm(); - } - checkstonednick(); - } - return 0x0; /* i wonder how often we get here */ -} - -/* printing the banner */ - -int printbanner(void) -{ -/* int i; - for(i=979;i<990;i++) - { - fprintf(stdout,"%s",lngtxt(i)); - if(i==984) - fprintf(stdout,"%s", APPVER); - } - if(getuid()==0) - fprintf(stdout,lngtxt(990)); - fflush(stdout); +/* main bounce-loop */ + +int bncmain(void) { + unsigned long em=0; + delayinc=1; + while(1) + { + em+=socketdriver(); + if(em>=5) + { + em=0; + bncalarm(); + } + checkstonednick(); + } + return 0x0; /* i wonder how often we get here */ +} + +/* printing the banner */ + +int printbanner(void) +{ +/* int i; + for(i=979;i<990;i++) + { + fprintf(stdout,"%s",lngtxt(i)); + if(i==984) + fprintf(stdout,"%s", APPVER); + } + if(getuid()==0) + fprintf(stdout,lngtxt(990)); + fflush(stdout); */ printf("OpenIRC Advanced IRC Bouncer\n"); printf("Copyright (C) 2004 The OpenBNC Development Team\n"); printf("Based on psyBNC, by 'the most psychoid'.\n"); - return 0x0; -} - -/* installation loop */ - -int -main (int argc, char **argv) -{ - int rc; - char *pt; - char buf[200],t_pid[200]; - char *bversion; - FILE *pidfile,*conffile; - int i,t_uid,t_gid=0; -/* if(argc>1) - { - strmncpy(configfile,argv[1],sizeof(configfile)); - } else { - strcpy(configfile,"openbnc.conf"); + return 0x0; +} + +/* installation loop */ + +int +main (int argc, char **argv) +{ + int rc; + char *pt; + char buf[200],t_pid[200]; + char *bversion; + FILE *pidfile,*conffile; + int i,t_uid,t_gid=0; +/* if(argc>1) + { + strmncpy(configfile,argv[1],sizeof(configfile)); + } else { + strcpy(configfile,"openbnc.conf"); } */ @@ -365,70 +365,70 @@ - conffile=fopen(configfile,"r"); - if(conffile==NULL) - { - printf("Configuration File %s not found, aborting\nRun 'make menuconfig' for creating a configuration or create the file manually.\n",conffile); /* rcsid */ - exit (0x0); - } - fclose(conffile); - readconfig(); - rc = getini("SYSTEM","LANGUAGE",INIFILE); /* rcsid */ - if(rc!=0) - { - rc=loadlanguage("english"); /* rcsid */ - } else { - rc=loadlanguage(value); - if(rc<0) - rc=loadlanguage("english"); /* rcsid */ - } - if(rc<0) - { - printf("Could not load language file, aborting.\n"); /* rcsid */ - exit(0x0); - } - printbanner(); - // printf(lngtxt(991),configfile); + conffile=fopen(configfile,"r"); + if(conffile==NULL) + { + printf("Configuration File %s not found, aborting\nRun 'make menuconfig' for creating a configuration or create the file manually.\n",conffile); /* rcsid */ + exit (0x0); + } + fclose(conffile); + readconfig(); + rc = getini("SYSTEM","LANGUAGE",INIFILE); /* rcsid */ + if(rc!=0) + { + rc=loadlanguage("english"); /* rcsid */ + } else { + rc=loadlanguage(value); + if(rc<0) + rc=loadlanguage("english"); /* rcsid */ + } + if(rc<0) + { + printf("Could not load language file, aborting.\n"); /* rcsid */ + exit(0x0); + } + printbanner(); + // printf(lngtxt(991),configfile); if ( configfile[0] != '/' ) { - printf("> Reading config file : %s/%s\n",get_current_dir_name(),configfile); + printf("> Reading config file : %s/%s\n",configfile); } else { printf("> Reading config file : %s\n",configfile); } - // printf(lngtxt(992),langname); - // ap_snprintf(logfile,sizeof(logfile),lngtxt(993)); - printf("> Logging set to : %s/%s",get_current_dir_name(),logfile); - rc = getini(lngtxt(994),lngtxt(995),INIFILE); - if (rc != 0) { - printf(lngtxt(996)); - exit (0x0); - } - listenport = atoi(value); - rc = getini(lngtxt(997),"ME",INIFILE); - if (rc < 0) { - memset(value,0x0,sizeof(value)); - } - pt=strchr(value,' '); /* shortening bouncername to no spaces */ - if(pt) - *pt=0; - ap_snprintf(me,sizeof(me),"%s",value); - rc = getini(lngtxt(998),lngtxt(999),INIFILE); - if (rc < 0) { - printf("%s \n",lngtxt(1001)); - // ap_snprintf(value,sizeof(value),lngtxt(1001)); - } - ap_snprintf(logfile,sizeof(logfile),"%s",value); - oldfile(logfile); - /* creating the socket-root */ - socketnode=(struct socketnodes *) pmalloc(sizeof(struct usernodes)); - socketnode->sock=NULL; - socketnode->next=NULL; - /* creating the demon socket */ - rc = createlisteners(); - if (rc == 0) { - printf(lngtxt(1002)); - exit (0x0); - } - /* creating background */ + // printf(lngtxt(992),langname); + // ap_snprintf(logfile,sizeof(logfile),lngtxt(993)); + printf("> Logging set to : %s/%s",logfile); + rc = getini(lngtxt(994),lngtxt(995),INIFILE); + if (rc != 0) { + printf(lngtxt(996)); + exit (0x0); + } + listenport = atoi(value); + rc = getini(lngtxt(997),"ME",INIFILE); + if (rc < 0) { + memset(value,0x0,sizeof(value)); + } + pt=strchr(value,' '); /* shortening bouncername to no spaces */ + if(pt) + *pt=0; + ap_snprintf(me,sizeof(me),"%s",value); + rc = getini(lngtxt(998),lngtxt(999),INIFILE); + if (rc < 0) { + printf("%s \n",lngtxt(1001)); + // ap_snprintf(value,sizeof(value),lngtxt(1001)); + } + ap_snprintf(logfile,sizeof(logfile),"%s",value); + oldfile(logfile); + /* creating the socket-root */ + socketnode=(struct socketnodes *) pmalloc(sizeof(struct usernodes)); + socketnode->sock=NULL; + socketnode->next=NULL; + /* creating the demon socket */ + rc = createlisteners(); + if (rc == 0) { + printf(lngtxt(1002)); + exit (0x0); + } + /* creating background */ /* UGLY! */ if ( strlen(t_pid) > 0 ) { @@ -438,72 +438,71 @@ pidfile = fopen(lngtxt(1003),"w"); } - if(pidfile==NULL) - { - printf(lngtxt(1004)); - exit(0x0); - } - if(mainlog!=NULL) - { - fclose(mainlog); - mainlog=NULL; - } - fflush(stdout); - pid = fork(); - if (pid < 0) { - - } - if (pid == 0) { - rc= errorhandling(); - makesalt(); -#ifdef HAVE_SSL - initSSL(); - pcontext; -#endif - U_CREATE=0; -#ifdef PARTYCHANNEL - /* partychannel setup */ - strcpy(partytopic,lngtxt(1005)); - partyusers=NULL; -#endif - /* creating the usernode-root */ - usernode=(struct usernodes *) pmalloc(sizeof(struct usernodes)); - usernode->uid=0; - usernode->user=NULL; - usernode->next=NULL; - /* creating the newpeer-root */ - peernode=(struct peernodes *) pmalloc(sizeof(struct peernodes)); - peernode->uid=0; - peernode->peer=NULL; - peernode->next=NULL; - /* creating the datalink-root */ - linknode=(struct linknodes *) pmalloc(sizeof(struct linknodes)); - linknode->uid=0; - linknode->link=NULL; - linknode->next=NULL; - /* loading the users */ - loadusers(); - loadlinks(); - pcontext; - /* loading the hostallows */ - hostallows=loadlist(lngtxt(1006),hostallows); - } - pcontext; - if (pid) { - // bversion=buildversion(); - printf("%s v%s is running (PID=%i, UID=%i, GID=%i)\n",APPNAME,APPVER,pid,getuid(),getgid()); - log(LOG_INFO,-1,lngtxt(1008),bversion,pid); - fprintf( pidfile,"%d\n",pid); - fclose(pidfile); - exit (0x0); - } - pcontext; -#ifndef BLOCKDNS - if(init_dns_core()==0) - { - dns_err(0,1); - } -#endif - bncmain(); -} - + if(pidfile==NULL) + { + printf(lngtxt(1004)); + exit(0x0); + } + if(mainlog!=NULL) + { + fclose(mainlog); + mainlog=NULL; + } + fflush(stdout); + pid = fork(); + if (pid < 0) { + + } + if (pid == 0) { + rc= errorhandling(); + makesalt(); +#ifdef HAVE_SSL + initSSL(); + pcontext; +#endif + U_CREATE=0; +#ifdef PARTYCHANNEL + /* partychannel setup */ + strcpy(partytopic,lngtxt(1005)); + partyusers=NULL; +#endif + /* creating the usernode-root */ + usernode=(struct usernodes *) pmalloc(sizeof(struct usernodes)); + usernode->uid=0; + usernode->user=NULL; + usernode->next=NULL; + /* creating the newpeer-root */ + peernode=(struct peernodes *) pmalloc(sizeof(struct peernodes)); + peernode->uid=0; + peernode->peer=NULL; + peernode->next=NULL; + /* creating the datalink-root */ + linknode=(struct linknodes *) pmalloc(sizeof(struct linknodes)); + linknode->uid=0; + linknode->link=NULL; + linknode->next=NULL; + /* loading the users */ + loadusers(); + loadlinks(); + pcontext; + /* loading the hostallows */ + hostallows=loadlist(lngtxt(1006),hostallows); + } + pcontext; + if (pid) { + // bversion=buildversion(); + printf("%s v%s is running (PID=%i, UID=%i, GID=%i)\n",APPNAME,APPVER,pid,getuid(),getgid()); + log(LOG_INFO,-1,lngtxt(1008),bversion,pid); + fprintf( pidfile,"%d\n",pid); + fclose(pidfile); + exit (0x0); + } + pcontext; +#ifndef BLOCKDNS + if(init_dns_core()==0) + { + dns_err(0,1); + } +#endif + bncmain(); +} |
From: Kiraly Z. <yo...@us...> - 2004-07-13 21:41:41
|
Update of /cvsroot/openbnc/openbnc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19629/openbnc Modified Files: Makefile config.h targets.mak Log Message: Added support for *BSD Index: config.h =================================================================== RCS file: /cvsroot/openbnc/openbnc/config.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- config.h 12 Jul 2004 18:01:36 -0000 1.3 +++ config.h 13 Jul 2004 21:41:32 -0000 1.4 @@ -1,72 +1,41 @@ -/* - * Configuration file for OpenBNC, created by menuconf - */ - -/* Encryption */ - -#define CRYPT - -/* Encryption Type*/ - -#define BLOWFISH - -/* Allow Translation */ - -#define TRANSLATE - -/* Allow internal network */ - -#define INTNET - -/* Allow traffic logging */ - -#define TRAFFICLOG - -/* Allow linkage of bouncers */ - -#define LINKAGE - -/* Allow the dcc File-Functions */ - -#define DCCFILES - -/* Pipe dcc Chats */ - -#define DCCCHAT - -/* Allow to add more users */ - -#define MULTIUSER - -/* Number of max. Users */ - +/* config.h. Generated by configure. */ +/* config.h.in. Generated from configure.in by autoheader. */ +#define CRYPT +#define BLOWFISH +#define TRANSLATE +#define INTNET +#define TRAFFICLOG +#define LINKAGE +#define DCCFILES +#define DCCCHAT +#define MULTIUSER #define MAXUSER 20 - -/* Number of max. Connections per User */ - #define MAXCONN 50 +#define SCRIPTING +#define BLOCKDNS +#define NETWORK +#define PROXYS +#define LOGLEVEL 0 +#define SSLSEC 2 -/* Allow the usage of scripts */ - -#define SCRIPTING - -/* Use blocking DNS */ - -#define BLOCKDNS - -/* Allow multiple irc connections per user */ - -#define NETWORK -/* Allow Proxy Support */ +/* Name of package */ +#define PACKAGE "OpenBNC" -#define PROXYS +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" -/* The logging level */ +/* Define to the full name of this package. */ +#define PACKAGE_NAME "" -#define LOGLEVEL 0 +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "" -/* SSL-Security */ +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "" -#define SSLSEC 2 +/* Define to the version of this package. */ +#define PACKAGE_VERSION "" +/* Version number of package */ +#define VERSION "1.0" Index: targets.mak =================================================================== RCS file: /cvsroot/openbnc/openbnc/targets.mak,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- targets.mak 13 Jul 2004 18:42:24 -0000 1.3 +++ targets.mak 13 Jul 2004 21:41:32 -0000 1.4 @@ -60,6 +60,7 @@ $(SRC)p_script.o : $(SRC)p_script.c $(SRC)p_global.h config.h $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_script.c -o $(SRC)p_script.o + $(SRC)p_topology.o : $(SRC)p_topology.c $(SRC)p_global.h config.h $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_topology.c -o $(SRC)p_topology.o Index: Makefile =================================================================== RCS file: /cvsroot/openbnc/openbnc/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Makefile 9 Jul 2004 18:45:04 -0000 1.5 +++ Makefile 13 Jul 2004 21:41:32 -0000 1.6 @@ -21,7 +21,7 @@ pkgincludedir = $(includedir)/OpenBNC top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = /bin/install -c +INSTALL = /usr/bin/install -c install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c @@ -69,23 +69,23 @@ GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print -ACLOCAL = ${SHELL} /home/shm/projekty/openbnc/missing --run aclocal-1.8 +ACLOCAL = ${SHELL} /home/yo2lux/openbnc/missing --run aclocal-1.8 AMDEP_FALSE = # AMDEP_TRUE = -AMTAR = ${SHELL} /home/shm/projekty/openbnc/missing --run tar -AUTOCONF = ${SHELL} /home/shm/projekty/openbnc/missing --run autoconf -AUTOHEADER = ${SHELL} /home/shm/projekty/openbnc/missing --run autoheader -AUTOMAKE = ${SHELL} /home/shm/projekty/openbnc/missing --run automake-1.8 -AWK = gawk +AMTAR = ${SHELL} /home/yo2lux/openbnc/missing --run tar +AUTOCONF = ${SHELL} /home/yo2lux/openbnc/missing --run autoconf +AUTOHEADER = ${SHELL} /home/yo2lux/openbnc/missing --run autoheader +AUTOMAKE = ${SHELL} /home/yo2lux/openbnc/missing --run automake-1.8 +AWK = nawk CC = gcc -CCDEPMODE = depmode=gcc3 +CCDEPMODE = depmode=gcc CFLAGS = -g -O2 CPPFLAGS = CYGPATH_W = echo DEFS = -DHAVE_CONFIG_H DEPDIR = .deps -ECHO_C = -ECHO_N = -n +ECHO_C = \c +ECHO_N = ECHO_T = EXEEXT = INSTALL_DATA = ${INSTALL} -m 644 @@ -96,7 +96,7 @@ LIBOBJS = LIBS = LTLIBOBJS = -MAKEINFO = ${SHELL} /home/shm/projekty/openbnc/missing --run makeinfo +MAKEINFO = ${SHELL} /home/yo2lux/openbnc/missing --run makeinfo OBJEXT = o PACKAGE = OpenBNC PACKAGE_BUGREPORT = @@ -111,8 +111,8 @@ VERSION = 1.0 ac_ct_CC = gcc ac_ct_STRIP = -am__fastdepCC_FALSE = # -am__fastdepCC_TRUE = +am__fastdepCC_FALSE = +am__fastdepCC_TRUE = # am__include = include am__leading_dot = . am__quote = @@ -123,12 +123,12 @@ host_alias = includedir = ${prefix}/include infodir = ${prefix}/info -install_sh = /home/shm/projekty/openbnc/install-sh +install_sh = /home/yo2lux/openbnc/install-sh libdir = ${exec_prefix}/lib libexecdir = ${exec_prefix}/libexec localstatedir = ${prefix}/var mandir = ${prefix}/man -mkdir_p = mkdir -p -- . +mkdir_p = $(mkinstalldirs) oldincludedir = /usr/include prefix = /usr/local program_transform_name = s,x,x, |
From: Kiraly Z. <yo...@us...> - 2004-07-13 18:42:34
|
Update of /cvsroot/openbnc/openbnc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9460/openbnc Modified Files: targets.mak Log Message: ^M Things removed for *BSD Index: targets.mak =================================================================== RCS file: /cvsroot/openbnc/openbnc/targets.mak,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- targets.mak 9 Jun 2004 08:53:50 -0000 1.2 +++ targets.mak 13 Jul 2004 18:42:24 -0000 1.3 @@ -1,83 +1,84 @@ -$(SRC)p_blowfish.o : $(SRC)p_blowfish.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_blowfish.c -o $(SRC)p_blowfish.o - -$(SRC)p_client.o : $(SRC)p_client.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_client.c -o $(SRC)p_client.o - -$(SRC)p_crypt.o : $(SRC)p_crypt.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_crypt.c -o $(SRC)p_crypt.o - -$(SRC)p_dcc.o : $(SRC)p_dcc.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_dcc.c -o $(SRC)p_dcc.o - -$(SRC)p_hash.o : $(SRC)p_hash.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_hash.c -o $(SRC)p_hash.o - -$(SRC)p_idea.o : $(SRC)p_idea.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_idea.c -o $(SRC)p_idea.o - -$(SRC)p_inifunc.o : $(SRC)p_inifunc.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_inifunc.c -o $(SRC)p_inifunc.o - -$(SRC)p_link.o : $(SRC)p_link.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_link.c -o $(SRC)p_link.o - -$(SRC)p_log.o : $(SRC)p_log.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_log.c -o $(SRC)p_log.o - -$(SRC)p_memory.o : $(SRC)p_memory.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_memory.c -o $(SRC)p_memory.o - -$(SRC)p_network.o : $(SRC)p_network.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_network.c -o $(SRC)p_network.o - -$(SRC)p_translate.o : $(SRC)p_translate.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_translate.c -o $(SRC)p_translate.o - -$(SRC)p_parse.o : $(SRC)p_parse.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_parse.c -o $(SRC)p_parse.o - -$(SRC)p_peer.o : $(SRC)p_peer.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_peer.c -o $(SRC)p_peer.o - -$(SRC)p_server.o : $(SRC)p_server.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_server.c -o $(SRC)p_server.o - -$(SRC)p_socket.o : $(SRC)p_socket.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_socket.c -o $(SRC)p_socket.o - -$(SRC)p_string.o : $(SRC)p_string.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_string.c -o $(SRC)p_string.o - -$(SRC)p_sysmsg.o : $(SRC)p_sysmsg.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_sysmsg.c -o $(SRC)p_sysmsg.o - -$(SRC)p_userfile.o : $(SRC)p_userfile.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_userfile.c -o $(SRC)p_userfile.o - -$(SRC)p_uchannel.o : $(SRC)p_uchannel.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_uchannel.c -o $(SRC)p_uchannel.o - -$(SRC)p_script.o : $(SRC)p_script.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_script.c -o $(SRC)p_script.o - -$(SRC)p_topology.o : $(SRC)p_topology.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_topology.c -o $(SRC)p_topology.o - -$(SRC)p_intnet.o : $(SRC)p_intnet.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_intnet.c -o $(SRC)p_intnet.o - -$(SRC)p_coredns.o : $(SRC)p_coredns.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_coredns.c -o $(SRC)p_coredns.o - -$(SRC)openbnc.o : $(SRC)openbnc.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)openbnc.c -o $(SRC)openbnc.o - -$(SRC)match.o : $(SRC)match.c - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)match.c -o $(SRC)match.o - -$(SRC)snprintf.o : $(SRC)snprintf.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)snprintf.c -o $(SRC)snprintf.o - -$(SRC)bsd-setenv.o : $(SRC)bsd-setenv.c $(SRC)p_global.h config.h - $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)bsd-setenv.c -o $(SRC)bsd-setenv.o +$(SRC)p_blowfish.o : $(SRC)p_blowfish.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_blowfish.c -o $(SRC)p_blowfish.o + +$(SRC)p_client.o : $(SRC)p_client.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_client.c -o $(SRC)p_client.o + +$(SRC)p_crypt.o : $(SRC)p_crypt.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_crypt.c -o $(SRC)p_crypt.o + +$(SRC)p_dcc.o : $(SRC)p_dcc.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_dcc.c -o $(SRC)p_dcc.o + +$(SRC)p_hash.o : $(SRC)p_hash.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_hash.c -o $(SRC)p_hash.o + +$(SRC)p_idea.o : $(SRC)p_idea.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_idea.c -o $(SRC)p_idea.o + +$(SRC)p_inifunc.o : $(SRC)p_inifunc.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_inifunc.c -o $(SRC)p_inifunc.o + +$(SRC)p_link.o : $(SRC)p_link.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_link.c -o $(SRC)p_link.o + +$(SRC)p_log.o : $(SRC)p_log.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_log.c -o $(SRC)p_log.o + +$(SRC)p_memory.o : $(SRC)p_memory.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_memory.c -o $(SRC)p_memory.o + +$(SRC)p_network.o : $(SRC)p_network.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_network.c -o $(SRC)p_network.o + +$(SRC)p_translate.o : $(SRC)p_translate.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_translate.c -o $(SRC)p_translate.o + +$(SRC)p_parse.o : $(SRC)p_parse.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_parse.c -o $(SRC)p_parse.o + +$(SRC)p_peer.o : $(SRC)p_peer.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_peer.c -o $(SRC)p_peer.o + +$(SRC)p_server.o : $(SRC)p_server.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_server.c -o $(SRC)p_server.o + +$(SRC)p_socket.o : $(SRC)p_socket.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_socket.c -o $(SRC)p_socket.o + +$(SRC)p_string.o : $(SRC)p_string.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_string.c -o $(SRC)p_string.o + +$(SRC)p_sysmsg.o : $(SRC)p_sysmsg.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_sysmsg.c -o $(SRC)p_sysmsg.o + +$(SRC)p_userfile.o : $(SRC)p_userfile.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_userfile.c -o $(SRC)p_userfile.o + +$(SRC)p_uchannel.o : $(SRC)p_uchannel.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_uchannel.c -o $(SRC)p_uchannel.o + +$(SRC)p_script.o : $(SRC)p_script.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_script.c -o $(SRC)p_script.o + +$(SRC)p_topology.o : $(SRC)p_topology.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_topology.c -o $(SRC)p_topology.o + +$(SRC)p_intnet.o : $(SRC)p_intnet.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_intnet.c -o $(SRC)p_intnet.o + +$(SRC)p_coredns.o : $(SRC)p_coredns.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)p_coredns.c -o $(SRC)p_coredns.o + +$(SRC)openbnc.o : $(SRC)openbnc.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)openbnc.c -o $(SRC)openbnc.o + +$(SRC)match.o : $(SRC)match.c + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)match.c -o $(SRC)match.o + +$(SRC)snprintf.o : $(SRC)snprintf.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)snprintf.c -o $(SRC)snprintf.o + +$(SRC)bsd-setenv.o : $(SRC)bsd-setenv.c $(SRC)p_global.h config.h + $(CC) $(INCLUDE) -c $(CFLAGS) $(DEFINE) $(SRC)bsd-setenv.c -o $(SRC)bsd-setenv.o + \ No newline at end of file |
From: Mateusz K. <sh...@us...> - 2004-07-13 17:35:28
|
Update of /cvsroot/openbnc/openbnc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27749/openbnc Modified Files: old.sh Log Message: Index: old.sh =================================================================== RCS file: /cvsroot/openbnc/openbnc/old.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- old.sh 9 Jul 2004 18:53:03 -0000 1.1 +++ old.sh 13 Jul 2004 17:35:20 -0000 1.2 @@ -1,5 +1,7 @@ #! /bin/sh -gcc -I../ -I../src/ -o tools/autoconf tools/autoconf.c +cd tools +gcc -I../ -I../src/ -o autoconf autoconf.c +cd .. tools/autoconf make -f makefile.out |
From: Mateusz K. <sh...@us...> - 2004-07-12 18:01:51
|
Update of /cvsroot/openbnc/openbnc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8522/openbnc Modified Files: config.h Added Files: depcomp Log Message: Index: config.h =================================================================== RCS file: /cvsroot/openbnc/openbnc/config.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- config.h 9 Jul 2004 14:32:57 -0000 1.2 +++ config.h 12 Jul 2004 18:01:36 -0000 1.3 @@ -1,41 +1,72 @@ -/* config.h. Generated by configure. */ -/* config.h.in. Generated from configure.in by autoheader. */ -#define CRYPT -#define BLOWFISH -#define TRANSLATE -#define INTNET -#define TRAFFICLOG -#define LINKAGE -#define DCCFILES -#define DCCCHAT -#define MULTIUSER +/* + * Configuration file for OpenBNC, created by menuconf + */ + +/* Encryption */ + +#define CRYPT + +/* Encryption Type*/ + +#define BLOWFISH + +/* Allow Translation */ + +#define TRANSLATE + +/* Allow internal network */ + +#define INTNET + +/* Allow traffic logging */ + +#define TRAFFICLOG + +/* Allow linkage of bouncers */ + +#define LINKAGE + +/* Allow the dcc File-Functions */ + +#define DCCFILES + +/* Pipe dcc Chats */ + +#define DCCCHAT + +/* Allow to add more users */ + +#define MULTIUSER + +/* Number of max. Users */ + #define MAXUSER 20 + +/* Number of max. Connections per User */ + #define MAXCONN 50 -#define SCRIPTING -#define BLOCKDNS -#define NETWORK -#define PROXYS -#define LOGLEVEL 0 -#define SSLSEC 2 +/* Allow the usage of scripts */ -/* Name of package */ -#define PACKAGE "OpenBNC" +#define SCRIPTING -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "" +/* Use blocking DNS */ -/* Define to the full name of this package. */ -#define PACKAGE_NAME "" +#define BLOCKDNS -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "" +/* Allow multiple irc connections per user */ -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "" +#define NETWORK -/* Define to the version of this package. */ -#define PACKAGE_VERSION "" +/* Allow Proxy Support */ + +#define PROXYS + +/* The logging level */ + +#define LOGLEVEL 0 + +/* SSL-Security */ + +#define SSLSEC 2 -/* Version number of package */ -#define VERSION "1.0" --- NEW FILE: depcomp --- #! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2003-11-08.23 # Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc. # 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, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva <ol...@dc...>. case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to <bug...@gn...>. EOF exit 0 ;; -v | --v*) echo "depcomp $scriptversion" exit 0 ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # `libtool' can also be set to `yes' or `no'. if test -z "$depfile"; then base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'` dir=`echo "$object" | sed 's,/.*$,/,'` if test "$dir" = "$object"; then dir= fi # FIXME: should be _deps on DOS. depfile="$dir.deps/$base" fi tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` tmpdepfile="$stripped.u" if test "$libtool" = yes; then "$@" -Wc,-M else "$@" -M fi stat=$? if test -f "$tmpdepfile"; then : else stripped=`echo "$stripped" | sed 's,^.*/,,'` tmpdepfile="$stripped.u" fi if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi if test -f "$tmpdepfile"; then outname="$stripped.o" # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1="$dir.libs/$base.lo.d" tmpdepfile2="$dir.libs/$base.d" "$@" -Wc,-MD else tmpdepfile1="$dir$base.o.d" tmpdepfile2="$dir$base.d" "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi if test -f "$tmpdepfile1"; then tmpdepfile="$tmpdepfile1" else tmpdepfile="$tmpdepfile2" fi if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix="`echo $object | sed 's/^.*\././'`" touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: |
From: Andre R. <and...@us...> - 2004-07-10 15:58:48
|
Update of /cvsroot/openbnc/openbnc/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14449 Added Files: Steely.css manual.html Log Message: Comitting manual and stylesheet. --- NEW FILE: Steely.css --- /* The W3C Core Styles Copyright (c) 1998 W3C (mit, inria, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. See http://www.w3.org/Consortium/Legal/ipr-notice.html This stylesheet has been served in a form to avoid known bugs in your user agent's css implementation. Copying and serving this stylesheet to other agents may lead to unexpected results. Please refer to its address rather than copy it. */ /* WinNS4 */ /* WinNS4 */ h1, h2, h3, h4, h5, h6, th, dt { font-family: Tahoma, Verdana, 'Myriad Web', Syntax, sans-serif; } /* WinNS4 */ p, div, ul, dl, dt, dd, pre, ol, li, blockquote, address { color: black; } /* begin affordances */ /* 1 - blue orange */ a, address, blockquote, body, cite, code, dd, del, dfn, div, dl, dt, em, form, h1, h2, h3, h4, h5, h6, iframe, img, kbd, li, object, ol, p, q, samp, small, span, strong, sub, sup, ul, var, applet, big, center, dir, font, hr, menu, pre, abbr, acronym, bdo, button, fieldset, ins, label { word-spacing: normal; letter-spacing: normal; text-transform: none; text-decoration: none; border-color: #036; border-style: none; } body { color: black; background: white; } em { font-style: normal; font-weight: bold; color: black; background: white; } strong { font-style: italic; background: white; font-weight: bold; color: black; } em strong, strong em { text-transform: uppercase; font-style: normal; font-weight: bolder; background: white; color: black; } b { font-weight: bold; } i { font-style: italic; } .warning { text-transform: none; font-style: normal; font-weight: bolder; background: yellow; color: black; } del { text-decoration: line-through; background: #F66; } ins { text-decoration: none; background: yellow; } var, cite, dfn, .note { font-style: italic; } address { font-style: normal; letter-spacing: .1em; } acronym { font-variant: small-caps; letter-spacing: 0.1em; } h1, h2, h3, h4, h5, h6, dt, th, thead, tfoot { color: #036; background: white; } hr { color: #036; } #colophon { display: none; } col, colgroup, table, tbody, td, tr { color: black; text-decoration: none; border-color: black; border-style: none; background: white; } a:link { text-decoration: none; font-weight: bold; color: #F30; background: white; } a:visited { text-decoration: none; font-weight: bold; color: #996; background: white; } a:active { text-decoration: none; font-weight: bold; color: #F30; background: #FF0; } a:hover { text-decoration: none; color: #F30; background: white; } a.offsite { text-decoration: none; font-weight: normal; color: #C30; background: white; } /* end affordances */ /* WinNS4 */ /* WinNS4 */ /* WinNS4 */ /* begin body box */ /* 1 - 'em-based symmetric a' */ body { margin-top: 1.58em; margin-left: 1.58em; margin-right: 1ex; margin-bottom: 1.58em; padding-top: 0; padding-left: 0; padding-right: 0; padding-bottom: 0; border-top: 0; border-left: 0; border-bottom: 0; border-right: 0; width: auto; } /* end body box */ --- NEW FILE: manual.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>OpenBNC Manual</title> <!-- <link rel="stylesheet" href="http://www.w3.org/StyleSheets/Core/Steely" type="text/css"> --> <link href="Steely.css" rel="stylesheet" type="text/css"> </head> <body> <h2>OpenBNC Manual</h2> <h5>A comprehensive manual for OpenBNC users.<br /> </h5> <p> </p> <dl> <dt>Authors: <dd>Andre Reis (<a href="mailto:andrereis%20at%20users%20dot%20sourceforge%20dot%20net">andrereis at users dot sourceforge dot net</a>) </dl> <h3> </h3> <h3><br /> Table of Contents</h3> <p><A HREF="#abstract">Abstract</A><BR> <A HREF="#state">State of this document</A><BR> <BR> <A HREF="#installation">1 Installation</A><BR> <A HREF="#configure">1.1 './configure' options </A><BR> <A HREF="#configscript">1.2 The 'config.sh' script</A><BR> <A HREF="#make">1.3 'make' and 'make install'</A><BR> <BR> <A HREF="#configuration">2 Configuration</A><BR> <A HREF="#conffile">2.1 The 'openbnc.conf' file<br> </A><A HREF="#migrating">2.1.1 Migrating from an old psyBNC installation</A><BR> <A HREF="#cmdline">2.2 Command-line options </A><BR> <A HREF="#motd">2.3 </A><A HREF="#motd">Displaying a custom Message Of The Day (MOTD)</A><BR> <A HREF="#usage"><br> 3 Usage</A><BR> <A HREF="#quickstart">3.1 Quick start guide</A><BR> <A HREF="#commands">3.2 Detailed list of available commands</A><br> <BR> <A HREF="#troubleshooting">4 Troubleshooting</A></p> <h3> </h3> <h3><a name="abstract" id="abstract"></a>Abstract</h3> <p>This is a manual for the OpenBNC Advanced IRC Bouncer, available at <a href="http://openbnc.sourceforge.net" class="offsite">http://openbnc.sourceforge.net</a>. </p> <h3><a name="state" id="state"></a>State of this document</h3> <p>This manual is valid for OpenBNC version 1.1. It may be partially valid for previous and future releases of OpenBNC, but it is not guaranteed to. </p> <h3> </h3> <h3><a name="installation"></a>1 - Installation</h3> <p>OpenBNC follows the './configure && make && make install' scheme.</p> <p><span class="note">By specifying ./configure without parameters, you will obtain a binary with all modules compiled into it, and Blowfish as the default encryption type.</span></p> <h4><a name="configure"></a>1.1 - './configure' options</h4> <p>The following parameters can be passed to './configure':</p> <p><dl> <dt>--disable-enc</dt> <dd>Disables encryption features.</dd> <dt>--enc-type=[blowfish,idea]</dt> <dd>Specifies the encryption used. Choose only one.</dd> <dt>--disable-translation</dt> <dd>Disables the Translation module.</dd> <dt>--disable-intnet</dt> <dd>Rejects connections to the bouncer from local network IP addresses.</dd> <dt>--disable-logging</dt> <dd>Disables user traffic logging.</dd> <dt>--disable-links</dt> <dd>Disables Bouncer Linkage.</dd> <dt>--disable-dcc</dt> <dd>Disables DCC Transfers and DCC Chats.</dd> <dt>--disable-script</dt> <dd>Disables the scripting capabilities.</dd> <dt>--disable-oidentd (??)</dt> <dd>Disables the ident daemon. (??)</dd> <dt>--disable-multinet</dt> <dd>Restricts users to a single network at a time.</dd> <dt>--disable-proxy</dt> <dd>Disables proxy server support.</dd> <dt>--disable-persistent</dt> <dd>Act as a simple IRC proxy, not maintaining connections.</dd> <dt>--disable-ssl</dt> <dd>Disables SSL support to connect to SSL-enabled servers.</dd> <dt>--ssl-path=/path/to/ssl</dt> <dd>Allows you to manually specify the path to the SSL libraries.</dd> </dl> <h4><a name="configscript"></a>1.2 - The 'config.sh' script</h4> <h4><a name="make"></a>1.3 - 'make' and 'make install'</h4> <p>Once you're done with configuring, run 'make' to compile your openbnc binary. After that, run 'make install' to install the openbnc binary, documentation and man pages in your system. The binary is installed to /usr/local/bin/, and the documentation is placed in /usr/local/share/doc/openbnc/</p> <p class="note">If you are a client of a shell provider, or you have but a restrictive shell in a server, you should skip the 'make install' step. You will likely not have permissions to install binaries on the server. In such a situation, you can run openbnc by specifying the full path to openbnc binary, or by executing './openbnc' inside OpenBNC's directory. </p> <h4> </h4> <h3><a name="configuration"></a>2 - Configuration</h3> <h4><a name="conffile"></a>2.1 - The 'openbnc.conf' file</h4> <p>OpenBNC requires a configuration file to run. This configuration file stores the Bouncer's configuration, such as enabled features, listening ports, links to other bouncers, and most important of all, each user's data. When the 'openbnc' binary is run, it looks for an openbnc.conf file in the present directory, unless you specify one by providing the '--config ' parameter followed by the path and filename of the configuration file.</p> <h5><a name="migrating"></a>2.1.1 - Migrating from an old psyBNC installation</h5> <p>If you are upgrading from a psyBNC installation, you can use the 'convert.sh' shell script to convert your existing psybnc.conf file to a valid OpenBNC configuration file. You will need to re-run (insert .conf configuration tool here) because OpenBNC requires some more parameters that do not exist in psyBNC.</p> <h4><a name="cmdline"></a>2.2 - Command-line options</h4> The following parameters can be passed to the 'openbnc' binary: <dl><dt>--user=[username]</dt> <dt>--group=[groupname]</dt> <dd>If OpenBNC is run as root, it will switch to the selected user's process space and run unprivileged.</dd> <dt>--config=[path to .conf file]</dt> <dd>Allows specifying a configuration file, useful for testing or maintaining many different set-ups.</dd> <dt>--user-limit=[value]</dt> <dd>Restricts the number of simultaneous users the bouncer can handle. In standalone/master mode, it will read only the first X users from the configuration file, and will not allow the creation of new users if the chosen limit has been reached. In slave mode, it will not allow more than X users connected at once, redirecting incoming connections to other bouncers on the network once the limit is reached.</dd> <dt>--interval=[seconds]</dt> <dd>This specifies a time interval, in seconds, that the bouncer will wait between each attempt to connect to an IRC server. This can be used to avoid bouncers with a high count of users to flood IRC servers once they are started.</dd> <dt>--pid-file=/path/to/openbnc.pid</dt> <dd>Allows specifying the file where OpenBNC will write its PID to.</dd> </dl> <h4><a name="motd"></a>2.3 - Displaying a custom Message Of The Day (MOTD)</h4> <p> </p> <h3><a name="usage"></a>3 - Usage</h3> <h4><a name="quickstart"></a>3.1 - Quick Start guide</h4> <h4><a name="commands"></a>3.2 - Detailed list of available commands</h4> <p> </p> <h3><a name="troubleshooting"></a>4 - Troubleshooting</h3> <p> </p> <p> <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" height="31" width="88"></a> <a href="http://jigsaw.w3.org/css-validator/"> <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"> </a> </p> </body> </html> |
From: Andre R. <and...@us...> - 2004-07-10 15:53:40
|
Update of /cvsroot/openbnc/openbnc/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13693/doc Log Message: Directory /cvsroot/openbnc/openbnc/doc added to the repository |
From: Andre R. <and...@us...> - 2004-07-10 14:30:42
|
Update of /cvsroot/openbnc/openbnc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv425 Modified Files: CHANGES Log Message: Switching to OpenBNC's changelog. Index: CHANGES =================================================================== RCS file: /cvsroot/openbnc/openbnc/CHANGES,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- CHANGES 24 May 2004 16:43:55 -0000 1.1.1.1 +++ CHANGES 10 Jul 2004 14:30:32 -0000 1.2 @@ -1,798 +1,19 @@ -CHANGES are always downwards compatible to earlier versions -(..NOT) ------------------------------------------------------------ - -Version 2.3.1: ----------------------------------------------------------------------- -08-14-02 - linking to dynamic ip dialup hosts caused - sockets to stay open until the os detects the - inavailability of the interface. - found by fighter -07-24-02 - on a big sized conf-file psybnc could eat up to - 95% of cpu-usage. - found by starlein -07-16-02 - on startup, processor usage could become too heavy - found by nomercy -07-15-02 - changed comparison of nicks to incasesensitive - comparison. had the disadvantage, that a log - entry wasnt made, if the wrong cased nick was - adressed. - found by different users -07-12-02 - on a link connecting and a user disconnecting - at the same moment a null pointer bug occured - in p_intnet.c - found by inFECT - - login penalty kept functional, even if the - password was changed. if the password gets - changed, the penalty gets reset with this version. - found by inFECT -07-08-02 - encryption with actions did not work. - found by different users - - link relay did not work. The link host was given - instead of the irc server, also the connect was - done to an empty hostname. - found by PartyAnml -06-16-02 - in case of no activated ssl-support a dcc send or - a dcc file receive did not work, because the nick - wasnt set correctly. - found by ocr|bj -06-08-02 - fixed a bug in parsing networks from - client input. The nick-command could - carry a network in the content of the - message. - found by arakis - -Version 2.3.1-8: ----------------------------------------------------------------------- -06-02-02 - fixed a bug in networking, giving channelmodes - no parameters, if in first two segments of - CHANMODES reply. - found by me - - added a kind of opserv to intnet - if a user had op on an intnet channel, - and the channel is not cleared completely, - he will get op back on reconnect/rejoin. - deop and kick remove the autoflag. - found usefull by me -06-01-02 - fixed a bug in handling who in networks. - channelresponses did not get prefixed. - found by BSB - - added ison and userhost on networks and intnet - found usefull by me -05-31-02 - fixed a bug while first connect. motd got displayed, - and a bad nick was given on connect during the first - server connect. - found by arakis - - -Version 2.3.1-7: ----------------------------------------------------------------------- -05-26-02 - fixed a bug in CHANMODE-handling of servermsg 005 - using wrong parameter-entries. - thanks to perry - - own multiclient-messages on networks - where not prefixed. - found by dominance - - channel-topic maximal length set to - 600 - suggested by dominance - - listener on S=* did not work. - found by dominance and others - - fixed a bug in 005-Prefix-handling. - saved channels on rejoin did not get - the active users Prefix-modes, but the - standard @+ modes. Result: wrong mode-handling. - found by scr00ge - - stripping off space delimited PSYBNC.SYSTEM.ME-entries. - led to funny bugs, if the name consisted spaces. - found by cynapses - - changed the first msg asking the password back to a - notice. - suggested by different users. - -Version 2.3.1-6: ----------------------------------------------------------------------- -05-16-02 - added multiclient-support. You can use as many clients - as you wish to login into psybnc, older connections wont - get overridden by a new inbound connection. you can - disable this by using - #define NOMULTICLIENT - in the config.h - file before compilation. - suggested by Snq and Getty - - moved ncurses back to 'make menuconfig'. If you are - using the old curses-library, try make menuconfig-curses. - not compatible to old curses-implementations. - - Readded systemmessages for networks. The bouncer did not - give any systemnotice to the user about network-connects - and disconnects. - - Moved all system-notices to Messages from the nick -psyBNC. - Also enabled to let the user directly send messages to - -psyBNC, which would be handled as like commands. - This is a kind of "psyBNC-Console". - found usefull by me - - ADDDCC without SSL support did not work. A cryptic error - was given when a user tried to connect using ADDDCC. - Found by Jens and others - - Added oidentd2-Support - thanks to Andi - - When a ssl-Connect was not successfull, a listener- - socket got closed. This resulted in an infinite Loop - found by warlock - - Added italian language to the lng-files. - Thanks to 'Ard\ZzZz - - Added asynchroneous resolving. - Currently this is disabled on default, because the - implementation is experimental. - Idea by Aaron-[FGW] - - Removed random nicks, if nick isnt available. - The nick will be finished by a number, if the nick - isnt available, e. g. psychoid would become _psychoid, if - that nick would not be available as well, psychoi22. - Requested by fighter, inFECT and p. - - Added additional stoned check every 120 seconds for 240 seconds - possible delay of server response. The delay to check a stoned - server can be defined by - #define STONECHECKDELAY nn - e.g. - #define STONECHECKDELAY 300 - and the waiting delay for an answer from the server before - disconnect can be set by using - #define STONETIME nn - e.g. - #define STONETIME 240 - Requested by fighter and inFECT - - Improved Nick regain. Tries to regain nick all 10 seconds. - Requested by fighter and inFECT - - Added login penalty. If 3 tries of login are answered with - a false password, futher logins in a time of 10 minutes - plus random seconds (max. 50) dont succeed. This is thought to - disallow bruteforce-cracking of psybnc-Passwords from known - logins. - Suggested by different users - - fixed a segfault in menuconfig - found by Andi - - fixed dcc-handling without using the own VHOST for connects - found by sebi - - removed the reference to gettxt(), it had collisions with - solaris 5.8 using a standard-gettxt() implementation. - found by Cajoline - - changed VHOST to BVHOST. This was needed, because some - ircds offer an inbuild VHOST-Command. - suggested by different users. - - changed BVHOST to be usable by admins for other users. - just use BVHOST username :host if you are an admin. - suggested by different users. - - added network-deletion on userdeletion. - found by me - - added own messages to appear on - the other own clients, if multiclients - are connected - requested by Snq - - added prefix (servermsg. 005) handling. - suggested by yath (sorry, no Prefixnames needed) - - passwordchanges only changed the password for the - main network - found by getty - - askop/autoop also where triggered, when the user - had no op. - found by ZZyZZ and denniz - - fixed a segfault in user deletion - found by Polobeer - - fixed a bug in curses menuconf. Double usage - of variable and call in menubox.c, and a - reference to ncurses.h in dialog.h - found by Snq - - removed static compilation. Possibly its more safe - on ptrace sniffing to compile a static binary, but on - the other hand a static binary consumes too many resources - and is problematic to compile on different os/archs, and - it also wont compile with shared ssl-libraries. - found usefull by me - -Version 2.3: - -date boog/enhancement ----------------------------------------------------------------------- -01-22-02 - Bug in Channel-Encryption solved by appending a - key checksum inside of the encrypted text. - e.g <user> [B]text text text <1522>. - If checksum doesnt match the known value, - you can be pretty sure the given text is spoofed. - found by Brian Rhea -09-27-01 - crypted keys for channels - suggested by warlock - -Version 2.3BETA: - -date boog/enhancement ----------------------------------------------------------------------- -09-15-01 - fixed USER.LOG-Entries in the language-Files - found by tric -09-09-01 - Removed a crash on a missing motd/ - directory -09-09-01 - Moved the user-logs to log/ -09-09-01 - Replacement of '%' to the cyrillic 'ja' (255) - to character 127. - found by Litil Divil -09-09-01 - Changed ncurses to curses. - Also an issue for OpenBSD and other os - found by Szymon Czyz -09-09-01 - Fixed a bug on compilation on OpenBSD - occured due to problems in stdargs - found by Real-Riot - -date boog/enhancement ----------------------------------------------------------------------- -07-25-01 - Bugfix in dcc-Chats, psyBNC crashed when - trying to establish a dccchat. - found by coke -07-25-01 - Added SSLPATH to the config.h - and "SSL-Path" and "SSL-SecLevel" to - menuconfig - suggested by tric -07-25-01 - Fixed a segfault in menuconf when - adding Users. - found by acidangel -07-25-01 - Fixed a bug in SSL-Constants, which only - got declared, when Scripting was enabled. - psyBNC could not be compiled, when scripting - was disabled. - found by warlock -07-17-01 - Bugfix in Translation, altavista once - again changed their output format. - Also added korean, japanese, spanish - and russian to the translateable languages. - found by different users -07-13-01 - Added /ADDIGNORE,/LISTIGNORE, /DELIGNORE - to allow psyBNC to ignore special contents - and/or Users. - suggested by warlock -07-13-01 - Added language Files - English or German can be choosen online - by setting /SETLANG german or /SETLANG english. - The language files are put into the - directory lang/. - If you want to translate psybnc to other - languages, please send the results to be - included into psybnc to psy...@la... - Also, new files in the subdir /help have to - be added. - menuconf, README, CHANGES, SCRIPTING and COPYING are only - available in english. - found usefull by me -05-27-01 - added SSL-Support. This needs openssl locally installed. - Added cert/public key check as well. - Get openssl at www.openssl.org. - psyBNC also allows to listen on encrypted ports. - Links between psyBNC can be setup to be encrypted - on ssl. - For clients you can use 'stunnel' to your - bouncer with version 2.3. - get stunnel at www.stunnel.org. - suggested by different users. -05-27-01 - Removed the old psyPipe-stylish Link-Encryption. - That has to be done using SSL Listeners. - consequence from adding SSL -05-13-01 - Moved accepting/Connecting fully to p_socket.c - found usefull by me - - -Version 2.2.2: - -date boog/enhancement ----------------------------------------------------------------------- -04-14-01 - removed a bug in tokening networks - found by {alex} - - removed all // - comments for old gcc-compilers - suggested by dor - - added checking for sys/time.h and time.h. did not - compile on newer glibc-hosts. - found by different users. - -Version 2.2.2BETA: - -date boog/enhancement ----------------------------------------------------------------------- -03-24-01 - removed internal references to (v)snprintf,and referenced - it to ap_(v)snprintf in all cases. removed parameters %p - and %n from the list of usable formats. - enhances security a bit. - - usage of getipnodebyname instead of gethostbyname2 in the - case of SunOS-IPV6-Extensions - suggested by eldoc - patch by duckel - - removed a sigsegv in resolve (null-pointer) - - added command AUTOGETDCC - only use this command if you are sure that you would - like psybnc to get all files sent. - suggested by steve_ (with default setting to OFF) - - removed the annoying ACOLLIDE-Feature - suggested by those, who where annoyed by nick-changes - - fixed a bug in network-modes, where the network-name - was put at the end of a mode-line - found by real-riot - - fixed a bug in writing the pid-file, changed from - ending \r\n to \n. - suggested by different users - - set AUTOREJOIN by default to 0 (=off) - if the bouncer should rejoin channels on kick/kill, - set this to 1. (/AUTOREJOIN 1) - suggested by those, who where annoyed by rejoining clients. - - fixed some bugs in menuconfig - found by different users - - removed some bugs in the english-phrases (confifuration, - too much input..) - suggested by dor - -Version 2.2.1: - -date boog/enhancement ----------------------------------------------------------------------- -10-28-00 - removed MIBs snprintf and replaced - it to apaches snprintf. - should compile on Digital Unix/solaris older as well now - suggested by illusi0n -10-27-00 - fixed the channelsaving, so that channels - would be saved on join - found by wudoo - - fixed DCC timout handling running into a null pointer - found by AndrewX - - fixed a bug in BHELP on aliases - found by AndrewX - - fixed a bug in trafficlogging - found by different users - -Version 2.2.1(beta): - -date boog/enhancement ----------------------------------------------------------------------- -10-21-00 - fixed compilation of convconf.c, which - wont compile on systems without snprintf - - added checking, if libbind is needed - found by bats - - added command AUTOREJOIN to disable - rejoining channels after being kicked - requested by different users - - dcc handling wrote chat and send requests - to networks to the main network - - found by CAJOLiNE -10-14-00 - fixed whois on network, added networktokens - found by arakis - - fixed invite on network, added networktoken - found by arakis - - fixed menuconfig-compile-bug - found by spy - - network-mode wasnt right parsed - found by arakis - - added DCCENABLE, to allow to set on the bouncer - to allow DCCs answered by the bouncer. Default - set to 1 (=enabled). - suggested by arakis - - added timeout period to wingate and socks-connect (3 seconds) - before sending USER and NICK. - suggested by arakis - - fixed some bugs in scripting - found by kode54 - - added IPs only to hostallows - suggested by zycx -10-02-00 - Added Pn Parameters to scripting, which divides - the ircinput to different Parameters - suggested by CAJOLiNE -10-02-00 - did not compile on solaris. Thanks to Phil Tyler - for support :) -10-02-00 - on *BSD, the DCCANSWER command did not work. - This happened because of a different handling - of numeric resolves under BSD. - found by CAJOLiNE -10-02-00 - If crypting was disabled, the bouncer could not - compile because of variables still needed but - not defined. - found by ZZyZZ -10-02-00 - If a link in intnet was removed, all clients - quitted because of a wrong disconnecting-order - in the removelink-handling. - found by me -10-02-00 - crash on bogus DCC SEND and DCC CHAT requests - this bug was already fixed in a "fast-patch", called - psyBNC2.2p1. - found by cras -10-02-00 - if userdir wasnt writeable, the bouncer crashed. - found by HERZ -10-02-00 - If linkage was turned off, the bouncer could not compile - because it missed the "cmdrelink"-routine. -10-02-00 - In scripting, the content mask-compare did not work. - found by AndrewB -10-02-00 - .ispoof was create rw User only, so a nobody-oidentd - could not read it. -10-02-00 - the leavequit-command triggered the antiidle-flag. -10-02-00 - cleaning up structure -10-02-00 - A bug in names and networks set the userflag - behind the network token. - found by jerky -10-02-00 - Server notices and messages dont get logged anymore - suggested by Tha-Mob - -Version 2.2: - -date boog/enhancement ----------------------------------------------------------------------- -08-13-00 - Changed the mode handling for scripting, so - every single mode will be handed over. - - Added timeouts to resolves -08-05-00 - Added SWITCHNET to switch from the main to another - network. - - Added LEAVEQUIT to leave all channels when signing off - - Added LEAVEMSG $QUIT, if set to $QUIT, the leavemsg will - be posted from the text to the quitmessage - - made a cronny script -07-20-00 - Added scripting (cgi-stylish) - See the readme and the litte example script - in scripts/example. - - Added DCC Chat & Files - Allows you to dcc chat directly from the - bouncer and to receive/send files from and - to the shell. - DCCCHATS are to be enabled with - #define DCCCHAT - and DCC File send/receive with - #define DCCFILES - - IPv6 Support - psyBNC allows from version 2.2 the support - of IPv6 in every mean. This includes listening - and connecting to IPv6 hosts. Also implemented - is DCC CHAT6 and DCC SEND6, but this is - still experimental, and only hell knows, if - it will be solved the way psybnc uses it. - - Support of oIdentd added - psyBNC allows the method of ident spoofing - oIdentd supports. - Use - #define OIDENTD - in the config.h File to enable it. - - Moved all single INI-Files to one config file - called psybnc.conf by default. - - Multiple Listeners - psyBNC can listen on as many ips and Ports - as which are defined in the psybnc.conf file. - This also allows to listen on an intranet ip - and not as it was in 2.1 only on ALL interfaces. - - Moved channels/names to internal - This allows names and channelspecific informations - much faster to be sent to the user, and will - not create traffic on the server when the user - rejoins psyBNC. - - Reorganized string routines, reorganized socket - string builds. - - Invented an internal ircd into psybnc, which - can be adressed by using int~ as token. - This will be shared thruout the linked - network of psybnc, and allows all modes - including kicks/bans/op/voice. - This was done to replace the old &partyline, - which still can be used by setting the - compiling option. - The internal network can be enabled by entering - #define INTNET - and the old partyline channel by - #define PARTYCHANNEL - to the config.h File. - - Flood protection - The serverside socket will wait for a server - reply before sending additional strings to - the server. This allows sending many lines - of text without getting flooded. The maximum - same total number of bytes is set to 700. - - Singleusermode / Multiusermode - If Multiusermode is disabled, the login has - not to fit to the added user, only the - password is being checked. Also, the user - may not add any other users than himself. - Multiusermode gets defined with - #define MULTIUSER - and singleusermode will be active, when - MULTIUSER is not defined. - - Anonymous Mode - This allows to open the proxy for anonymous - users, so every login would be successfull. - Will be enabled with #define ANONYMOUS. - - Dynamic Mode - This will kill the server connection after - a user signed off from the bouncer. - Will be enabled with #define DYNAMIC - - Provider Configuration - The shellprovider can define a global - psyBNC config.h by putting this into - /psybnc/config.h. On Compilation that - config will be used. - - Bugfixes in Networking - The user did not see modes or nickchanges - correctly on secondary networks. - - The possibility to switch networks off - by removing the NETWORK define from - the config.h, the user cannot create any - new Networks. - - Bugfixes in Parsing - Some Bugs in Parsing of IRC-Strings - could crash the bouncer. - This has been solved with 2.2. - - Wrote a menuconfiguration with GUI - for psyBNC. - Just use - make menuconfig - to start it. - - Deleted the os specific makefiles and - replaced them with a selfdetecting - configuration tool, which will sense - the abilities of the system. - -date boog/enhancement ----------------------------------------------------------------------- -(last changes for 2.1) -06-02-00 - Altavista decided to change their website at - babelfish.altavista.com, so i had to rebuild the - translation part. -04-19-00 - added password for servers - see the changed syntax in /quote bhelp addserver - requested by plato - - added allow to switch logging off - just add - #define NOLOG - into the config.h before compiling - requested by [DRACON] -01-17-00 - another Bug in p_idea.c fixed - found by XanTheR - - partyline channel joining fixed - found by bla - - erasemainlog crash fixed - found by plato - - added spamcheck / "you have notes waiting" filter - for private logging - i was annoyed by this :) - - whois bug fixed, if a whois on another nick was set - before reconnect, his channels were shown as to be on. - found by herz - - talk encryption also encrypted DCC requests and other - none-Message PRIVMSG transmissions. - 2.1.1 will handle this messages correctly. - Warning: The Change for ACTION is NOT downwards compatible. - found by ace24 - - a typo bug in ADDALLOW and DELALLOW to ADDALOW and DELALOW - reported by different Users - - relaying was disfunctional - found by mac - -Version 2.1: - -date boog/enhancement ----------------------------------------------------------------------- -12-25-99 - crashed, when two partys got an encrypted talk - established, and bogus data was sent using the - IDEA prefix ([I]). - found by gatecrash and by XanTheR - - removed SIGDIE-action - will now ignore any TERMINATE request. - - bug fixed in linkage, crashed on uplink loss - found by plato - - did not compile on sunos-sparc (no static compiling) - found by _enigma - -date boog/enhancement ----------------------------------------------------------------------- -11-29-99 - added connection and talk encryption - see the readme or /bhelp ENCRYPT for further infos. - requested by me - - redevelopment of the connection handling - this demon can really handle 500 connections w/o lag now :) - requested by me - - full channellogging - see /bhelp PLAYTRAFFICLOG for more infos. - requested by different users - - added a "last on" field to /bwho - requested by mac - - redevelopment of the help function and - creating help texts for any topic - requested by those who dont understand everything :) - - the partyline has been moved to a partychannel.. - but dont try to join it on irc, it's not really existent :) - the channel is &partyline by default, until you dont part it, - see p_global.h if you want to change it. still downwards - compatible. A user with old psybnc will still see $$ as - partyline, also in a new psybnc network. - you are automatically joined to it :) - mentioned by me, accepted by all tcl members :) - - sysmsg-command removed - well, just part the partyline channel if you are annoyed :) - consequence from doing a partychannel - - hostallows included - This allows you to set hosts which may connect the bouncer. - see /bhelp ADDALLOW or /bhelp DELALLOW. - requested by me. - - translator included - This allows you to translate queries in italian, german, - french or portugese to english and vice versa. - see /bhelp TRANSLATE for further infos. - - setaway splitted into /setaway, /setawaynick and - /setleavemsg. - requested by bla. - - changed the makefiles. - please read the readme file. - - added channel key support. - you can set a key for channel joins. - requested by XanTheR - - added autoop features - allows you to set users and their hostmasks to autoop. - be sure not to use this feature extensivly. Autoop is - extremeley insecure. - requested by keule and others. - - added external proxy support. - For Usage of sock4, WinGates and Webproxys which allow - the CONNECT request. - requested by different Users. - - made the 5000 lines of code modular. - it was really time to do that. - requested by wudoo (i hope you get it now *g*). - -Version 2.0.2: - -date boog/enhancement ----------------------------------------------------------------------- -08-16-99 - eggies newer than 1.3.2x needed to wait for input done - before sending the user/password - found by nomercy - - allows you to switch off systemmessages in the - partyline using /SYSMSG 0 and to turn it off - using /SYSMSG 1 - requested by multiple users - - BitchX needs names messages after JOIN message of each - channel. The bouncer will now send a fake answer and - then send the real answer on names gotten from the server - it should work now. - requested by multiple users - - Some clients (as like mIRC) retreive the local IP - from the 001 Message the server responds. - This is fixed, the motd will contain the users real - ip now. - found by multiple users. - - When reconecting to the bounce, it randomly reasked - for op sometimes. - found by gatecrash - -Version 2.0.1: - -date boog/enhancement ----------------------------------------------------------------------- -07-29-99 - dead connections solved, when a client machine - got offline without the bouncer noticing it - found by gatecrash - - on third /adddcc the bouncer got to a endless loop - found by coke - -Version 2.0: - -date boog/enhancement ----------------------------------------------------------------------- -07-18-99 - when /relaylink was set to 0, the message - from the bouncer answered with "relay enabled", and - on setting to 1, with disabled. Just a wrong message *g* - found by coke. -07-17-99 - usernames with 0-length did not appear - on the BWHO list. - found by me - - added SETUSERNAME to set the username - to a user defined string - requested by denniz - - changed the email of the systemmessages. - requested by myself - - automatically setting MODE +i-s nick on connect - to prevent the filling of the logs with spam - requested by myself -07-09-99 - fixed a bug which occurs on removing - a nonexistent dcc session, which resulted - in a deadlock and processor usage of up to - 90 %. heavy one :) - found by birdy -07-07-99 - fixed IAM broadcasting in bouncer linkage - found by me - - fixed linksaving only saving 4 digits ports - found by dracon - - fixed message multiposting on multiple clients - found by plato - - fixed wrong nick adressing - found by me - - fixed posting the partylines query - to the current users partyline nick - found by me -06-29-99 - Crypting of Passwords - requested by SpWn - - variable Memory - Management - this improves the Performance on < 586 Processors. - also the memory used is drastically reduced. - requested by gatecrash and others - - Multinetworking - requested by myself - idea by scut - - Linking of Bouncers - requested by myself - - No Nick Change on Nick Loss - found by Coke - - fixing the Setaway-Query - found by SpWn - - Bot-DCC - requested by myself - -Version 1.2: +Changelog for OpenBNC -date boog/enhancement ----------------------------------------------------------------------- -06-19-99 - The Nick was changed until regained - This Function was thought as anticollide due - to the fact a nick is only lost in being a - collide victim. Changed this to an option. - Just use /quote acollide 0|1 to remove or - set Nick cycling after loss. - found by plato. - - The Partyline query to $NICK was lost - when the ircnick was changed compared - to the login. This is fixed. - found by plato and hotacid. - - AskOp could flood the bouncer, when too - much bots where added. This version always - only asks one bot/bounce for op for every channel. - found by dracon and julze. - - changed the command /quote ADMIN to /quote MADMIN - /admin is a standard irc command and therefore - conflicts with the bounce command. - found by myself. - - changed server-Ping-reply to asked content - Thats needed on spoof-checking irc-servers. - found by myself. -Version 1.1: +- - - Version 1.1 - - - -date boog/enhancement ----------------------------------------------------------------------- -06-01-99 - finally created a makefile *g* -05-31-99 - maximum Users fixed.. some maxuser entrys still - where constant :) - found by myself -05-25-99 - fixed a bug in connecting from blocking sockets - bugged transmission of data - (some windoze sockets are blocking only) - found by myself -05-24-99 - fixed a timeout bug in readsock(), which could lead - to denial of service to the proxy - heavy one :) - found by myself -05-23-99 - fixed PASSWORD bug on displaying the currentusers pass - found by plato - - added unset of away when reconnecting to the bouncer - using setaway - requested by dracon -05-21-99 - fixed timeouts on connects - found by xanther - - fixed a bug in deleting first added server, - resulting in error message "no server added" - found by dracon - - fixed bjump, did not save actual channel stats - found by sister_j - - changed /password to let admins set passwords - of users - requested by dracon - - added /setaway to set a leaving message that will be - posted to the channels and set as away text when leaving - the bouncer. - based on a request by plato. - - added nonblocking to build connections - - added channel flags to all maskcommands - - added a setaway function - -Version 1.0: +> New Features + - New command-line options are avaliable. + - The bouncer can now be told to wait for an interval of time between each attempt to connect to an IRC server. + - A shell script is avaliable to migrate a psyBNC configuration file to OpenBNC's syntax. -date boog/enhancement ----------------------------------------------------------------------- +> Improvements + - Changed installation scheme to './configure && make' system. + - The output when the program is run is now cleaner. + - Changed the syntax of the configuration file to a cleaner, BIND-like style. + - Menuconfig is now a post-compilation tool to aid in creating the configuration file and managing users. -05-12-99 - fixed antiidle, rejoining and reasking for op - on join - - replaced autopong to a server ping for normal - timing - - added ./make.sunos, i hope it works :) +> Bug Fixes + - Fixed possible segfaults when running menuconfig. ------------------------------------------------------------------------- \ No newline at end of file |
From: Mateusz K. <sh...@us...> - 2004-07-09 18:53:12
|
Update of /cvsroot/openbnc/openbnc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13270/openbnc Added Files: old.sh Log Message: - old.sh ( old install ) --- NEW FILE: old.sh --- #! /bin/sh gcc -I../ -I../src/ -o tools/autoconf tools/autoconf.c tools/autoconf make -f makefile.out |
From: Mateusz K. <sh...@us...> - 2004-07-09 18:45:18
|
Update of /cvsroot/openbnc/openbnc/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10779/openbnc/tools Modified Files: Makefile.in Log Message: - automake 1.4 -> 1.8 Index: Makefile.in =================================================================== RCS file: /cvsroot/openbnc/openbnc/tools/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 9 Jul 2004 14:32:58 -0000 1.2 +++ Makefile.in 9 Jul 2004 18:45:06 -0000 1.3 @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am +# Makefile.in generated by automake 1.8.3 from Makefile.am. +# @configure_input@ -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,302 +12,379 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. +@SET_MAKE@ -SHELL = @SHELL@ +SOURCES = $(makesalt_SOURCES) srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : +bin_PROGRAMS = makesalt$(EXEEXT) +subdir = tools +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +am__installdirs = "$(DESTDIR)$(bindir)" +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) +PROGRAMS = $(bin_PROGRAMS) +am_makesalt_OBJECTS = makesalt.$(OBJEXT) +makesalt_OBJECTS = $(am_makesalt_OBJECTS) +makesalt_LDADD = $(LDADD) +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/makesalt.Po +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(makesalt_SOURCES) +DIST_SOURCES = $(makesalt_SOURCES) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EXEEXT = @EXEEXT@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ VERSION = @VERSION@ - -bin_PROGRAMS = makesalt +ac_ct_CC = @ac_ct_CC@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +bindir = @bindir@ +build_alias = @build_alias@ +datadir = @datadir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ makesalt_SOURCES = makesalt.c -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -PROGRAMS = $(bin_PROGRAMS) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I.. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -makesalt_OBJECTS = makesalt.o -makesalt_LDADD = $(LDADD) -makesalt_DEPENDENCIES = -makesalt_LDFLAGS = -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -DEP_FILES = .deps/makesalt.P -SOURCES = $(makesalt_SOURCES) -OBJECTS = $(makesalt_OBJECTS) +all: all-am -all: all-redirect .SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu tools/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-binPROGRAMS: - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) - -distclean-binPROGRAMS: +.SUFFIXES: .c .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tools/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu tools/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; -maintainer-clean-binPROGRAMS: +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(bindir) + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ - if test -f $$p; then \ - echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ - $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + if test -f $$p \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ + $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) - list='$(bin_PROGRAMS)'; for p in $$list; do \ - rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ + rm -f "$(DESTDIR)$(bindir)/$$f"; \ done -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) +makesalt$(EXEEXT): $(makesalt_OBJECTS) $(makesalt_DEPENDENCIES) + @rm -f makesalt$(EXEEXT) + $(LINK) $(makesalt_LDFLAGS) $(makesalt_OBJECTS) $(makesalt_LDADD) $(LIBS) mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: + -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c -maintainer-clean-compile: +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/makesalt.Po@am__quote@ -makesalt: $(makesalt_OBJECTS) $(makesalt_DEPENDENCIES) - @rm -f makesalt - $(LINK) $(makesalt_LDFLAGS) $(makesalt_OBJECTS) $(makesalt_LDADD) $(LIBS) +.c.o: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< -tags: TAGS +.c.obj: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +uninstall-info-am: -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) + mkid -fID $$unique +tags: TAGS -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique -clean-tags: +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = tools + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu tools/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done +check-am: all-am +check: check-am +all-am: Makefile $(PROGRAMS) +installdirs: + for dir in "$(DESTDIR)$(bindir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am --include $(DEP_FILES) +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: -mostlyclean-depend: +clean-generic: -clean-depend: +distclean-generic: + -rm -f $(CONFIG_CLEAN_FILES) -distclean-depend: - -rm -rf .deps +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am -maintainer-clean-depend: +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: -info: info-am -dvi-am: dvi: dvi-am -check-am: all-am -check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: install-binPROGRAMS -install-exec: install-exec-am -install-data-am: -install-data: install-data-am +dvi-am: -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: uninstall-binPROGRAMS -uninstall: uninstall-am -all-am: Makefile $(PROGRAMS) -all-redirect: all-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - $(mkinstalldirs) $(DESTDIR)$(bindir) +html: html-am + +info: info-am +info-am: -mostlyclean-generic: +install-data-am: -clean-generic: +install-exec-am: install-binPROGRAMS -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* +install-info: install-info-am -maintainer-clean-generic: -mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ - clean-generic mostlyclean-am +mostlyclean-am: mostlyclean-compile mostlyclean-generic -clean: clean-am +pdf: pdf-am -distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ - distclean-depend distclean-generic clean-am +pdf-am: -distclean: distclean-am +ps: ps-am -maintainer-clean-am: maintainer-clean-binPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." +ps-am: -maintainer-clean: maintainer-clean-am +uninstall-am: uninstall-binPROGRAMS uninstall-info-am -.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ -maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir mostlyclean-depend \ -distclean-depend clean-depend maintainer-clean-depend info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ + clean-generic ctags distclean distclean-compile \ + distclean-generic distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-binPROGRAMS \ + install-data install-data-am install-exec install-exec-am \ + install-info install-info-am install-man install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ + uninstall-am uninstall-binPROGRAMS uninstall-info-am all: ./makesalt mv salt.h ../ - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: |
From: Mateusz K. <sh...@us...> - 2004-07-09 18:45:17
|
Update of /cvsroot/openbnc/openbnc/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10779/openbnc/src Modified Files: Makefile.in Log Message: - automake 1.4 -> 1.8 Index: Makefile.in =================================================================== RCS file: /cvsroot/openbnc/openbnc/src/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 9 Jul 2004 14:32:58 -0000 1.2 +++ Makefile.in 9 Jul 2004 18:45:05 -0000 1.3 @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am +# Makefile.in generated by automake 1.8.3 from Makefile.am. +# @configure_input@ -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,313 +12,429 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. +@SET_MAKE@ -SHELL = @SHELL@ +SOURCES = $(openbnc_SOURCES) srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : +bin_PROGRAMS = openbnc$(EXEEXT) +subdir = src +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +am__installdirs = "$(DESTDIR)$(bindir)" +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) +PROGRAMS = $(bin_PROGRAMS) +am_openbnc_OBJECTS = match.$(OBJEXT) p_coredns.$(OBJEXT) \ + p_intnet.$(OBJEXT) p_network.$(OBJEXT) p_server.$(OBJEXT) \ + p_topology.$(OBJEXT) openbnc.$(OBJEXT) p_crypt.$(OBJEXT) \ + p_hash.$(OBJEXT) p_link.$(OBJEXT) p_parse.$(OBJEXT) \ + p_socket.$(OBJEXT) p_translate.$(OBJEXT) snprintf.$(OBJEXT) \ + p_blowfish.$(OBJEXT) p_idea.$(OBJEXT) p_log.$(OBJEXT) \ + p_peer.$(OBJEXT) p_string.$(OBJEXT) p_uchannel.$(OBJEXT) \ + p_client.$(OBJEXT) p_dcc.$(OBJEXT) p_inifunc.$(OBJEXT) \ + p_memory.$(OBJEXT) p_script.$(OBJEXT) p_sysmsg.$(OBJEXT) \ + p_userfile.$(OBJEXT) +openbnc_OBJECTS = $(am_openbnc_OBJECTS) +openbnc_DEPENDENCIES = +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/match.Po ./$(DEPDIR)/openbnc.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_blowfish.Po ./$(DEPDIR)/p_client.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_coredns.Po ./$(DEPDIR)/p_crypt.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_dcc.Po ./$(DEPDIR)/p_hash.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_idea.Po ./$(DEPDIR)/p_inifunc.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_intnet.Po ./$(DEPDIR)/p_link.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_log.Po ./$(DEPDIR)/p_memory.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_network.Po ./$(DEPDIR)/p_parse.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_peer.Po ./$(DEPDIR)/p_script.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_server.Po ./$(DEPDIR)/p_socket.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_string.Po ./$(DEPDIR)/p_sysmsg.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_topology.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_translate.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_uchannel.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/p_userfile.Po ./$(DEPDIR)/snprintf.Po +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(openbnc_SOURCES) +DIST_SOURCES = $(openbnc_SOURCES) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EXEEXT = @EXEEXT@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ VERSION = @VERSION@ - -bin_PROGRAMS = openbnc +ac_ct_CC = @ac_ct_CC@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +bindir = @bindir@ +build_alias = @build_alias@ +datadir = @datadir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ openbnc_SOURCES = match.c p_coredns.c p_global.h p_intnet.c p_network.c p_server.c p_topology.c p_version.h openbnc.c p_crypt.c p_hash.c p_link.c p_parse.c p_socket.c p_translate.c snprintf.c p_blowfish.c p_data.h p_idea.c p_log.c p_peer.c p_string.c p_uchannel.c p_client.c p_dcc.c p_inifunc.c p_memory.c p_script.c p_sysmsg.c p_userfile.c openbnc_LDADD = -L/usr/local/ssl/lib -lssl -lcrypto -lresolv INCLUDES = -I../ -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -PROGRAMS = $(bin_PROGRAMS) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I.. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -openbnc_OBJECTS = match.o p_coredns.o p_intnet.o p_network.o p_server.o \ -p_topology.o openbnc.o p_crypt.o p_hash.o p_link.o p_parse.o p_socket.o \ -p_translate.o snprintf.o p_blowfish.o p_idea.o p_log.o p_peer.o \ -p_string.o p_uchannel.o p_client.o p_dcc.o p_inifunc.o p_memory.o \ -p_script.o p_sysmsg.o p_userfile.o -openbnc_DEPENDENCIES = -openbnc_LDFLAGS = -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -DEP_FILES = .deps/match.P .deps/openbnc.P .deps/p_blowfish.P \ -.deps/p_client.P .deps/p_coredns.P .deps/p_crypt.P .deps/p_dcc.P \ -.deps/p_hash.P .deps/p_idea.P .deps/p_inifunc.P .deps/p_intnet.P \ -.deps/p_link.P .deps/p_log.P .deps/p_memory.P .deps/p_network.P \ -.deps/p_parse.P .deps/p_peer.P .deps/p_script.P .deps/p_server.P \ -.deps/p_socket.P .deps/p_string.P .deps/p_sysmsg.P .deps/p_topology.P \ -.deps/p_translate.P .deps/p_uchannel.P .deps/p_userfile.P \ -.deps/snprintf.P -SOURCES = $(openbnc_SOURCES) -OBJECTS = $(openbnc_OBJECTS) +all: all-am -all: all-redirect .SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-binPROGRAMS: - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) - -distclean-binPROGRAMS: +.SUFFIXES: .c .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu src/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; -maintainer-clean-binPROGRAMS: +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(bindir) + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ - if test -f $$p; then \ - echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ - $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + if test -f $$p \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ + $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) - list='$(bin_PROGRAMS)'; for p in $$list; do \ - rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ + rm -f "$(DESTDIR)$(bindir)/$$f"; \ done -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) +openbnc$(EXEEXT): $(openbnc_OBJECTS) $(openbnc_DEPENDENCIES) + @rm -f openbnc$(EXEEXT) + $(LINK) $(openbnc_LDFLAGS) $(openbnc_OBJECTS) $(openbnc_LDADD) $(LIBS) mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: + -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c -maintainer-clean-compile: +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/match.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openbnc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_blowfish.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_client.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_coredns.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_crypt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_dcc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_hash.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_idea.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_inifunc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_intnet.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_link.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_log.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_memory.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_network.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_parse.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_peer.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_script.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_server.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_socket.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_string.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_sysmsg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_topology.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_translate.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_uchannel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_userfile.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snprintf.Po@am__quote@ -openbnc: $(openbnc_OBJECTS) $(openbnc_DEPENDENCIES) - @rm -f openbnc - $(LINK) $(openbnc_LDFLAGS) $(openbnc_OBJECTS) $(openbnc_LDADD) $(LIBS) +.c.o: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< -tags: TAGS +.c.obj: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +uninstall-info-am: -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) + mkid -fID $$unique +tags: TAGS -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique -clean-tags: +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = src + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done +check-am: all-am +check: check-am +all-am: Makefile $(PROGRAMS) +installdirs: + for dir in "$(DESTDIR)$(bindir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am --include $(DEP_FILES) +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: -mostlyclean-depend: +clean-generic: -clean-depend: +distclean-generic: + -rm -f $(CONFIG_CLEAN_FILES) -distclean-depend: - -rm -rf .deps +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am -maintainer-clean-depend: +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: -info: info-am -dvi-am: dvi: dvi-am -check-am: all-am -check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: install-binPROGRAMS -install-exec: install-exec-am -install-data-am: -install-data: install-data-am +dvi-am: -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: uninstall-binPROGRAMS -uninstall: uninstall-am -all-am: Makefile $(PROGRAMS) -all-redirect: all-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - $(mkinstalldirs) $(DESTDIR)$(bindir) +html: html-am +info: info-am -mostlyclean-generic: +info-am: -clean-generic: +install-data-am: -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* +install-exec-am: install-binPROGRAMS -maintainer-clean-generic: -mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ - clean-generic mostlyclean-am +mostlyclean-am: mostlyclean-compile mostlyclean-generic -clean: clean-am +pdf: pdf-am -distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ - distclean-depend distclean-generic clean-am +pdf-am: -distclean: distclean-am +ps: ps-am -maintainer-clean-am: maintainer-clean-binPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." +ps-am: -maintainer-clean: maintainer-clean-am +uninstall-am: uninstall-binPROGRAMS uninstall-info-am -.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ -maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir mostlyclean-depend \ -distclean-depend clean-depend maintainer-clean-depend info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ + clean-generic ctags distclean distclean-compile \ + distclean-generic distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-binPROGRAMS \ + install-data install-data-am install-exec install-exec-am \ + install-info install-info-am install-man install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ + uninstall-am uninstall-binPROGRAMS uninstall-info-am all: strip openbnc - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: |
From: Mateusz K. <sh...@us...> - 2004-07-09 18:45:16
|
Update of /cvsroot/openbnc/openbnc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10779/openbnc Modified Files: Makefile Makefile.in configure configure.in install-sh missing mkinstalldirs Added Files: INSTALL Log Message: - automake 1.4 -> 1.8 Index: mkinstalldirs =================================================================== RCS file: /cvsroot/openbnc/openbnc/mkinstalldirs,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mkinstalldirs 8 Jul 2004 14:57:40 -0000 1.1 +++ mkinstalldirs 9 Jul 2004 18:45:04 -0000 1.2 @@ -1,40 +1,150 @@ #! /bin/sh # mkinstalldirs --- make directory hierarchy -# Author: Noah Friedman <fri...@pr...> -# Created: 1993-05-16 -# Public domain -# $Id$ +scriptversion=2004-02-15.20 + +# Original author: Noah Friedman <fri...@pr...> +# Created: 1993-05-16 +# Public domain. +# +# This file is maintained in Automake, please report +# bugs to <bug...@gn...> or send patches to +# <aut...@gn...>. errstatus=0 +dirmode="" + +usage="\ +Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... + +Create each directory DIR (with mode MODE, if specified), including all +leading file name components. + +Report bugs to <bug...@gn...>." + +# process command line arguments +while test $# -gt 0 ; do + case $1 in + -h | --help | --h*) # -h for help + echo "$usage" + exit 0 + ;; + -m) # -m PERM arg + shift + test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } + dirmode=$1 + shift + ;; + --version) + echo "$0 $scriptversion" + exit 0 + ;; + --) # stop option processing + shift + break + ;; + -*) # unknown option + echo "$usage" 1>&2 + exit 1 + ;; + *) # first non-opt arg + break + ;; + esac +done for file do - set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` - shift + if test -d "$file"; then + shift + else + break + fi +done - pathcomp= - for d - do - pathcomp="$pathcomp$d" - case "$pathcomp" in - -* ) pathcomp=./$pathcomp ;; - esac +case $# in + 0) exit 0 ;; +esac - if test ! -d "$pathcomp"; then - echo "mkdir $pathcomp" +# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and +# mkdir -p a/c at the same time, both will detect that a is missing, +# one will create a, then the other will try to create a and die with +# a "File exists" error. This is a problem when calling mkinstalldirs +# from a parallel make. We use --version in the probe to restrict +# ourselves to GNU mkdir, which is thread-safe. +case $dirmode in + '') + if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + echo "mkdir -p -- $*" + exec mkdir -p -- "$@" + else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + test -d ./-p && rmdir ./-p + test -d ./--version && rmdir ./--version + fi + ;; + *) + if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && + test ! -d ./--version; then + echo "mkdir -m $dirmode -p -- $*" + exec mkdir -m "$dirmode" -p -- "$@" + else + # Clean up after NextStep and OpenStep mkdir. + for d in ./-m ./-p ./--version "./$dirmode"; + do + test -d $d && rmdir $d + done + fi + ;; +esac - mkdir "$pathcomp" || lasterr=$? +for file +do + set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` + shift - if test ! -d "$pathcomp"; then - errstatus=$lasterr - fi - fi + pathcomp= + for d + do + pathcomp="$pathcomp$d" + case $pathcomp in + -*) pathcomp=./$pathcomp ;; + esac - pathcomp="$pathcomp/" - done + if test ! -d "$pathcomp"; then + echo "mkdir $pathcomp" + + mkdir "$pathcomp" || lasterr=$? + + if test ! -d "$pathcomp"; then + errstatus=$lasterr + else + if test ! -z "$dirmode"; then + echo "chmod $dirmode $pathcomp" + lasterr="" + chmod "$dirmode" "$pathcomp" || lasterr=$? + + if test ! -z "$lasterr"; then + errstatus=$lasterr + fi + fi + fi + fi + + pathcomp="$pathcomp/" + done done exit $errstatus -# mkinstalldirs ends here +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: Index: configure =================================================================== RCS file: /cvsroot/openbnc/openbnc/configure,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- configure 9 Jul 2004 14:32:57 -0000 1.2 +++ configure 9 Jul 2004 18:45:04 -0000 1.3 @@ -272,7 +272,7 @@ PACKAGE_BUGREPORT= ac_unique_file="src/openbnc.c" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -813,6 +813,8 @@ --disable-multinet Disable multiple irc networks per user --disable-scripting Disable script usage --disable-proxy Disable proxy support + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors Some influential environment variables: CC C compiler command @@ -1260,7 +1262,8 @@ -am__api_version="1.4" + +am__api_version="1.8" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then @@ -1369,20 +1372,21 @@ echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 -echo timestamp > conftestfile +echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. - set X `ls -t $srcdir/configure conftestfile` + set X `ls -t $srcdir/configure conftest.file` fi - if test "$*" != "X $srcdir/configure conftestfile" \ - && test "$*" != "X conftestfile $srcdir/configure"; then + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a @@ -1395,7 +1399,7 @@ { (exit 1); exit 1; }; } fi - test "$2" = conftestfile + test "$2" = conftest.file ) then # Ok. @@ -1407,7 +1411,6 @@ Check your system clock" >&2;} { (exit 1); exit 1; }; } fi -rm -f conftest* echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 test "$program_prefix" != NONE && @@ -1423,6 +1426,84 @@ program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # Keeping the `.' argument allows $(mkdir_p) to be used without + # argument. Indeed, we sometimes output rules like + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. + # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more + # expensive solution, as it forces Make to start a sub-shell.) + mkdir_p='mkdir -p -- .' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_AWK+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + echo "$as_me:$LINENO: result: $AWK" >&5 +echo "${ECHO_T}$AWK" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$AWK" && break +done + echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` @@ -1452,17 +1533,38 @@ SET_MAKE="MAKE=${MAKE-make}" fi +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null -PACKAGE=OpenBNC - -VERSION=1.0 - -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE=OpenBNC + VERSION=1.0 + + cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF @@ -1472,90 +1574,122 @@ #define VERSION "$VERSION" _ACEOF +# Some tools Automake needs. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} -missing_dir=`cd $ac_aux_dir && pwd` -echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5 -echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then - ACLOCAL=aclocal-${am__api_version} - echo "$as_me:$LINENO: result: found" >&5 -echo "${ECHO_T}found" >&6 + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +install_sh=${install_sh-"$am_aux_dir/install-sh"} + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" - echo "$as_me:$LINENO: result: missing" >&5 -echo "${ECHO_T}missing" >&6 -fi + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done -echo "$as_me:$LINENO: checking for working autoconf" >&5 -echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (autoconf --version) < /dev/null > /dev/null 2>&1; then - AUTOCONF=autoconf - echo "$as_me:$LINENO: result: found" >&5 -echo "${ECHO_T}found" >&6 +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + echo "$as_me:$LINENO: result: $STRIP" >&5 +echo "${ECHO_T}$STRIP" >&6 else - AUTOCONF="$missing_dir/missing autoconf" - echo "$as_me:$LINENO: result: missing" >&5 -echo "${ECHO_T}missing" >&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5 -echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then - AUTOMAKE=automake-${am__api_version} - echo "$as_me:$LINENO: result: found" >&5 -echo "${ECHO_T}found" >&6 -else - AUTOMAKE="$missing_dir/missing automake-${am__api_version}" - echo "$as_me:$LINENO: result: missing" >&5 -echo "${ECHO_T}missing" >&6 fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done -echo "$as_me:$LINENO: checking for working autoheader" >&5 -echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (autoheader --version) < /dev/null > /dev/null 2>&1; then - AUTOHEADER=autoheader - echo "$as_me:$LINENO: result: found" >&5 -echo "${ECHO_T}found" >&6 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 +echo "${ECHO_T}$ac_ct_STRIP" >&6 else - AUTOHEADER="$missing_dir/missing autoheader" - echo "$as_me:$LINENO: result: missing" >&5 -echo "${ECHO_T}missing" >&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -echo "$as_me:$LINENO: checking for working makeinfo" >&5 -echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then - MAKEINFO=makeinfo - echo "$as_me:$LINENO: result: found" >&5 -echo "${ECHO_T}found" >&6 + STRIP=$ac_ct_STRIP else - MAKEINFO="$missing_dir/missing makeinfo" - echo "$as_me:$LINENO: result: missing" >&5 -echo "${ECHO_T}missing" >&6 + STRIP="$ac_cv_prog_STRIP" fi +fi +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" -# AC_CONFIG_HEADER(config.h) +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. - ac_config_headers="$ac_config_headers config.h" - ac_config_commands="$ac_config_commands default-1" + +# AC_CONFIG_HEADER(config.h) + ac_config_headers="$ac_config_headers config.h" # Check whether --enable-crypt or --disable-crypt was given. @@ -2639,6 +2773,175 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +DEPDIR="${am__leading_dot}deps" + + ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi + + +echo "$as_me:$LINENO: result: $_am_result" >&5 +echo "${ECHO_T}$_am_result" >&6 +rm -f confinc confmf + +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then + enableval="$enable_dependency_tracking" + +fi; +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + + +if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + + +depcc="$CC" am_compiler_list= + +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # (even with -Werror). So we grep stderr for any message + # that says an option was ignored. + if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + + +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or @@ -2720,6 +3023,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' ac_config_files="$ac_config_files Makefile menuconf/Makefile tools/Makefile src/Makefile" + cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -2811,6 +3115,20 @@ LTLIBOBJS=$ac_ltlibobjs +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files @@ -3244,7 +3562,7 @@ # INIT-COMMANDS section. # - +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF @@ -3259,7 +3577,7 @@ "menuconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES menuconf/Makefile" ;; "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; - "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} @@ -3349,6 +3667,7 @@ s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t +s,@CYGPATH_W@,$CYGPATH_W,;t t s,@PACKAGE@,$PACKAGE,;t t s,@VERSION@,$VERSION,;t t s,@ACLOCAL@,$ACLOCAL,;t t @@ -3356,7 +3675,15 @@ s,@AUTOMAKE@,$AUTOMAKE,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t s,@MAKEINFO@,$MAKEINFO,;t t +s,@AMTAR@,$AMTAR,;t t +s,@install_sh@,$install_sh,;t t +s,@STRIP@,$STRIP,;t t +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t +s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t +s,@mkdir_p@,$mkdir_p,;t t +s,@AWK@,$AWK,;t t s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t @@ -3364,6 +3691,15 @@ s,@ac_ct_CC@,$ac_ct_CC,;t t s,@EXEEXT@,$EXEEXT,;t t s,@OBJEXT@,$OBJEXT,;t t +s,@DEPDIR@,$DEPDIR,;t t +s,@am__include@,$am__include,;t t +s,@am__quote@,$am__quote,;t t +s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t +s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t +s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t +s,@CCDEPMODE@,$CCDEPMODE,;t t +s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t +s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF @@ -3825,6 +4161,28 @@ cat $tmp/config.h rm -f $tmp/config.h fi +# Compute $ac_file's index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $ac_file | $ac_file:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X$ac_file : 'X\(//\)[^/]' \| \ + X$ac_file : 'X\(//\)$' \| \ + X$ac_file : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X$ac_file | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'`/stamp-h$_am_stamp_count done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF @@ -3941,7 +4299,97 @@ { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 echo "$as_me: executing $ac_dest commands" >&6;} case $ac_dest in - default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; + depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`(dirname "$mf") 2>/dev/null || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + else + continue + fi + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue + # Extract the definition of DEP_FILES from the Makefile without + # running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" + # We invoke sed twice because it is the simplest approach to + # changing $(DEPDIR) to its actual value in the expansion. + for file in `sed -n ' + /^DEP_FILES = .*\\\\$/ { + s/^DEP_FILES = // + :loop + s/\\\\$// + p + n + /\\\\$/ b loop + p + } + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`(dirname "$file") 2>/dev/null || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p $dirpart/$fdir + else + as_dir=$dirpart/$fdir + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} + { (exit 1); exit 1; }; }; } + + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done + ;; esac done _ACEOF --- NEW FILE: INSTALL --- Index: configure.in =================================================================== RCS file: /cvsroot/openbnc/openbnc/configure.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- configure.in 9 Jul 2004 14:32:57 -0000 1.2 +++ configure.in 9 Jul 2004 18:45:04 -0000 1.3 @@ -1,47 +1,48 @@ -AC_INIT(src/openbnc.c) +AC_INIT +AC_CONFIG_SRCDIR([src/openbnc.c]) AM_INIT_AUTOMAKE(OpenBNC,1.0) # AC_CONFIG_HEADER(config.h) -AM_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS([config.h]) -AC_ARG_ENABLE(crypt,AC_HELP_STRING([--disable-crypt], [Disable crypt usage])) +AC_ARG_ENABLE(crypt,AS_HELP_STRING(--disable-crypt,Disable crypt usage)) if test x"$enable_crypt" != xno; then AC_DEFINE(CRYPT,,) fi AC_DEFINE(BLOWFISH,,) -AC_ARG_ENABLE(translate,AC_HELP_STRING([--disable-translate], [Disable translate usage])) +AC_ARG_ENABLE(translate,AS_HELP_STRING(--disable-translate,Disable translate usage)) if test x"$enable_translate" != xno; then AC_DEFINE(TRANSLATE,,) fi -AC_ARG_ENABLE(logging,AC_HELP_STRING([--disable-logging], [Disable logging])) +AC_ARG_ENABLE(logging,AS_HELP_STRING(--disable-logging,Disable logging)) if test x"$enable_logging" != xno; then AC_DEFINE(TRAFFICLOG,,) fi -AC_ARG_ENABLE(intnet,AC_HELP_STRING([--disable-intnet], [Disable internal network usage])) +AC_ARG_ENABLE(intnet,AS_HELP_STRING(--disable-intnet,Disable internal network usage)) if test x"$enable_intnet" != xno; then AC_DEFINE(INTNET,,) fi -AC_ARG_ENABLE(links,AC_HELP_STRING([--disable-links], [Disable linkage usage])) +AC_ARG_ENABLE(links,AS_HELP_STRING(--disable-links,Disable linkage usage)) if test x"$enable_links" != xno; then AC_DEFINE(LINKAGE,,) fi -AC_ARG_ENABLE(dcc,AC_HELP_STRING([--disable-dcc], [Disable DCC chats and transfers])) +AC_ARG_ENABLE(dcc,AS_HELP_STRING(--disable-dcc,Disable DCC chats and transfers)) if test x"$enable_dcc" != xno; then AC_DEFINE(DCCFILES,,) AC_DEFINE(DCCCHAT,,) fi -AC_ARG_ENABLE(multinet,AC_HELP_STRING([--disable-multinet], [Disable multiple irc networks per user])) +AC_ARG_ENABLE(multinet,AS_HELP_STRING(--disable-multinet,Disable multiple irc networks per user)) if test x"$enable_multinet" != xno; then AC_DEFINE(MULTIUSER,,) @@ -50,7 +51,7 @@ AC_DEFINE(MAXUSER,20,) AC_DEFINE(MAXCONN,50,) -AC_ARG_ENABLE(scripting,AC_HELP_STRING([--disable-scripting], [Disable script usage])) +AC_ARG_ENABLE(scripting,AS_HELP_STRING(--disable-scripting,Disable script usage)) if test x"$enable_scripting" != xno; then AC_DEFINE(SCRIPTING,,) fi @@ -59,7 +60,7 @@ AC_DEFINE(NETWORK,,) -AC_ARG_ENABLE(proxy,AC_HELP_STRING([--disable-proxy], [Disable proxy support])) +AC_ARG_ENABLE(proxy,AS_HELP_STRING(--disable-proxy,Disable proxy support)) if test x"$enable_proxy" != xno; then AC_DEFINE(PROXYS,,) @@ -70,4 +71,5 @@ AC_DEFINE(SSLSEC,2,) AC_PROG_CC AC_PROG_INSTALL -AC_OUTPUT(Makefile menuconf/Makefile tools/Makefile src/Makefile) +AC_CONFIG_FILES([Makefile menuconf/Makefile tools/Makefile src/Makefile]) +AC_OUTPUT Index: Makefile.in =================================================================== RCS file: /cvsroot/openbnc/openbnc/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 9 Jul 2004 14:32:57 -0000 1.2 +++ Makefile.in 9 Jul 2004 18:45:04 -0000 1.3 @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am +# Makefile.in generated by automake 1.8.3 from Makefile.am. +# @configure_input@ -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,116 +12,186 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ - +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = . - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : +subdir = . +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ + TODO acconfig.h depcomp install-sh missing mkinstalldirs +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno configure.status.lineno +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-exec-recursive install-info-recursive \ + install-recursive installcheck-recursive installdirs-recursive \ + pdf-recursive ps-recursive uninstall-info-recursive \ + uninstall-recursive +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d $(distdir) \ + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr $(distdir); }; } +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EXEEXT = @EXEEXT@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ VERSION = @VERSION@ - +ac_ct_CC = @ac_ct_CC@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +bindir = @bindir@ +build_alias = @build_alias@ +datadir = @datadir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ SUBDIRS = menuconf tools src -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ -Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4 config.h.in \ -configure configure.in install-sh missing mkinstalldirs - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive -TAR = tar -GZIP_ENV = --best -all: all-redirect .SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status - -$(ACLOCAL_M4): configure.in - cd $(srcdir) && $(ACLOCAL) +am--refresh: + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ + cd $(srcdir) && $(AUTOMAKE) --gnu \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; -config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + +$(top_srcdir)/configure: $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -config.h: stamp-h - @if test ! -f $@; then \ - rm -f stamp-h; \ - $(MAKE) stamp-h; \ - else :; fi -stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES= CONFIG_HEADERS=config.h \ - $(SHELL) ./config.status - @echo timestamp > stamp-h 2> /dev/null -$(srcdir)/config.h.in: $(srcdir)/stamp-h.in +config.h: stamp-h1 @if test ! -f $@; then \ - rm -f $(srcdir)/stamp-h.in; \ - $(MAKE) $(srcdir)/stamp-h.in; \ + rm -f stamp-h1; \ + $(MAKE) stamp-h1; \ else :; fi -$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h - cd $(top_srcdir) && $(AUTOHEADER) - @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null - -mostlyclean-hdr: -clean-hdr: +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: $(am__configure_deps) $(top_srcdir)/acconfig.h + cd $(top_srcdir) && $(AUTOHEADER) + rm -f stamp-h1 + touch $@ distclean-hdr: - -rm -f config.h - -maintainer-clean-hdr: + -rm -f config.h stamp-h1 +uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. @@ -127,13 +199,8 @@ # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ +$(RECURSIVE_TARGETS): + @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -153,13 +220,18 @@ mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ + @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" != "." || dot_seen=yes; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ + rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ @@ -175,177 +247,301 @@ list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) + mkid -fID $$unique +tags: TAGS -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ + if (etags --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + else \ + include_option=--include; \ + fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique -clean-tags: +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(distdir) + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -# This target untars the dist file and tries a VPATH configuration. Then -# it guarantees that the distribution is self-contained by making another -# tarfile. -distcheck: dist - -rm -rf $(distdir) - GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz - mkdir $(distdir)/=build - mkdir $(distdir)/=inst - dc_install_base=`cd $(distdir)/=inst && pwd`; \ - cd $(distdir)/=build \ - && ../configure --srcdir=.. --prefix=$$dc_install_base \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) dist - -rm -rf $(distdir) - @banner="$(distdir).tar.gz is ready for distribution"; \ - dashes=`echo "$$banner" | sed s/./=/g`; \ - echo "$$dashes"; \ - echo "$$banner"; \ - echo "$$dashes" -dist: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) -dist-all: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) distdir: $(DISTFILES) - -rm -rf $(distdir) + $(am__remove_distdir) mkdir $(distdir) - -chmod 777 $(distdir) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done - for subdir in $(SUBDIRS); do \ + list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ + test -d "$(distdir)/$$subdir" \ + || mkdir "$(distdir)/$$subdir" \ || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="../$(top_distdir)" \ + distdir="../$(distdir)/$$subdir" \ + distdir) \ || exit 1; \ fi; \ done -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive -check-am: all-am -check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -all-recursive-am: config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist-gzip: distdir + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) -install-exec-am: -install-exec: install-exec-recursive +dist-bzip2: distdir + $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) -install-data-am: -install-data: install-data-recursive +dist-tarZ: distdir + $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: -uninstall: uninstall-recursive +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' +distuninstallcheck: + @cd $(distuninstallcheck_dir) \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive all-am: Makefile config.h -all-redirect: all-recursive-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: installdirs-recursive installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive -mostlyclean: mostlyclean-recursive +clean-am: clean-generic mostlyclean-am -clean-am: clean-hdr clean-tags clean-generic mostlyclean-am +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr distclean-tags -clean: clean-recursive +dvi: dvi-recursive -distclean-am: distclean-hdr distclean-tags distclean-generic clean-am +dvi-am: -distclean: distclean-recursive - -rm -f config.status +html: html-recursive -maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \ - maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." +info: info-recursive + +info-am: + +install-data-am: + +install-exec-am: + +install-info: install-info-recursive + +install-man: + +installcheck-am: maintainer-clean: maintainer-clean-recursive - -rm -f config.status + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic -.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ -install-data-recursive uninstall-data-recursive install-exec-recursive \ -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ -all-recursive check-recursive installcheck-recursive info-recursive \ -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ -install-exec-am install-exec install-data-am install-data install-am \ -install uninstall-am uninstall all-redirect all-am all installdirs-am \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-info-am + +uninstall-info: uninstall-info-recursive + +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ + check-am clean clean-generic clean-recursive ctags \ + ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \ + dist-tarZ dist-zip distcheck distclean distclean-generic \ + distclean-hdr distclean-recursive distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-exec install-exe... [truncated message content] |
From: Mateusz K. <sh...@us...> - 2004-07-09 18:45:14
|
Update of /cvsroot/openbnc/openbnc/menuconf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10779/openbnc/menuconf Modified Files: Makefile.in Log Message: - automake 1.4 -> 1.8 Index: Makefile.in =================================================================== RCS file: /cvsroot/openbnc/openbnc/menuconf/Makefile.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile.in 9 Jul 2004 14:32:57 -0000 1.2 +++ Makefile.in 9 Jul 2004 18:45:04 -0000 1.3 @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am +# Makefile.in generated by automake 1.8.3 from Makefile.am. +# @configure_input@ -# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,301 +12,388 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. +@SET_MAKE@ -SHELL = @SHELL@ +SOURCES = $(menuconf_SOURCES) srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : +bin_PROGRAMS = menuconf$(EXEEXT) +subdir = menuconf +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +am__installdirs = "$(DESTDIR)$(bindir)" +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) +PROGRAMS = $(bin_PROGRAMS) +am_menuconf_OBJECTS = menuconf.$(OBJEXT) inputbox.$(OBJEXT) \ + util.$(OBJEXT) checklist.$(OBJEXT) menubox.$(OBJEXT) \ + textbox.$(OBJEXT) snprintf.$(OBJEXT) +menuconf_OBJECTS = $(am_menuconf_OBJECTS) +menuconf_DEPENDENCIES = +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/checklist.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/inputbox.Po ./$(DEPDIR)/menubox.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/menuconf.Po ./$(DEPDIR)/snprintf.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/textbox.Po ./$(DEPDIR)/util.Po +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(menuconf_SOURCES) +DIST_SOURCES = $(menuconf_SOURCES) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EXEEXT = @EXEEXT@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ VERSION = @VERSION@ - -bin_PROGRAMS = menuconf +ac_ct_CC = @ac_ct_CC@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +bindir = @bindir@ +build_alias = @build_alias@ +datadir = @datadir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ menuconf_SOURCES = menuconf.c inputbox.c util.c checklist.c menubox.c textbox.c snprintf.c config.h dialogs.h colors.h menuconf_LDADD = -lncurses INCLUDES = -I../src/ -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -PROGRAMS = $(bin_PROGRAMS) - - -DEFS = @DEFS@ -I. -I$(srcdir) -I.. -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -menuconf_OBJECTS = menuconf.o inputbox.o util.o checklist.o menubox.o \ -textbox.o snprintf.o -menuconf_DEPENDENCIES = -menuconf_LDFLAGS = -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -DEP_FILES = .deps/checklist.P .deps/inputbox.P .deps/menubox.P \ -.deps/menuconf.P .deps/snprintf.P .deps/textbox.P .deps/util.P -SOURCES = $(menuconf_SOURCES) -OBJECTS = $(menuconf_OBJECTS) +all: all-am -all: all-redirect .SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu menuconf/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-binPROGRAMS: - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) - -distclean-binPROGRAMS: +.SUFFIXES: .c .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu menuconf/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu menuconf/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; -maintainer-clean-binPROGRAMS: +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(bindir) + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ - if test -f $$p; then \ - echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ - $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + if test -f $$p \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ + $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) - list='$(bin_PROGRAMS)'; for p in $$list; do \ - rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ + rm -f "$(DESTDIR)$(bindir)/$$f"; \ done -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) +menuconf$(EXEEXT): $(menuconf_OBJECTS) $(menuconf_DEPENDENCIES) + @rm -f menuconf$(EXEEXT) + $(LINK) $(menuconf_LDFLAGS) $(menuconf_OBJECTS) $(menuconf_LDADD) $(LIBS) mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: + -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c -maintainer-clean-compile: +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/checklist.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inputbox.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/menubox.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/menuconf.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snprintf.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/textbox.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Po@am__quote@ -menuconf: $(menuconf_OBJECTS) $(menuconf_DEPENDENCIES) - @rm -f menuconf - $(LINK) $(menuconf_LDFLAGS) $(menuconf_OBJECTS) $(menuconf_LDADD) $(LIBS) +.c.o: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< -tags: TAGS +.c.obj: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +uninstall-info-am: -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) + mkid -fID $$unique +tags: TAGS -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique -clean-tags: +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = menuconf + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) - here=`cd $(top_builddir) && pwd`; \ - top_distdir=`cd $(top_distdir) && pwd`; \ - distdir=`cd $(distdir) && pwd`; \ - cd $(top_srcdir) \ - && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu menuconf/Makefile - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done - -DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) - --include $(DEP_FILES) - -mostlyclean-depend: - -clean-depend: - -distclean-depend: - -rm -rf .deps - -maintainer-clean-depend: - -%.o: %.c - @echo '$(COMPILE) -c $<'; \ - $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-cp .deps/$(*F).pp .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm .deps/$(*F).pp - -%.lo: %.c - @echo '$(LTCOMPILE) -c $<'; \ - $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< - @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ - < .deps/$(*F).pp > .deps/$(*F).P; \ - tr ' ' '\012' < .deps/$(*F).pp \ - | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ - >> .deps/$(*F).P; \ - rm -f .deps/$(*F).pp -info-am: -info: info-am -dvi-am: -dvi: dvi-am check-am: all-am check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: install-binPROGRAMS +all-am: Makefile $(PROGRAMS) +installdirs: + for dir in "$(DESTDIR)$(bindir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-am install-exec: install-exec-am - -install-data-am: install-data: install-data-am +uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: uninstall-binPROGRAMS -uninstall: uninstall-am -all-am: Makefile $(PROGRAMS) -all-redirect: all-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - $(mkinstalldirs) $(DESTDIR)$(bindir) - +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-depend mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am -mostlyclean: mostlyclean-am +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am -clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ - clean-generic mostlyclean-am +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags -clean: clean-am +dvi: dvi-am -distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ - distclean-depend distclean-generic clean-am +dvi-am: -distclean: distclean-am +html: html-am -maintainer-clean-am: maintainer-clean-binPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-depend maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." +info: info-am + +info-am: + +install-data-am: + +install-exec-am: install-binPROGRAMS + +install-info: install-info-am + +install-man: + +installcheck-am: maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic -.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ -maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir mostlyclean-depend \ -distclean-depend clean-depend maintainer-clean-depend info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +pdf: pdf-am + +pdf-am: +ps: ps-am + +ps-am: + +uninstall-am: uninstall-binPROGRAMS uninstall-info-am + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ + clean-generic ctags distclean distclean-compile \ + distclean-generic distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-binPROGRAMS \ + install-data install-data-am install-exec install-exec-am \ + install-info install-info-am install-man install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ + uninstall-am uninstall-binPROGRAMS uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. |
From: Mateusz K. <sh...@us...> - 2004-07-09 14:33:08
|
Update of /cvsroot/openbnc/openbnc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10526/openbnc Modified Files: Makefile Makefile.in config.h configure configure.in Added Files: acconfig.h config.h.in stamp-h.in Log Message: - Add --disable functions into ./configure'n'make stuff Index: config.h =================================================================== RCS file: /cvsroot/openbnc/openbnc/config.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- config.h 24 May 2004 16:43:57 -0000 1.1.1.1 +++ config.h 9 Jul 2004 14:32:57 -0000 1.2 @@ -1,73 +1,41 @@ -/* - * Configuration file for psyBNC, created by menuconf - */ - -/* Encryption */ - -#define CRYPT - -/* Encryption Type*/ - -#define BLOWFISH - -/* Allow Translation */ - -#define TRANSLATE - -/* Allow internal network */ - -#define INTNET - -/* Allow traffic logging */ - -#define TRAFFICLOG - -/* Allow linkage of bouncers */ - -#define LINKAGE - -/* Allow the dcc File-Functions */ - -#define DCCFILES - -/* Pipe dcc Chats */ - -#define DCCCHAT - -/* Allow to add more users */ - -#define MULTIUSER - -/* Number of max. Users */ - -#define MAXUSER 50 - -/* Number of max. Connections per User */ - -#define MAXCONN 99 - -/* Allow the usage of scripts */ - -#define SCRIPTING - -/* Allow multiple irc connections per user */ - -#define NETWORK - -/* Allow Proxy Support */ - -#define PROXYS - -/* The logging level */ - -#define LOGLEVEL 0 - -/* SSL-Security */ - -#define SSLSEC 2 - -/* Blocking DNS is preferred. Non Blocking DNS is experimental */ - -#ifndef BLOCKDNS -#define BLOCKDNS -#endif +/* config.h. Generated by configure. */ +/* config.h.in. Generated from configure.in by autoheader. */ +#define CRYPT +#define BLOWFISH +#define TRANSLATE +#define INTNET +#define TRAFFICLOG +#define LINKAGE +#define DCCFILES +#define DCCCHAT +#define MULTIUSER +#define MAXUSER 20 +#define MAXCONN 50 +#define SCRIPTING +#define BLOCKDNS +#define NETWORK +#define PROXYS +#define LOGLEVEL 0 +#define SSLSEC 2 + + +/* Name of package */ +#define PACKAGE "OpenBNC" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "" + +/* Version number of package */ +#define VERSION "1.0" --- NEW FILE: acconfig.h --- #undef CRYPT #undef BLOWFISH #undef TRANSLATE #undef INTNET #undef TRAFFICLOG #undef LINKAGE #undef DCCFILES #undef DCCCHAT #undef MULTIUSER #undef MAXUSER #undef MAXCONN #undef SCRIPTING #undef BLOCKDNS #undef NETWORK #undef PROXYS #undef LOGLEVEL #undef SSLSEC --- NEW FILE: stamp-h.in --- timestamp --- NEW FILE: config.h.in --- /* config.h.in. Generated from configure.in by autoheader. */ #undef CRYPT #undef BLOWFISH #undef TRANSLATE #undef INTNET #undef TRAFFICLOG #undef LINKAGE #undef DCCFILES #undef DCCCHAT #undef MULTIUSER #undef MAXUSER #undef MAXCONN #undef SCRIPTING #undef BLOCKDNS #undef NETWORK #undef PROXYS #undef LOGLEVEL #undef SSLSEC /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Version number of package */ #undef VERSION Index: configure =================================================================== RCS file: /cvsroot/openbnc/openbnc/configure,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- configure 8 Jul 2004 14:57:40 -0000 1.1 +++ configure 9 Jul 2004 14:32:57 -0000 1.2 @@ -1,26 +1,288 @@ #! /bin/sh - # Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.13 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. +# Generated by GNU Autoconf 2.59. # +# Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. +## --------------------- ## [...4562 lines suppressed...] +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || { (exit 1); exit 1; } +fi Index: configure.in =================================================================== RCS file: /cvsroot/openbnc/openbnc/configure.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- configure.in 8 Jul 2004 14:57:40 -0000 1.1 +++ configure.in 9 Jul 2004 14:32:57 -0000 1.2 @@ -1,5 +1,73 @@ AC_INIT(src/openbnc.c) AM_INIT_AUTOMAKE(OpenBNC,1.0) +# AC_CONFIG_HEADER(config.h) +AM_CONFIG_HEADER(config.h) + +AC_ARG_ENABLE(crypt,AC_HELP_STRING([--disable-crypt], [Disable crypt usage])) + +if test x"$enable_crypt" != xno; then + AC_DEFINE(CRYPT,,) +fi + +AC_DEFINE(BLOWFISH,,) +AC_ARG_ENABLE(translate,AC_HELP_STRING([--disable-translate], [Disable translate usage])) + +if test x"$enable_translate" != xno; then + AC_DEFINE(TRANSLATE,,) +fi + +AC_ARG_ENABLE(logging,AC_HELP_STRING([--disable-logging], [Disable logging])) + +if test x"$enable_logging" != xno; then + AC_DEFINE(TRAFFICLOG,,) +fi + +AC_ARG_ENABLE(intnet,AC_HELP_STRING([--disable-intnet], [Disable internal network usage])) + +if test x"$enable_intnet" != xno; then + AC_DEFINE(INTNET,,) +fi + +AC_ARG_ENABLE(links,AC_HELP_STRING([--disable-links], [Disable linkage usage])) + +if test x"$enable_links" != xno; then + AC_DEFINE(LINKAGE,,) +fi + +AC_ARG_ENABLE(dcc,AC_HELP_STRING([--disable-dcc], [Disable DCC chats and transfers])) + +if test x"$enable_dcc" != xno; then + AC_DEFINE(DCCFILES,,) + AC_DEFINE(DCCCHAT,,) +fi + +AC_ARG_ENABLE(multinet,AC_HELP_STRING([--disable-multinet], [Disable multiple irc networks per user])) + +if test x"$enable_multinet" != xno; then + AC_DEFINE(MULTIUSER,,) +fi + +AC_DEFINE(MAXUSER,20,) +AC_DEFINE(MAXCONN,50,) + +AC_ARG_ENABLE(scripting,AC_HELP_STRING([--disable-scripting], [Disable script usage])) +if test x"$enable_scripting" != xno; then + AC_DEFINE(SCRIPTING,,) +fi + +AC_DEFINE(BLOCKDNS,,) +AC_DEFINE(NETWORK,,) + + +AC_ARG_ENABLE(proxy,AC_HELP_STRING([--disable-proxy], [Disable proxy support])) + +if test x"$enable_proxy" != xno; then + AC_DEFINE(PROXYS,,) +fi + + +AC_DEFINE(LOGLEVEL,0,) +AC_DEFINE(SSLSEC,2,) AC_PROG_CC AC_PROG_INSTALL AC_OUTPUT(Makefile menuconf/Makefile tools/Makefile src/Makefile) Index: Makefile.in =================================================================== RCS file: /cvsroot/openbnc/openbnc/Makefile.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.in 8 Jul 2004 14:57:40 -0000 1.1 +++ Makefile.in 9 Jul 2004 14:32:57 -0000 1.2 @@ -65,10 +65,11 @@ SUBDIRS = menuconf tools src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = -DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ -Makefile.in NEWS TODO aclocal.m4 configure configure.in install-sh \ -missing mkinstalldirs +DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ +Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4 config.h.in \ +configure configure.in install-sh missing mkinstalldirs DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) @@ -92,6 +93,34 @@ $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) +config.h: stamp-h + @if test ! -f $@; then \ + rm -f stamp-h; \ + $(MAKE) stamp-h; \ + else :; fi +stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES= CONFIG_HEADERS=config.h \ + $(SHELL) ./config.status + @echo timestamp > stamp-h 2> /dev/null +$(srcdir)/config.h.in: $(srcdir)/stamp-h.in + @if test ! -f $@; then \ + rm -f $(srcdir)/stamp-h.in; \ + $(MAKE) $(srcdir)/stamp-h.in; \ + else :; fi +$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h + cd $(top_srcdir) && $(AUTOHEADER) + @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null + +mostlyclean-hdr: + +clean-hdr: + +distclean-hdr: + -rm -f config.h + +maintainer-clean-hdr: + # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, @@ -157,7 +186,7 @@ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -169,8 +198,8 @@ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) mostlyclean-tags: @@ -252,6 +281,9 @@ check: check-recursive installcheck-am: installcheck: installcheck-recursive +all-recursive-am: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + install-exec-am: install-exec: install-exec-recursive @@ -263,8 +295,8 @@ install: install-recursive uninstall-am: uninstall: uninstall-recursive -all-am: Makefile -all-redirect: all-recursive +all-am: Makefile config.h +all-redirect: all-recursive-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: installdirs-recursive @@ -280,37 +312,37 @@ -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: -mostlyclean-am: mostlyclean-tags mostlyclean-generic +mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-recursive -clean-am: clean-tags clean-generic mostlyclean-am +clean-am: clean-hdr clean-tags clean-generic mostlyclean-am clean: clean-recursive -distclean-am: distclean-tags distclean-generic clean-am +distclean-am: distclean-hdr distclean-tags distclean-generic clean-am distclean: distclean-recursive -rm -f config.status -maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ - distclean-am +maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \ + maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-recursive -rm -f config.status -.PHONY: install-data-recursive uninstall-data-recursive \ -install-exec-recursive uninstall-exec-recursive installdirs-recursive \ -uninstalldirs-recursive all-recursive check-recursive \ -installcheck-recursive info-recursive dvi-recursive \ -mostlyclean-recursive distclean-recursive clean-recursive \ +.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ +install-data-recursive uninstall-data-recursive install-exec-recursive \ +uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ +all-recursive check-recursive installcheck-recursive info-recursive \ +dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs-am \ +dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ +install-exec-am install-exec install-data-am install-data install-am \ +install uninstall-am uninstall all-redirect all-am all installdirs-am \ installdirs mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean Index: Makefile =================================================================== RCS file: /cvsroot/openbnc/openbnc/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile 8 Jul 2004 14:57:40 -0000 1.3 +++ Makefile 9 Jul 2004 14:32:57 -0000 1.4 @@ -1,4 +1,3 @@ -# Generated automatically from Makefile.in by configure. # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. @@ -16,6 +15,7 @@ srcdir = . top_srcdir = . + prefix = /usr/local exec_prefix = ${prefix} @@ -48,7 +48,7 @@ INSTALL = /bin/install -c INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = ${INSTALL} -m 644 -INSTALL_SCRIPT = ${INSTALL_PROGRAM} +INSTALL_SCRIPT = ${INSTALL} transform = s,x,x, NORMAL_INSTALL = : @@ -65,10 +65,11 @@ SUBDIRS = menuconf tools src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = -DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ -Makefile.in NEWS TODO aclocal.m4 configure configure.in install-sh \ -missing mkinstalldirs +DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ +Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4 config.h.in \ +configure configure.in install-sh missing mkinstalldirs DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) @@ -92,6 +93,34 @@ $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) +config.h: stamp-h + @if test ! -f $@; then \ + rm -f stamp-h; \ + $(MAKE) stamp-h; \ + else :; fi +stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES= CONFIG_HEADERS=config.h \ + $(SHELL) ./config.status + @echo timestamp > stamp-h 2> /dev/null +$(srcdir)/config.h.in: $(srcdir)/stamp-h.in + @if test ! -f $@; then \ + rm -f $(srcdir)/stamp-h.in; \ + $(MAKE) $(srcdir)/stamp-h.in; \ + else :; fi +$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h + cd $(top_srcdir) && $(AUTOHEADER) + @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null + +mostlyclean-hdr: + +clean-hdr: + +distclean-hdr: + -rm -f config.h + +maintainer-clean-hdr: + # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, @@ -157,7 +186,7 @@ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -169,8 +198,8 @@ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) mostlyclean-tags: @@ -252,6 +281,9 @@ check: check-recursive installcheck-am: installcheck: installcheck-recursive +all-recursive-am: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + install-exec-am: install-exec: install-exec-recursive @@ -263,8 +295,8 @@ install: install-recursive uninstall-am: uninstall: uninstall-recursive -all-am: Makefile -all-redirect: all-recursive +all-am: Makefile config.h +all-redirect: all-recursive-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: installdirs-recursive @@ -280,37 +312,37 @@ -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: -mostlyclean-am: mostlyclean-tags mostlyclean-generic +mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-recursive -clean-am: clean-tags clean-generic mostlyclean-am +clean-am: clean-hdr clean-tags clean-generic mostlyclean-am clean: clean-recursive -distclean-am: distclean-tags distclean-generic clean-am +distclean-am: distclean-hdr distclean-tags distclean-generic clean-am distclean: distclean-recursive -rm -f config.status -maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ - distclean-am +maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \ + maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-recursive -rm -f config.status -.PHONY: install-data-recursive uninstall-data-recursive \ -install-exec-recursive uninstall-exec-recursive installdirs-recursive \ -uninstalldirs-recursive all-recursive check-recursive \ -installcheck-recursive info-recursive dvi-recursive \ -mostlyclean-recursive distclean-recursive clean-recursive \ +.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ +install-data-recursive uninstall-data-recursive install-exec-recursive \ +uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ +all-recursive check-recursive installcheck-recursive info-recursive \ +dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs-am \ +dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ +install-exec-am install-exec install-data-am install-data install-am \ +install uninstall-am uninstall all-redirect all-am all installdirs-am \ installdirs mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean |
From: Mateusz K. <sh...@us...> - 2004-07-09 14:33:08
|
Update of /cvsroot/openbnc/openbnc/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10526/openbnc/tools Modified Files: Makefile.in Log Message: - Add --disable functions into ./configure'n'make stuff Index: Makefile.in =================================================================== RCS file: /cvsroot/openbnc/openbnc/tools/Makefile.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.in 8 Jul 2004 14:57:42 -0000 1.1 +++ Makefile.in 9 Jul 2004 14:32:58 -0000 1.2 @@ -65,11 +65,12 @@ bin_PROGRAMS = makesalt makesalt_SOURCES = makesalt.c mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = PROGRAMS = $(bin_PROGRAMS) -DEFS = @DEFS@ -I. -I$(srcdir) +DEFS = @DEFS@ -I. -I$(srcdir) -I.. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ |
From: Mateusz K. <sh...@us...> - 2004-07-09 14:33:07
|
Update of /cvsroot/openbnc/openbnc/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10526/openbnc/src Modified Files: Makefile.in Log Message: - Add --disable functions into ./configure'n'make stuff Index: Makefile.in =================================================================== RCS file: /cvsroot/openbnc/openbnc/src/Makefile.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.in 8 Jul 2004 14:57:42 -0000 1.1 +++ Makefile.in 9 Jul 2004 14:32:58 -0000 1.2 @@ -67,11 +67,12 @@ openbnc_LDADD = -L/usr/local/ssl/lib -lssl -lcrypto -lresolv INCLUDES = -I../ -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = PROGRAMS = $(bin_PROGRAMS) -DEFS = @DEFS@ -I. -I$(srcdir) +DEFS = @DEFS@ -I. -I$(srcdir) -I.. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ |
From: Mateusz K. <sh...@us...> - 2004-07-09 14:33:07
|
Update of /cvsroot/openbnc/openbnc/menuconf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10526/openbnc/menuconf Modified Files: Makefile.in Log Message: - Add --disable functions into ./configure'n'make stuff Index: Makefile.in =================================================================== RCS file: /cvsroot/openbnc/openbnc/menuconf/Makefile.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.in 8 Jul 2004 14:57:41 -0000 1.1 +++ Makefile.in 9 Jul 2004 14:32:57 -0000 1.2 @@ -67,11 +67,12 @@ menuconf_LDADD = -lncurses INCLUDES = -I../src/ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = PROGRAMS = $(bin_PROGRAMS) -DEFS = @DEFS@ -I. -I$(srcdir) +DEFS = @DEFS@ -I. -I$(srcdir) -I.. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ |
Update of /cvsroot/openbnc/openbnc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4354/openbnc Modified Files: Makefile Added Files: AUTHORS ChangeLog Makefile.am Makefile.in configure configure.in install-sh missing mkinstalldirs Log Message: - Add alpha version of config'n'make stuff --- NEW FILE: mkinstalldirs --- #! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <fri...@pr...> # Created: 1993-05-16 # Public domain # $Id: mkinstalldirs,v 1.1 2004/07/08 14:57:40 shmati Exp $ errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case "$pathcomp" in -* ) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr fi fi pathcomp="$pathcomp/" done done exit $errstatus # mkinstalldirs ends here --- NEW FILE: Makefile.am --- SUBDIRS = menuconf tools src --- NEW FILE: configure --- #! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. # Defaults: ac_help= ac_default_prefix=/usr/local # Any additions from configure.in: # Initialize some variables set by options. # The variables have the same names as the options, with # dashes changed to underlines. build=NONE cache_file=./config.cache [...1292 lines suppressed...] s%@configure_input@%$configure_input%g s%@srcdir@%$srcdir%g s%@top_srcdir@%$top_srcdir%g s%@INSTALL@%$INSTALL%g " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file fi; done rm -f conftest.s* EOF cat >> $CONFIG_STATUS <<EOF EOF cat >> $CONFIG_STATUS <<\EOF exit 0 EOF chmod +x $CONFIG_STATUS rm -fr confdefs* $ac_clean_files test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 --- NEW FILE: configure.in --- AC_INIT(src/openbnc.c) AM_INIT_AUTOMAKE(OpenBNC,1.0) AC_PROG_CC AC_PROG_INSTALL AC_OUTPUT(Makefile menuconf/Makefile tools/Makefile src/Makefile) --- NEW FILE: Makefile.in --- # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : CC = @CC@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SUBDIRS = menuconf tools src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ Makefile.in NEWS TODO aclocal.m4 configure configure.in install-sh \ missing mkinstalldirs DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status $(ACLOCAL_M4): configure.in cd $(srcdir) && $(ACLOCAL) config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. @SET_MAKE@ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive info-recursive dvi-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ dot_seen=no; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ rev="$$subdir $$rev"; \ test "$$subdir" != "." || dot_seen=yes; \ done; \ test "$$dot_seen" = "no" && rev=". $$rev"; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist -rm -rf $(distdir) GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz mkdir $(distdir)/=build mkdir $(distdir)/=inst dc_install_base=`cd $(distdir)/=inst && pwd`; \ cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) dist -rm -rf $(distdir) @banner="$(distdir).tar.gz is ready for distribution"; \ dashes=`echo "$$banner" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ echo "$$dashes" dist: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) dist-all: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) distdir: $(DISTFILES) -rm -rf $(distdir) mkdir $(distdir) -chmod 777 $(distdir) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done for subdir in $(SUBDIRS); do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ chmod 777 $(distdir)/$$subdir; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ || exit 1; \ fi; \ done info-am: info: info-recursive dvi-am: dvi: dvi-recursive check-am: all-am check: check-recursive installcheck-am: installcheck: installcheck-recursive install-exec-am: install-exec: install-exec-recursive install-data-am: install-data: install-data-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-recursive uninstall-am: uninstall: uninstall-recursive all-am: Makefile all-redirect: all-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: installdirs-recursive installdirs-am: mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-recursive clean-am: clean-tags clean-generic mostlyclean-am clean: clean-recursive distclean-am: distclean-tags distclean-generic clean-am distclean: distclean-recursive -rm -f config.status maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-recursive -rm -f config.status .PHONY: install-data-recursive uninstall-data-recursive \ install-exec-recursive uninstall-exec-recursive installdirs-recursive \ uninstalldirs-recursive all-recursive check-recursive \ installcheck-recursive info-recursive dvi-recursive \ mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs-am \ installdirs mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: --- NEW FILE: install-sh --- #!/bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that # copyright notice and this permission notice appear in supporting # documentation, and that the name of M.I.T. not be used in advertising or # publicity pertaining to distribution of the software without specific, # written prior permission. M.I.T. makes no representations about the # suitability of this software for any purpose. It is provided "as is" # without express or implied warranty. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" transformbasename="" transform_arg="" instcmd="$mvprog" chmodcmd="$chmodprog 0755" chowncmd="" chgrpcmd="" stripcmd="" rmcmd="$rmprog -f" mvcmd="$mvprog" src="" dst="" dir_arg="" while [ x"$1" != x ]; do case $1 in -c) instcmd="$cpprog" shift continue;; -d) dir_arg=true shift continue;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; -s) stripcmd="$stripprog" shift continue;; -t=*) transformarg=`echo $1 | sed 's/-t=//'` shift continue;; -b=*) transformbasename=`echo $1 | sed 's/-b=//'` shift continue;; *) if [ x"$src" = x ] then src=$1 else # this colon is to work around a 386BSD /bin/sh bug : dst=$1 fi shift continue;; esac done if [ x"$src" = x ] then echo "install: no input file specified" exit 1 else true fi if [ x"$dir_arg" != x ]; then dst=$src src="" if [ -d $dst ]; then instcmd=: chmodcmd="" else instcmd=mkdir fi else # Waiting for this to be detected by the "$instcmd $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if [ -f $src -o -d $src ] then true else echo "install: $src does not exist" exit 1 fi if [ x"$dst" = x ] then echo "install: no destination specified" exit 1 else true fi # If destination is a directory, append the input filename; if your system # does not like double slashes in filenames, you may need to add some logic if [ -d $dst ] then dst="$dst"/`basename $src` else true fi fi ## this sed command emulates the dirname command dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` # Make sure that the destination directory exists. # this part is taken from Noah Friedman's mkinstalldirs script # Skip lots of stat calls in the usual case. if [ ! -d "$dstdir" ]; then defaultIFS=' ' IFS="${IFS-${defaultIFS}}" oIFS="${IFS}" # Some sh's can't handle IFS=/ for some reason. IFS='%' set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` IFS="${oIFS}" pathcomp='' while [ $# -ne 0 ] ; do pathcomp="${pathcomp}${1}" shift if [ ! -d "${pathcomp}" ] ; then $mkdirprog "${pathcomp}" else true fi pathcomp="${pathcomp}/" done fi if [ x"$dir_arg" != x ] then $doit $instcmd $dst && if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi else # If we're going to rename the final executable, determine the name now. if [ x"$transformarg" = x ] then dstfile=`basename $dst` else dstfile=`basename $dst $transformbasename | sed $transformarg`$transformbasename fi # don't allow the sed command to completely eliminate the filename if [ x"$dstfile" = x ] then dstfile=`basename $dst` else true fi # Make a temp file name in the proper directory. dsttmp=$dstdir/#inst.$$# # Move or copy the file name to the temp name $doit $instcmd $src $dsttmp && trap "rm -f ${dsttmp}" 0 && # and set any options; do chmod last to preserve setuid bits # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $instcmd $src $dsttmp" command. if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && # Now rename the file to the real destination. $doit $rmcmd -f $dstdir/$dstfile && $doit $mvcmd $dsttmp $dstdir/$dstfile fi && exit 0 --- NEW FILE: ChangeLog --- --- NEW FILE: missing --- #! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc. # Franc,ois Pinard <pi...@ir...>, 1996. # 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, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.in; then configure_ac=configure.ac else configure_ac=configure.in fi case "$1" in -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file yacc create \`y.tab.[ch]', if possible, from existing .[ch]" ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing - GNU libit 0.0" ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; aclocal*) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acinclude.m4' or \`$configure_ac'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`$configure_ac'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acconfig.h' or \`$configure_ac'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' $configure_ac` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`$configure_ac'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` fi touch $file ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequirements for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 Index: Makefile =================================================================== RCS file: /cvsroot/openbnc/openbnc/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile 9 Jun 2004 08:53:50 -0000 1.2 +++ Makefile 8 Jul 2004 14:57:40 -0000 1.3 @@ -1,59 +1,320 @@ -CC = gcc -CCFLAGS = - -all: $(OBJS) - @echo Initializing bouncer compilation - @echo [*] Running Conversion Tool for old PsyBNC Data to OpenBNC. - @$(CC) tools/convconf.c -o tools/convconf - @tools/convconf - @echo [*] Running Autoconfig. - @$(CC) -I. tools/autoconf.c -o tools/autoconf - @tools/autoconf - @echo [*] Compiling MakeSalt for Encryption.. - @$(CC) -I. -o makesalt tools/makesalt.c - @./makesalt - @echo [*] Compiling Bouncer.. - @make -f makefile.out - @ls -al openbnc - @echo done. - -menuconfig: - @echo Initializing Menu-Configuration - @echo [*] Running Conversion Tool for older OpenBNC Data. - @$(CC) tools/convconf.c -o tools/convconf - @tools/convconf - @echo [*] Running Autoconfig. - @$(CC) -I. tools/autoconf.c -o tools/autoconf - @tools/autoconf - @echo [*] Creating Menu, please wait. - @echo This needs the 'ncurses' library. If it is not available, menuconf wont work. If you are using 'curses', use make menuconfig-curses instead. - @$(CC) menuconf/menuconf.c menuconf/inputbox.c menuconf/util.c menuconf/checklist.c menuconf/menubox.c menuconf/textbox.c src/snprintf.c -I. -lncurses -lm -o menuconf/menuconf 2>/dev/null - @menuconf/menuconf - @clear - @echo Now compile OpenBNC using make, if not yet compiled, or if Options were changed. - @echo done. - -menuconfig-curses: - @echo Initializing Menu-Configuration using Curses - @echo [*] Running Conversion Tool for older OpenBNC Data. - @$(CC) tools/convconf.c -o tools/convconf - @tools/convconf - @echo [*] Running Autoconfig. - @$(CC) -I. tools/autoconf.c -o tools/autoconf - @tools/autoconf - @echo [*] Creating Menu, please wait. - @echo This needs the 'curses' library. If it is not available, menuconf wont work. - @$(CC) menuconf/menuconf.c menuconf/inputbox.c menuconf/util.c menuconf/checklist.c menuconf/menubox.c menuconf/textbox.c src/snprintf.c -DNONCURSES -I. -lcurses -lm -o menuconf/menuconf 2>/dev/null - @menuconf/menuconf - @clear - @echo Now compile psyBNC using make, if not yet compiled, or if Options were changed. - @echo done. - -dist: - - cd ..; tar -cvf OpenBNC2.3.1.tar openbnc; gzip -c OpenBNC2.3.1.tar > OpenBNC2.3.1.tar.gz; rm OpenBNC2.3.1.tar - -clean: - @echo Cleaning. - rm -rf src/*.o - @echo Must Add Options to Clean the rest!!! +# Generated automatically from Makefile.in by configure. +# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + +SHELL = /bin/sh + +srcdir = . +top_srcdir = . +prefix = /usr/local +exec_prefix = ${prefix} + +bindir = ${exec_prefix}/bin +sbindir = ${exec_prefix}/sbin +libexecdir = ${exec_prefix}/libexec +datadir = ${prefix}/share +sysconfdir = ${prefix}/etc +sharedstatedir = ${prefix}/com +localstatedir = ${prefix}/var +libdir = ${exec_prefix}/lib +infodir = ${prefix}/info +mandir = ${prefix}/man +includedir = ${prefix}/include +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/OpenBNC +pkglibdir = $(libdir)/OpenBNC +pkgincludedir = $(includedir)/OpenBNC + +top_builddir = . + +ACLOCAL = aclocal-1.4 +AUTOCONF = autoconf +AUTOMAKE = automake-1.4 +AUTOHEADER = autoheader + +INSTALL = /bin/install -c +INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_SCRIPT = ${INSTALL_PROGRAM} +transform = s,x,x, + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +CC = gcc +MAKEINFO = makeinfo +PACKAGE = OpenBNC +VERSION = 1.0 + +SUBDIRS = menuconf tools src +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = +DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ +Makefile.in NEWS TODO aclocal.m4 configure configure.in install-sh \ +missing mkinstalldirs + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): configure.in + cd $(srcdir) && $(ACLOCAL) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. + + + +all-recursive install-data-recursive install-exec-recursive \ +installdirs-recursive install-recursive uninstall-recursive \ +check-recursive installcheck-recursive info-recursive dvi-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + dot_seen=no; \ + rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ + rev="$$subdir $$rev"; \ + test "$$subdir" != "." || dot_seen=yes; \ + done; \ + test "$$dot_seen" = "no" && rev=". $$rev"; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$d/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + for subdir in $(SUBDIRS); do \ + if test "$$subdir" = .; then :; else \ + test -d $(distdir)/$$subdir \ + || mkdir $(distdir)/$$subdir \ + || exit 1; \ + chmod 777 $(distdir)/$$subdir; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ + || exit 1; \ + fi; \ + done +info-am: +info: info-recursive +dvi-am: +dvi: dvi-recursive +check-am: all-am +check: check-recursive +installcheck-am: +installcheck: installcheck-recursive +install-exec-am: +install-exec: install-exec-recursive + +install-data-am: +install-data: install-data-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-recursive +uninstall-am: +uninstall: uninstall-recursive +all-am: Makefile +all-redirect: all-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: installdirs-recursive +installdirs-am: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-tags mostlyclean-generic + +mostlyclean: mostlyclean-recursive + +clean-am: clean-tags clean-generic mostlyclean-am + +clean: clean-recursive + +distclean-am: distclean-tags distclean-generic clean-am + +distclean: distclean-recursive + -rm -f config.status + +maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-recursive + -rm -f config.status + +.PHONY: install-data-recursive uninstall-data-recursive \ +install-exec-recursive uninstall-exec-recursive installdirs-recursive \ +uninstalldirs-recursive all-recursive check-recursive \ +installcheck-recursive info-recursive dvi-recursive \ +mostlyclean-recursive distclean-recursive clean-recursive \ +maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ +distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all installdirs-am \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: --- NEW FILE: AUTHORS --- |
From: Mateusz K. <sh...@us...> - 2004-07-08 14:57:56
|
Update of /cvsroot/openbnc/openbnc/menuconf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4354/openbnc/menuconf Modified Files: menuconf.c Added Files: Makefile.am Makefile.in snprintf.c Log Message: - Add alpha version of config'n'make stuff --- NEW FILE: Makefile.in --- # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : CC = @CC@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ bin_PROGRAMS = menuconf menuconf_SOURCES = menuconf.c inputbox.c util.c checklist.c menubox.c textbox.c snprintf.c config.h dialogs.h colors.h menuconf_LDADD = -lncurses INCLUDES = -I../src/ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = PROGRAMS = $(bin_PROGRAMS) DEFS = @DEFS@ -I. -I$(srcdir) CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ menuconf_OBJECTS = menuconf.o inputbox.o util.o checklist.o menubox.o \ textbox.o snprintf.o menuconf_DEPENDENCIES = menuconf_LDFLAGS = CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best DEP_FILES = .deps/checklist.P .deps/inputbox.P .deps/menubox.P \ .deps/menuconf.P .deps/snprintf.P .deps/textbox.P .deps/util.P SOURCES = $(menuconf_SOURCES) OBJECTS = $(menuconf_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu menuconf/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-binPROGRAMS: clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) distclean-binPROGRAMS: maintainer-clean-binPROGRAMS: install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(bindir) @list='$(bin_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) list='$(bin_PROGRAMS)'; for p in $$list; do \ rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: menuconf: $(menuconf_OBJECTS) $(menuconf_DEPENDENCIES) @rm -f menuconf $(LINK) $(menuconf_LDFLAGS) $(menuconf_OBJECTS) $(menuconf_LDADD) $(LIBS) tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = menuconf distdir: $(DISTFILES) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(top_distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu menuconf/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) mostlyclean-depend: clean-depend: distclean-depend: -rm -rf .deps maintainer-clean-depend: %.o: %.c @echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp %.lo: %.c @echo '$(LTCOMPILE) -c $<'; \ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-binPROGRAMS install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall-binPROGRAMS uninstall: uninstall-am all-am: Makefile $(PROGRAMS) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: $(mkinstalldirs) $(DESTDIR)$(bindir) mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ distclean-depend distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-binPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ clean-tags maintainer-clean-tags distdir mostlyclean-depend \ distclean-depend clean-depend maintainer-clean-depend info-am info \ dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: --- NEW FILE: Makefile.am --- bin_PROGRAMS = menuconf menuconf_SOURCES = menuconf.c inputbox.c util.c checklist.c menubox.c textbox.c snprintf.c config.h dialogs.h colors.h menuconf_LDADD = -lncurses INCLUDES=-I../src/ Index: menuconf.c =================================================================== RCS file: /cvsroot/openbnc/openbnc/menuconf/menuconf.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- menuconf.c 5 Jul 2004 19:30:50 -0000 1.6 +++ menuconf.c 8 Jul 2004 14:57:41 -0000 1.7 @@ -72,7 +72,7 @@ #include <ctype.h> #include <signal.h> #include <errno.h> -#include "src/p_version.h" +#include "p_version.h" int ap_snprintf(char *dest,size_t size, char *format, ...); #define snprintf ap_snprintf --- NEW FILE: snprintf.c --- /* OpenBNC Advanced IRC Bouncer Copyright (C) 2004 The OpenBNC Development Team 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. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. The original version of this program was developed by 'the most psychoid [...1139 lines suppressed...] return (cc == -1) ? len : cc; } int ap_vsnprintf(char *buf, size_t len, const char *format, va_list ap) { int cc; ap_vformatter_buff vbuff; if (len == 0) return 0; /* save one byte for nul terminator */ vbuff.curpos = buf; vbuff.endpos = buf + len - 1; cc = ap_vformatter(snprintf_flush, &vbuff, format, ap); *vbuff.curpos = '\0'; return (cc == -1) ? len : cc; } |
From: Mateusz K. <sh...@us...> - 2004-07-08 14:57:56
|
Update of /cvsroot/openbnc/openbnc/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4354/openbnc/src Modified Files: p_global.h Added Files: Makefile.am Makefile.in Log Message: - Add alpha version of config'n'make stuff --- NEW FILE: Makefile.in --- # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : CC = @CC@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ bin_PROGRAMS = openbnc openbnc_SOURCES = match.c p_coredns.c p_global.h p_intnet.c p_network.c p_server.c p_topology.c p_version.h openbnc.c p_crypt.c p_hash.c p_link.c p_parse.c p_socket.c p_translate.c snprintf.c p_blowfish.c p_data.h p_idea.c p_log.c p_peer.c p_string.c p_uchannel.c p_client.c p_dcc.c p_inifunc.c p_memory.c p_script.c p_sysmsg.c p_userfile.c openbnc_LDADD = -L/usr/local/ssl/lib -lssl -lcrypto -lresolv INCLUDES = -I../ -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = PROGRAMS = $(bin_PROGRAMS) DEFS = @DEFS@ -I. -I$(srcdir) CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ openbnc_OBJECTS = match.o p_coredns.o p_intnet.o p_network.o p_server.o \ p_topology.o openbnc.o p_crypt.o p_hash.o p_link.o p_parse.o p_socket.o \ p_translate.o snprintf.o p_blowfish.o p_idea.o p_log.o p_peer.o \ p_string.o p_uchannel.o p_client.o p_dcc.o p_inifunc.o p_memory.o \ p_script.o p_sysmsg.o p_userfile.o openbnc_DEPENDENCIES = openbnc_LDFLAGS = CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best DEP_FILES = .deps/match.P .deps/openbnc.P .deps/p_blowfish.P \ .deps/p_client.P .deps/p_coredns.P .deps/p_crypt.P .deps/p_dcc.P \ .deps/p_hash.P .deps/p_idea.P .deps/p_inifunc.P .deps/p_intnet.P \ .deps/p_link.P .deps/p_log.P .deps/p_memory.P .deps/p_network.P \ .deps/p_parse.P .deps/p_peer.P .deps/p_script.P .deps/p_server.P \ .deps/p_socket.P .deps/p_string.P .deps/p_sysmsg.P .deps/p_topology.P \ .deps/p_translate.P .deps/p_uchannel.P .deps/p_userfile.P \ .deps/snprintf.P SOURCES = $(openbnc_SOURCES) OBJECTS = $(openbnc_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-binPROGRAMS: clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) distclean-binPROGRAMS: maintainer-clean-binPROGRAMS: install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(bindir) @list='$(bin_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) list='$(bin_PROGRAMS)'; for p in $$list; do \ rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: openbnc: $(openbnc_OBJECTS) $(openbnc_DEPENDENCIES) @rm -f openbnc $(LINK) $(openbnc_LDFLAGS) $(openbnc_OBJECTS) $(openbnc_LDADD) $(LIBS) tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = src distdir: $(DISTFILES) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(top_distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) mostlyclean-depend: clean-depend: distclean-depend: -rm -rf .deps maintainer-clean-depend: %.o: %.c @echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp %.lo: %.c @echo '$(LTCOMPILE) -c $<'; \ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-binPROGRAMS install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall-binPROGRAMS uninstall: uninstall-am all-am: Makefile $(PROGRAMS) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: $(mkinstalldirs) $(DESTDIR)$(bindir) mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ distclean-depend distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-binPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ clean-tags maintainer-clean-tags distdir mostlyclean-depend \ distclean-depend clean-depend maintainer-clean-depend info-am info \ dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean all: strip openbnc # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: Index: p_global.h =================================================================== RCS file: /cvsroot/openbnc/openbnc/src/p_global.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- p_global.h 8 Jun 2004 16:07:08 -0000 1.5 +++ p_global.h 8 Jul 2004 14:57:42 -0000 1.6 @@ -974,7 +974,7 @@ #ifndef P_LOG int oldfile(char *fname); -int log(int loglevel,int usern, char *format,...); +int log(int level,int usern, char *format,...); int checkforlog(int usern); int privatelog(int usern); int playprivatelog(int usern); --- NEW FILE: Makefile.am --- bin_PROGRAMS = openbnc openbnc_SOURCES = match.c p_coredns.c p_global.h p_intnet.c p_network.c p_server.c p_topology.c p_version.h openbnc.c p_crypt.c p_hash.c p_link.c p_parse.c p_socket.c p_translate.c snprintf.c p_blowfish.c p_data.h p_idea.c p_log.c p_peer.c p_string.c p_uchannel.c p_client.c p_dcc.c p_inifunc.c p_memory.c p_script.c p_sysmsg.c p_userfile.c openbnc_LDADD = -L/usr/local/ssl/lib -lssl -lcrypto -lresolv INCLUDES = -I../ -DHAVE_CONFIG -DBIGENDIAN -DNOSYSTIME -DHAVE_SSL all: strip openbnc |
From: Mateusz K. <sh...@us...> - 2004-07-08 14:57:55
|
Update of /cvsroot/openbnc/openbnc/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4354/openbnc/tools Added Files: Makefile.am Makefile.in Log Message: - Add alpha version of config'n'make stuff --- NEW FILE: Makefile.in --- # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : CC = @CC@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ bin_PROGRAMS = makesalt makesalt_SOURCES = makesalt.c mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = PROGRAMS = $(bin_PROGRAMS) DEFS = @DEFS@ -I. -I$(srcdir) CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ makesalt_OBJECTS = makesalt.o makesalt_LDADD = $(LDADD) makesalt_DEPENDENCIES = makesalt_LDFLAGS = CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best DEP_FILES = .deps/makesalt.P SOURCES = $(makesalt_SOURCES) OBJECTS = $(makesalt_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu tools/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-binPROGRAMS: clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) distclean-binPROGRAMS: maintainer-clean-binPROGRAMS: install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(bindir) @list='$(bin_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) list='$(bin_PROGRAMS)'; for p in $$list; do \ rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: makesalt: $(makesalt_OBJECTS) $(makesalt_DEPENDENCIES) @rm -f makesalt $(LINK) $(makesalt_LDFLAGS) $(makesalt_OBJECTS) $(makesalt_LDADD) $(LIBS) tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = tools distdir: $(DISTFILES) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(top_distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu tools/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) mostlyclean-depend: clean-depend: distclean-depend: -rm -rf .deps maintainer-clean-depend: %.o: %.c @echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp %.lo: %.c @echo '$(LTCOMPILE) -c $<'; \ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-binPROGRAMS install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall-binPROGRAMS uninstall: uninstall-am all-am: Makefile $(PROGRAMS) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: $(mkinstalldirs) $(DESTDIR)$(bindir) mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ distclean-depend distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-binPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ clean-tags maintainer-clean-tags distdir mostlyclean-depend \ distclean-depend clean-depend maintainer-clean-depend info-am info \ dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean all: ./makesalt mv salt.h ../ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: --- NEW FILE: Makefile.am --- bin_PROGRAMS = makesalt makesalt_SOURCES = makesalt.c all: ./makesalt mv salt.h ../ |