Changeset 1519


Ignore:
Timestamp:
2000-09-07T16:45:58+12:00 (24 years ago)
Author:
jrm21
Message:

Modified src/recpt/Makefile.in so that yaz headers only included for yaz
object files (speeds up compilation for non-yaz objects)

File:
1 edited

Legend:

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

    r1518 r1519  
    4040INCLUDES = -I../../lib -I. -I../colservr -I../../packages/mg \
    4141       -I../../packages/mg/lib -I../../packages/mg/src/text \
    42        -I../mgpp/lib -I../mgpp/text -I$(YAZDIR)/include
     42       -I../mgpp/lib -I../mgpp/text
    4343else
    4444DEFS = -DNZDL -DQUIET -DSHORT_SUFFIX -DPARADOCNUM -DGSDLSERVER \
     
    4848       -I../../packages/mg/lib -I../../packages/mg/src/text \
    4949           -I../../packages/fcgi/include -I../mgpp/lib \
    50        -I../mgpp/text -I$(YAZDIR)/include
     50       -I../mgpp/text
    5151endif
    5252
     
    149149all: $(EXEC)
    150150
     151
     152
    151153## z39.50 stuff
    152154# Note! If USE_FASTCGI=1, yaz is still compiled and linked, but never
     
    158160    cd $(YAZDIR) && ./configure && make all
    159161
     162# put a separate rule here, as it speeds up compilation of other objects
     163# if they don't need to include all the yaz headers
     164z3950%.o: z3950%.cpp
     165    $(COMPILE) -I$(YAZDIR)/include $<
     166
    160167zparse.tab.c: zparse.y
    161168    @YACC@ -b zparse -d zparse.y
     
    165172parse.yy.c: parse.fl zparse.tab.h
    166173    flex -oparse.yy.c parse.fl
     174
     175
    167176
    168177# We'll keep the .c and .h files for those without lex/flex and yacc/bison.
Note: See TracChangeset for help on using the changeset viewer.