Ignore:
Timestamp:
1999-09-09T16:05:22+12:00 (25 years ago)
Author:
sjboddie
Message:

more configure stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/Makefile.in

    r556 r558  
    11###########################################################################
    22#
    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#
    48# Copyright (C) 1999  The New Zealand Digital Library Project
    59#
    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.
    724#
    825###########################################################################
    9 
    1026
    1127AR = ar
     
    1329CCFLAGS = @CFLAGS@ -Wall -Wunused -pedantic -W -Woverloaded-virtual # -Wshadow
    1430DEFS = -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER \
    15        -D_LITTLE_ENDIAN -DGSDLSERVER @DEFS@
    16 INCLUDES = -I../../lib -I../../packages/mg -I../../packages/mg/lib \
    17           -I../../packages/mg/src/text
     31       -D_LITTLE_ENDIAN -DGSDLUSAGELOG @DEFS@
     32INCLUDES = -I../../lib -I. -I../colservr -I../../packages/mg \
     33       -I../../packages/mg/lib -I../../packages/mg/src/text
    1834ifeq ($(USE_FASTCGI), 1)
    1935INCLUDES = $(INCLUDES) -I../../packages/fcgi/include
     
    2339LIBS = -lgdbm -lstdc++ -lm #-lcrypt
    2440
    25 GSDLOS = linux
     41GSDLOS = @gsdlos@
    2642
    2743
     
    4763RECEPTHEADERS =
    4864
    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
     65LIBRARYHEADERS = nullproto.h
    5666
    5767HEADERS = $(COMMONHEADERS) $(RECPTHEADERS) $(LIBRARYHEADERS)
     
    6777RECPTSOURCES = recptmain.cpp
    6878
    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
     79LIBRARYSOURCES = nullproto.cpp librarymain.cpp
    7680
    7781SOURCES = $(COMMONSOURCES) $(RECPTSOURCES) $(LIBRARYSOURCES)
     
    8791RECPTOBJECTS = recptmain.o
    8892
    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
     93LIBRARYOBJECTS = nullproto.o librarymain.o
    9694
    9795OBJECTS = $(COMMONOBJECTS) $(RECPTOBJECTS) $(LIBRARYOBJECTS)
    9896
    9997
     98COLSERVROBJECTS = ../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
    100114EXEC = recpt library
    101115
    102 all: $(COLSERVRHEADERS) $(COLSERVRSOURCES) $(EXEC)
    103 
    104 $(COLSERVRHEADERS) $(COLSERVRSOURCES):
    105     ln -s ../colservr/$@
     116all: $(EXEC)
    106117
    107118clean:
    108     rm -f $(COLSERVRHEADERS) $(COLSERVRSOURCES) $(OBJECTS) $(EXEC)
     119    rm -f $(OBJECTS) $(EXEC)
    109120
    110121install:
     
    118129# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    119130
    120 ifneq ($(USE_FASTCGI), 1)
    121131RECPT_OBJS = $(COMMONOBJECTS) $(RECPTOBJECTS) \
    122132    ../../lib/gsdllib.a  \
    123133    ../../packages/mg/src/text/libtextin.a \
    124134    ../../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
     135ifeq ($(USE_FASTCGI), 1)
     136RECPT_OBJS = $(RECPT_OBJS) ../../packages/fcgi/libfcgi/libfcgi.a
    131137endif
    132138
     
    136142# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
    137143
    138 ifneq ($(USE_FASTCGI), 1)
    139 LIBRARY_OBJS = $(COMMONOBJECTS) $(LIBRARYOBJECTS) \
     144LIBRARY_OBJS = $(COMMONOBJECTS) $(LIBRARYOBJECTS) $(COLSERVROBJECTS) \
    140145    ../../lib/gsdllib.a  \
    141146    ../../packages/mg/src/text/libtextin.a \
    142147    ../../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
     148ifeq ($(USE_FASTCGI), 1)
     149LIBRARY_OBJS = $(LIBRARY_OBJS) ../../packages/fcgi/libfcgi/libfcgi.a
    149150endif
    150151
Note: See TracChangeset for help on using the changeset viewer.