From: <ku...@us...> - 2003-02-06 00:43:38
|
Update of /cvsroot/basedb/basedb/src/sectionCounter In directory sc8-pr-cvs1:/tmp/cvs-serv4237/src/sectionCounter Added Files: Makefile.am sectionCounter.cc Log Message: Added autoconf/automake functionality. Supports c/c++ compilation. --- NEW FILE: Makefile.am --- # $Id: Makefile.am,v 1.1 2003/02/06 00:43:36 kurri Exp $ bin_PROGRAMS = sectionCounter sectionCounter_SOURCES = sectionCounter.cc sectionCounter_LDADD = -L@top_srcdir@/$(BASE_LIB_LOCATION) $(BASE_LIB) INCLUDES = -I@top_srcdir@/$(BASE_INCLUDE_LOCATION) --- NEW FILE: sectionCounter.cc --- // $Id: sectionCounter.cc,v 1.1 2003/02/06 00:43:36 kurri Exp $ // // BioArray Software Environment (BASE) - homepage http://base.thep.lu.se/ // Copyright (C) 2002 Lao Saal, Carl Troein, Johan Vallon-Christersson // // This file is part of BASE. // // BASE 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. // // BASE 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 [...103 lines suppressed...] '\t' << (*inf).second[1] << "\n"; } else { cout << (*i) << "\n"; } } if(bfr.getError()) { cerr << "sectionCount(): " << bfr.errText() << endl; return 2; } return 0; } int main() { return sectionCount(cin, cout, cerr); } |