Changeset 13777


Ignore:
Timestamp:
2007-01-24T10:48:33+13:00 (17 years ago)
Author:
kjdon
Message:

merged the indexers branch. mg, mgpp, lucene and unac now live in indexers repository

Location:
trunk/gsdl
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/Makefile.in

    r9742 r13777  
    4747ALLFILES = $(OBJECTS)
    4848
    49 INSTALLDIRS = src/recpt src/txt2db src/db2txt src/hashfile src/getpw packages/mg src/phind/generate packages src/mgpp src/oaiservr
     49# indexers are treated slightly differently as we don't want to do make all/install
     50INDEXERSDIR = indexers
     51# all directories to be compiled
     52COMPILEDIRS = packages lib src/txt2db src/db2txt src/hashfile src/getpw src/phind/generate src/colservr src/recpt src/oaiservr
     53# a subset of the directories get installed
     54INSTALLDIRS = packages src/recpt src/txt2db src/db2txt src/hashfile src/getpw src/phind/generate src/oaiservr
    5055
    5156MODULEDIRS = @MODULEDIRS@
    5257
    53 OTHERDIRS = packages packages/mg lib src/mgpp src/colservr src/recpt src/txt2db src/db2txt src/hashfile src/getpw src/phind/generate src/oaiservr
    5458
     59# we don't want to compile the java stuff in indexers for gs2
    5560all:
    56     for odir in $(OTHERDIRS) $(MODULEDIRS); do \
     61    for odir in $(INDEXERSDIR); do \
     62      echo making $@ in $$odir; \
     63      (cd $$odir && $(MAKE) $(MDEFINES) nojava) || exit 1; \
     64    done
     65    for odir in $(COMPILEDIRS) $(MODULEDIRS); do \
    5766      echo making $@ in $$odir; \
    5867      (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
     
    6069
    6170install: all
    62 
     71    for odir in $(INDEXERSDIR); do \
     72      echo making $@ in $$odir; \
     73      (cd $$odir && $(MAKE) $(MDEFINES) install-nojava) || exit 1; \
     74    done   
    6375    for idir in $(INSTALLDIRS); do \
    6476      echo installing $$idir; \
     
    6880# added test to check existence of Makefile, as src/recpt is in
    6981# both INSTALLDIRS and OTHERDIRS - can't make distclean twice!
     82# do we need this test now??
    7083distclean: clean
    7184    rm -f Makefile config.cache config.h config.log stamp-h config.status
    72     for subdir in $(INSTALLDIRS) $(OTHERDIRS); do \
     85    for subdir in $(COMPILEDIRS); do \
    7386      echo cleaning $@ in $$subdir; \
    7487      (cd $$subdir && if test -e Makefile; then $(MAKE) distclean;fi) || exit 1; \
     
    7689
    7790clean:
    78     for subdir in $(INSTALLDIRS) $(OTHERDIRS); do \
     91    for subdir in $(COMPILEDIRS); do \
    7992      echo cleaning $@ in $$subdir; \
    8093      (cd $$subdir && if test -e Makefile; then $(MAKE) clean; fi) || exit 1; \
  • trunk/gsdl/configure

    r12922 r13777  
    310310#endif"
    311311
    312 ac_subdirs_all="$ac_subdirs_all packages"
     312ac_subdirs_all="$ac_subdirs_all packages indexers"
    313313ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD CFLAGS CC LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC GDBM_LIBPATH GDBM_INCLUDE gsdlos MODULEDIRS subdirs LTLIBOBJS'
    314314ac_subst_files=''
     
    74007400# ---------------------------------------------------------------------------
    74017401
    7402 
    7403 subdirs="$subdirs packages"
     7402# indexers needs a bindir option to get the binaries into the right place
     7403gsdlprefix=`pwd`
     7404ac_configure_args="$ac_configure_args --bindir=$gsdlprefix/bin/$gsdlos "
     7405
     7406
     7407subdirs="$subdirs packages indexers"
    74047408
    74057409
    74067410# the list of folders in the src folder
    7407 srclist="src/mgpp/lib/Makefile src/mgpp/text/Makefile src/mgpp/Makefile \
    7408           src/hashfile/Makefile src/colservr/Makefile src/recpt/Makefile src/txt2db/Makefile \
     7411srclist="src/hashfile/Makefile src/colservr/Makefile src/recpt/Makefile src/txt2db/Makefile \
    74097412          src/oaiservr/Makefile src/db2txt/Makefile src/getpw/Makefile src/phind/generate/Makefile"
    74107413
    7411                                                                                                     ac_config_files="$ac_config_files packages/Makefile packages/mg/Makefile packages/mg/src/text/Makefile packages/mg/src/images/Makefile packages/mg/src/scripts/Makefile packages/mg/lib/Makefile lib/Makefile Makefile $srclist $moduleDirs"
     7414                                                  ac_config_files="$ac_config_files packages/Makefile lib/Makefile Makefile $srclist $moduleDirs"
    74127415cat >confcache <<\_ACEOF
    74137416# This file is a shell script that caches the results of configure
     
    79367939  # Handling of arguments.
    79377940  "packages/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
    7938   "packages/mg/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/mg/Makefile" ;;
    7939   "packages/mg/src/text/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/mg/src/text/Makefile" ;;
    7940   "packages/mg/src/images/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/mg/src/images/Makefile" ;;
    7941   "packages/mg/src/scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/mg/src/scripts/Makefile" ;;
    7942   "packages/mg/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/mg/lib/Makefile" ;;
    79437941  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
    79447942  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  • trunk/gsdl/configure.in

    r12922 r13777  
    417417dnl not needed any more?
    418418dnl ac_configure_args="$ac_configure_args --build=$build --target=$target"
    419 AC_CONFIG_SUBDIRS(packages)
     419
     420# indexers needs a bindir option to get the binaries into the right place
     421gsdlprefix=`pwd`
     422ac_configure_args="$ac_configure_args --bindir=$gsdlprefix/bin/$gsdlos "
     423AC_CONFIG_SUBDIRS(packages indexers)
    420424
    421425# the list of folders in the src folder
    422 srclist="src/mgpp/lib/Makefile src/mgpp/text/Makefile src/mgpp/Makefile \
    423           src/hashfile/Makefile src/colservr/Makefile src/recpt/Makefile src/txt2db/Makefile \
     426srclist="src/hashfile/Makefile src/colservr/Makefile src/recpt/Makefile src/txt2db/Makefile \
    424427          src/oaiservr/Makefile src/db2txt/Makefile src/getpw/Makefile src/phind/generate/Makefile"
    425428
    426 AC_OUTPUT(packages/Makefile packages/mg/Makefile packages/mg/src/text/Makefile packages/mg/src/images/Makefile
    427           packages/mg/src/scripts/Makefile packages/mg/lib/Makefile
    428       lib/Makefile Makefile $srclist $moduleDirs)
    429 
    430 
     429AC_OUTPUT(packages/Makefile lib/Makefile Makefile $srclist $moduleDirs)
     430
     431
  • trunk/gsdl/win32.mak

    r12684 r13777  
    3434MDEFINES = /f win32.mak
    3535
    36 OTHERDIRS = packages\windows\gdbm\gdbm packages\windows\crypt\crypt packages\windows\expat\expat \
    37             packages\mg\lib src\mgpp\lib lib src\colservr
     36OTHERDIRS = packages\windows\gdbm\gdbm packages\windows\crypt\crypt \
     37      packages\windows\expat\expat lib src\colservr
    3838
    39 INSTALLDIRS = packages\mg\src\text src\mgpp\text src\recpt src\oaiservr \
    40           src\hashfile src\db2txt src\txt2db src\phind\generate
     39INSTALLDIRS = src\hashfile src\db2txt src\txt2db src\phind\generate \
     40        src\recpt src\oaiservr
     41         
    4142
    4243YAZ_DIR = packages\yaz\yaz-2.1.4\win
     44INDEXERSDIR = indexers
    4345
    4446MAKECMD = $(MAKE) $(MDEFINES) GSDLHOME="$(GSDLHOME)"
     
    6466MAKECLEANCMD = $(MAKE) $(MDEFINES) clean
    6567
    66 all: win32.mak $(OTHERDIRS) $(YAZ_DIRS) $(INSTALLDIRS)
     68all: win32.mak $(INDEXERSDIR) $(OTHERDIRS) $(YAZ_DIRS) $(INSTALLDIRS)
    6769
    68 install: win32.mak $(INSTALLDIRS)
     70install: win32.mak $(INDEXERSDIR) $(INSTALLDIRS)
    6971
    7072clean:
     
    117119    $(MAKECLEANCMD)
    118120    cd "$(GSDLHOME)"
    119 
     121    cd indexers
     122    call winMake.bat clean
     123    cd "$(GSDLHOME)"
    120124
    121125$(OTHERDIRS): FORCE
     
    135139    cd "$(GSDLHOME)"
    136140
     141$(INDEXERSDIR): FORCE
     142    cd "$@"
     143    call winMake.bat all nojava
     144    call winMake.bat install nojava
     145    copy bin\*.exe "$(GSDLHOME)\bin\windows"
     146    cd "$(GSDLHOME)"
     147
    137148FORCE:
    138149
Note: See TracChangeset for help on using the changeset viewer.