Changeset 558 for trunk/gsdl/src/recpt/Makefile.in
- Timestamp:
- 1999-09-09T16:05:22+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.