Changeset 558 for trunk/gsdl
- Timestamp:
- 1999-09-09T16:05:22+12:00 (25 years ago)
- Location:
- trunk/gsdl
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/lib/Makefile.in
r555 r558 1 1 ########################################################################### 2 2 # 3 # Makefile -- Makefile for general C++ libraries 3 # Makefile -- lib 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) 1999 The New Zealand Digital Library Project 5 9 # 6 # PUT COPYRIGHT NOTICE HERE 10 # 11 # This program is free software; you can redistribute it and/or modify 12 # it under the terms of the GNU General Public License as published by 13 # the Free Software Foundation; either version 2 of the License, or 14 # (at your option) any later version. 15 # 16 # This program is distributed in the hope that it will be useful, 17 # but WITHOUT ANY WARRANTY; without even the implied warranty of 18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 # GNU General Public License for more details. 20 # 21 # You should have received a copy of the GNU General Public License 22 # along with this program; if not, write to the Free Software 23 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 24 # 8 25 ########################################################################### … … 58 75 depend: 59 76 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES) 60 61 # DO NOT DELETE62 cfgread.o: cfgread.cpp cfgread.h gsdlconf.h text_t.h63 fileutil.o: fileutil.cpp fileutil.h text_t.h gsdlconf.h64 text_t.o: text_t.cpp text_t.h gsdlconf.h65 display.o: display.cpp display.h gsdlconf.h text_t.h \66 gsdlunicode.h67 gsdlunicode.o: gsdlunicode.cpp gsdlunicode.h text_t.h gsdlconf.h \68 fileutil.h69 gsdltimes.o: gsdltimes.cpp gsdltimes.h gsdlconf.h70 71 -
trunk/gsdl/src/colservr/Makefile.in
r556 r558 1 1 ########################################################################### 2 2 # 3 # Makefile -- 3 # Makefile -- src/colservr 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) 1999 The New Zealand Digital Library Project 5 9 # 6 # PUT COPYRIGHT NOTICE HERE 10 # 11 # This program is free software; you can redistribute it and/or modify 12 # it under the terms of the GNU General Public License as published by 13 # the Free Software Foundation; either version 2 of the License, or 14 # (at your option) any later version. 15 # 16 # This program is distributed in the hope that it will be useful, 17 # but WITHOUT ANY WARRANTY; without even the implied warranty of 18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 # GNU General Public License for more details. 20 # 21 # You should have received a copy of the GNU General Public License 22 # along with this program; if not, write to the Free Software 23 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 24 # 8 25 ########################################################################### … … 11 28 AR = ar 12 29 CC = @CC@ 13 CCFLAGS = @CFLAGS@ -Wall -Wunused -pedantic -W 14 DEFS = -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER @DEFS@15 INCLUDES = -I../../lib -I../ ../packages/mg -I../../packages/mg/lib\16 -I../../packages/mg/src/text -I../recpt30 CCFLAGS = @CFLAGS@ -Wall -Wunused -pedantic -W -Woverloaded-virtual # -Wshadow 31 DEFS = -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER -DLITTLE_ENDIAN @DEFS@ 32 INCLUDES = -I../../lib -I../recpt -I../../packages/mg \ 33 -I../../packages/mg/lib -I../../packages/mg/src/text 17 34 ifeq ($(USE_FASTCGI), 1) 18 35 INCLUDES = $(INCLUDES) -I../../packages/fcgi/include … … 20 37 RANLIB = @RANLIB@ 21 38 LDFLAGS = @LDFLAGS@ 22 LIBS = -lg ++ -lgdbm -lm-lcrypt39 LIBS = -lgdbm -lstdc++ -lm #-lcrypt 23 40 24 GSDLOS = linux41 GSDLOS = @gsdlos@ 25 42 26 43 … … 37 54 $(COMPILE) $< 38 55 39 40 #HEADERS = collectserver.h41 56 HEADERS = mgq.h mgsearch.h querycache.h queryinfo.h collectserver.h \ 42 57 colservrconfig.h maptools.h filter.h source.h browsefilter.h \ 43 58 queryfilter.h mggdbmsource.h phrasesearch.h phrasequeryfilter.h 44 59 45 #SOURCES = collectserver.cpp46 60 SOURCES = mgq.c mgsearch.cpp querycache.cpp queryinfo.cpp collectserver.cpp \ 47 61 colservrconfig.cpp maptools.cpp filter.cpp source.cpp \ … … 49 63 phrasequeryfilter.cpp 50 64 51 #OBJECTS = collectserver.o52 65 OBJECTS = mgq.o mgsearch.o querycache.o queryinfo.o collectserver.o \ 53 66 colservrconfig.o maptools.o filter.o source.o browsefilter.o \ 54 67 queryfilter.o mggdbmsource.o phrasesearch.o phrasequeryfilter.o 55 56 #EXEC = collectserver.o57 68 58 69 all : $(OBJECTS) … … 65 76 depend: 66 77 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES) 67 68 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #69 70 RECPT_OBJS = $(OBJECTS) \71 ../../lib/gsdllib.a \72 ../../packages/mg/src/text/libtextin.a \73 ../../packages/mg/lib/libmg.a \74 ../../packages/fcgi/libfcgi/libfcgi.a75 76 recpt: $(RECPT_OBJS)77 $(LINK) $(RECPT_OBJS) $(LIBS) -
trunk/gsdl/src/db2txt/Makefile.in
r552 r558 2 2 # 3 3 # Makefile -- Makefile for db2txt 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) 1999 Rodger McNab, Stefan Boddie 9 # 5 10 # 6 11 # This program is free software; you can redistribute it and/or modify … … 31 36 LDFLAGS = -lgdbm 32 37 #LIBS = ../../lib/gsdllib.a ../../packages/mg-1.3d/lib/unitool.o 33 GSDLOS = linux38 GSDLOS = @gsdlos@ 34 39 35 40 … … 73 78 db2txt: $(DB2TXT_OBJS) $(LIBS) 74 79 $(LINK) $(DB2TXT_OBJS) $(LIBS) 75 76 77 # DO NOT DELETE78 79 db2txt.o: ../../lib/text_t.h -
trunk/gsdl/src/hashfile/Makefile.in
r552 r558 1 1 ########################################################################### 2 2 # 3 # Makefile.in -- Makefile for general C++ libraries 4 # Copyright (C) 1998 Rodger McNab, Stefan Boddie 3 # Makefile -- Makefile for hashfile 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 Rodger McNab, Stefan Boddie 9 # 5 10 # 6 11 # This program is free software; you can redistribute it and/or modify … … 31 36 LDFLAGS = 32 37 LIBS = ../../lib/gsdllib.a 33 GSDLOS = linux38 GSDLOS = @gsdlos@ 34 39 35 40 … … 73 78 hashfile: $(HASHFILE_OBJS) $(LIBS) 74 79 $(LINK) $(HASHFILE_OBJS) $(LIBS) 75 76 77 # DO NOT DELETE -
trunk/gsdl/src/recpt/Makefile.in
r556 r558 1 1 ########################################################################### 2 2 # 3 # Makefile -- 3 # Makefile -- src/recpt 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) 1999 The New Zealand Digital Library Project 5 9 # 6 # PUT COPYRIGHT NOTICE HERE 10 # 11 # This program is free software; you can redistribute it and/or modify 12 # it under the terms of the GNU General Public License as published by 13 # the Free Software Foundation; either version 2 of the License, or 14 # (at your option) any later version. 15 # 16 # This program is distributed in the hope that it will be useful, 17 # but WITHOUT ANY WARRANTY; without even the implied warranty of 18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 # GNU General Public License for more details. 20 # 21 # You should have received a copy of the GNU General Public License 22 # along with this program; if not, write to the Free Software 23 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 7 24 # 8 25 ########################################################################### 9 10 26 11 27 AR = ar … … 13 29 CCFLAGS = @CFLAGS@ -Wall -Wunused -pedantic -W -Woverloaded-virtual # -Wshadow 14 30 DEFS = -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER \ 15 -D_LITTLE_ENDIAN -DGSDL SERVER@DEFS@16 INCLUDES = -I../../lib -I. ./../packages/mg -I../../packages/mg/lib\17 31 -D_LITTLE_ENDIAN -DGSDLUSAGELOG @DEFS@ 32 INCLUDES = -I../../lib -I. -I../colservr -I../../packages/mg \ 33 -I../../packages/mg/lib -I../../packages/mg/src/text 18 34 ifeq ($(USE_FASTCGI), 1) 19 35 INCLUDES = $(INCLUDES) -I../../packages/fcgi/include … … 23 39 LIBS = -lgdbm -lstdc++ -lm #-lcrypt 24 40 25 GSDLOS = linux41 GSDLOS = @gsdlos@ 26 42 27 43 … … 47 63 RECEPTHEADERS = 48 64 49 COLSERVRHEADERS = mgq.h mgsearch.h querycache.h queryinfo.h \ 50 collectserver.h colservrconfig.h maptools.h filter.h \ 51 source.h browsefilter.h queryfilter.h mggdbmsource.h \ 52 phrasesearch.h phrasequeryfilter.h 53 54 LIBRARYHEADERS = $(COLSERVRHEADERS) \ 55 nullproto.h 65 LIBRARYHEADERS = nullproto.h 56 66 57 67 HEADERS = $(COMMONHEADERS) $(RECPTHEADERS) $(LIBRARYHEADERS) … … 67 77 RECPTSOURCES = recptmain.cpp 68 78 69 COLSERVRSOURCES = mgq.c mgsearch.cpp querycache.cpp queryinfo.cpp \ 70 collectserver.cpp colservrconfig.cpp maptools.cpp filter.cpp \ 71 source.cpp browsefilter.cpp queryfilter.cpp mggdbmsource.cpp \ 72 phrasesearch.cpp phrasequeryfilter.cpp 73 74 LIBRARYSOURCES = $(COLSERVRSOURCES) \ 75 nullproto.cpp librarymain.cpp 79 LIBRARYSOURCES = nullproto.cpp librarymain.cpp 76 80 77 81 SOURCES = $(COMMONSOURCES) $(RECPTSOURCES) $(LIBRARYSOURCES) … … 87 91 RECPTOBJECTS = recptmain.o 88 92 89 COLSERVROBJECTS = mgq.o mgsearch.o querycache.o queryinfo.o \ 90 collectserver.o colservrconfig.o maptools.o filter.o \ 91 source.o browsefilter.o queryfilter.o mggdbmsource.o \ 92 phrasesearch.o phrasequeryfilter.o 93 94 LIBRARYOBJECTS = $(COLSERVROBJECTS) \ 95 nullproto.o librarymain.o 93 LIBRARYOBJECTS = nullproto.o librarymain.o 96 94 97 95 OBJECTS = $(COMMONOBJECTS) $(RECPTOBJECTS) $(LIBRARYOBJECTS) 98 96 99 97 98 COLSERVROBJECTS = ../colservr/mgq.o \ 99 ../colservr/mgsearch.o \ 100 ../colservr/querycache.o \ 101 ../colservr/queryinfo.o \ 102 ../colservr/collectserver.o \ 103 ../colservr/colservrconfig.o \ 104 ../colservr/maptools.o \ 105 ../colservr/filter.o \ 106 ../colservr/source.o \ 107 ../colservr/browsefilter.o \ 108 ../colservr/queryfilter.o \ 109 ../colservr/mggdbmsource.o \ 110 ../colservr/phrasesearch.o \ 111 ../colservr/phrasequeryfilter.o 112 113 100 114 EXEC = recpt library 101 115 102 all: $(COLSERVRHEADERS) $(COLSERVRSOURCES) $(EXEC) 103 104 $(COLSERVRHEADERS) $(COLSERVRSOURCES): 105 ln -s ../colservr/$@ 116 all: $(EXEC) 106 117 107 118 clean: 108 rm -f $( COLSERVRHEADERS) $(COLSERVRSOURCES) $(OBJECTS) $(EXEC)119 rm -f $(OBJECTS) $(EXEC) 109 120 110 121 install: … … 118 129 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 119 130 120 ifneq ($(USE_FASTCGI), 1)121 131 RECPT_OBJS = $(COMMONOBJECTS) $(RECPTOBJECTS) \ 122 132 ../../lib/gsdllib.a \ 123 133 ../../packages/mg/src/text/libtextin.a \ 124 134 ../../packages/mg/lib/libmg.a 125 else 126 RECPT_OBJS = $(COMMONOBJECTS) $(RECPTOBJECTS) \ 127 ../../lib/gsdllib.a \ 128 ../../packages/mg/src/text/libtextin.a \ 129 ../../packages/mg/lib/libmg.a \ 130 ../../packages/fcgi/libfcgi/libfcgi.a 135 ifeq ($(USE_FASTCGI), 1) 136 RECPT_OBJS = $(RECPT_OBJS) ../../packages/fcgi/libfcgi/libfcgi.a 131 137 endif 132 138 … … 136 142 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # 137 143 138 ifneq ($(USE_FASTCGI), 1) 139 LIBRARY_OBJS = $(COMMONOBJECTS) $(LIBRARYOBJECTS) \ 144 LIBRARY_OBJS = $(COMMONOBJECTS) $(LIBRARYOBJECTS) $(COLSERVROBJECTS) \ 140 145 ../../lib/gsdllib.a \ 141 146 ../../packages/mg/src/text/libtextin.a \ 142 147 ../../packages/mg/lib/libmg.a 143 else 144 LIBRARY_OBJS = $(COMMONOBJECTS) $(LIBRARYOBJECTS) \ 145 ../../lib/gsdllib.a \ 146 ../../packages/mg/src/text/libtextin.a \ 147 ../../packages/mg/lib/libmg.a \ 148 ../../packages/fcgi/libfcgi/libfcgi.a 148 ifeq ($(USE_FASTCGI), 1) 149 LIBRARY_OBJS = $(LIBRARY_OBJS) ../../packages/fcgi/libfcgi/libfcgi.a 149 150 endif 150 151 -
trunk/gsdl/src/txt2db/Makefile.in
r552 r558 2 2 # 3 3 # Makefile -- Makefile for txt2db 4 # Copyright (C) 1998 Rodger McNab, Stefan Boddie 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 Rodger McNab, Stefan Boddie 5 9 # 6 10 # This program is free software; you can redistribute it and/or modify … … 31 35 LDFLAGS = @LDFLAGS@ 32 36 LIBS = ../../lib/gsdllib.a ../../packages/mg/lib/unitool.o -lstdc++ -lgdbm 33 GSDLOS = linux37 GSDLOS = @gsdlos@ 34 38 35 39 … … 73 77 txt2db: $(TXT2DB_OBJS) $(LIBS) 74 78 $(LINK) $(TXT2DB_OBJS) $(LIBS) 75 76 77 # DO NOT DELETE
Note:
See TracChangeset
for help on using the changeset viewer.