Changeset 536 for trunk/gsdl
- Timestamp:
- 1999-09-08T09:24:00+12:00 (25 years ago)
- Location:
- trunk/gsdl/src/txt2db
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/txt2db/Makefile
r238 r536 2 2 # 3 3 # Makefile -- Makefile for txt2db 4 # A component of the Greenstone digital library software 5 # from the New Zealand Digital Library Project at the 6 # University of Waikato, New Zealand. 7 # 4 8 # Copyright (C) 1998 Rodger McNab, Stefan Boddie 5 9 # … … 25 29 AR = ar 26 30 CC = gcc 27 CCFLAGS = 31 CCFLAGS = -p 28 32 DEFS = -O2 29 33 RANLIB = ranlib 30 34 INCLUDES = -I../../lib 31 35 LDFLAGS = 32 LIBS = ../../lib/gsdllib.a ../../packages/mg -1.3d/lib/unitool.o -lstdc++-lgdbm36 LIBS = ../../lib/gsdllib.a ../../packages/mg/lib/unitool.o -lstdc++ #-lgdbm 33 37 GSDLOS = linux 34 38 35 39 36 40 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CCFLAGS) 37 LINK = $(CC) $(LDFLAGS) -o $@ 41 LINK = $(CC) $(LDFLAGS) -o $@ -lgdbm 38 42 39 43 .SUFFIXES: … … 72 76 73 77 txt2db: $(TXT2DB_OBJS) $(LIBS) 74 $(LINK) $(TXT2DB_OBJS) $(LIBS) 78 $(LINK) $(TXT2DB_OBJS) $(LIBS) 75 79 76 80 77 81 # DO NOT DELETE 78 79 txt2db.o: ../../lib/text_t.h 82 txt2db.o: txt2db.cpp /usr/include/gdbm.h ../../lib/gsdlconf.h \ 83 ../../lib/text_t.h /usr/include/g++/vector /usr/include/g++/vector.h \ 84 /usr/include/g++/function.h /usr/include/g++/algobase.h \ 85 /usr/include/g++/pair.h /usr/include/g++/iterator.h \ 86 /usr/lib/gcc-lib/i486-linux/2.7.2/include/stddef.h \ 87 /usr/include/g++/iostream.h /usr/include/g++/streambuf.h \ 88 /usr/include/libio.h /usr/include/_G_config.h \ 89 /usr/include/sys/cdefs.h /usr/include/g++/defalloc.h \ 90 /usr/include/g++/new.h /usr/include/g++/std/new.h \ 91 /usr/include/g++/std/cstddef.h /usr/include/stdlib.h \ 92 /usr/include/features.h /usr/include/errno.h \ 93 /usr/include/linux/errno.h /usr/include/asm/errno.h \ 94 /usr/include/alloca.h \ 95 /usr/lib/gcc-lib/i486-linux/2.7.2/include/limits.h \ 96 /usr/lib/gcc-lib/i486-linux/2.7.2/include/syslimits.h \ 97 /usr/include/limits.h /usr/include/posix1_lim.h \ 98 /usr/include/linux/limits.h /usr/include/posix2_lim.h \ 99 /usr/include/g++/list /usr/include/g++/list.h /usr/include/g++/set \ 100 /usr/include/g++/set.h /usr/include/g++/tree.h \ 101 /usr/include/g++/projectn.h /usr/include/g++/map \ 102 /usr/include/g++/map.h /usr/include/g++/ostream.h \ 103 /usr/include/g++/stream.h -
trunk/gsdl/src/txt2db/txt2db.cpp
r519 r536 1 /********************************************************************** 2 * 3 * txt2db.cpp -- 4 * A component of the Greenstone digital library software 5 * from the New Zealand Digital Library Project at the 6 * University of Waikato, New Zealand. 7 * 8 * Copyright (C) 1999 The New Zealand Digital Library Project 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 * 24 **********************************************************************/ 25 26 1 27 #ifdef __WIN32__ 2 28 #include "autoconf.h" … … 23 49 24 50 void print_usage (char *program_name) { 25 cerr << "usage: " << program_name << " database-name\n\n";51 cerr << "usage: " << program_name << " database-name\n\n"; 26 52 } 27 53
Note:
See TracChangeset
for help on using the changeset viewer.