Changeset 1603


Ignore:
Timestamp:
2000-10-17T12:28:55+13:00 (24 years ago)
Author:
paynter
Message:

The "phind host" is no longer just a file reader, it is a cgi program. It
reads the gsdlsite.cfg file, parses the CGI arguments, opens three MGPP
databases (one for the phrase data, one for document data, and one for word
searching) and constructs a crude web page describing the phrases read.

Location:
trunk/gsdl/src/phind/host
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/phind/host/Makefile.in

    r1564 r1603  
    2929MGPPTEXT = $(MGPPHOME)/text
    3030MGPPLIB  = $(MGPPHOME)/lib
    31 MGPPINCL = -I $(MGPPTEXT) -I $(MGPPLIB)
     31MGPPINCL = -I $(MGPPTEXT) -I $(MGPPLIB) -I $(MGPPHOME)
    3232MGPPLIBS = $(MGPPTEXT)/libtextin.a  $(MGPPLIB)/libmg.a
     33
     34GSDLLIB  = $(GSDLHOME)/lib
     35GSDLINCL = -I $(GSDLLIB)
     36GSDLLIBS = $(GSDLLIB)/gsdllib.a
    3337
    3438CC = @CC@
     
    3640DEFS = @DEFS@
    3741RANLIB = @RANLIB@
    38 INCLUDES = $(MGPPINCL)
     42INCLUDES = $(MGPPINCL) $(GSDLINCL)
    3943LDFLAGS =
    4044DPLIBS =
     
    4347
    4448HEADERS =
    45 SOURCES = host.cc
     49SOURCES = phindcgi.cpp
    4650OBJECTS =
    47 EXEC    = host
     51EXEC    = phindcgi
    4852
    4953
     
    5155
    5256install : $(EXEC)
     57    install -d $(GSDLHOME)/cgi-bin
     58    install -m 775 -s $(EXEC) $(GSDLHOME)/cgi-bin
    5359
    5460distclean:
     
    6773    $(CC) $(DEFS) $(INCLUDES) $(CCFLAGS) $(LIBS) -o host host.cc $(MGPPLIBS)
    6874
     75phindcgi : phindcgi.cpp $(MGPPLIBS)
     76    $(CC) $(DEFS) $(INCLUDES) $(CCFLAGS) $(LIBS) -o phindcgi phindcgi.cpp $(MGPPLIBS) $(GSDLLIBS)
     77
    6978$(MGPPLIBS) :
    7079    cd $(MGPPHOME) && $(MAKE) --silent
Note: See TracChangeset for help on using the changeset viewer.