Changeset 18803

Show
Ignore:
Timestamp:
25.03.2009 14:35:45 (10 years ago)
Author:
kjdon
Message:

added gs2 and install-gs2 targets which will call the same targets for indexers, but will call standard all/install for other directories

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/common-src/Makefile.in

    r18443 r18803  
    4747ALLFILES = $(OBJECTS) 
    4848 
    49 # indexers are treated slightly differently as we don't want to do make all/install 
     49# indexers are treated slightly differently as we don't want to do make all/install for gs2 
    5050INDEXERSDIR = indexers 
    5151 
     
    6565 
    6666 
    67 all: 
     67gs2:  
    6868    for odir in $(INDEXERSDIR); do \ 
    6969      echo making $@ in $$odir; \ 
    70       (cd $$odir && $(MAKE) $(MDEFINES) ) || exit 1; \ 
     70      (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \ 
    7171    done 
    7272    for odir in $(COMPILEDIRS) $(MODULEDIRS); do \ 
     73      echo making all in $$odir; \ 
     74      (cd $$odir && $(MAKE) $(MDEFINES) all) || exit 1; \ 
     75    done 
     76 
     77install-gs2: 
     78    for odir in $(INDEXERSDIR); do \ 
     79      echo making $@ in $$odir; \ 
     80      (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \ 
     81    done 
     82    cp $(INDEXERSDIR)/lucene-gs/LuceneWrapper.jar ../bin/java/   
     83    for odir in $(COMPILEDIRS) $(MODULEDIRS); do \ 
     84      echo making install in $$odir; \ 
     85      (cd $$odir && $(MAKE) $(MDEFINES) install) || exit 1; \ 
     86    done 
     87 
     88all: 
     89    for odir in $(INDEXERSDIR) $(COMPILEDIRS) $(MODULEDIRS); do \ 
    7390      echo making $@ in $$odir; \ 
    7491      (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \ 
    7592    done 
    7693 
    77 install: all 
     94install:  
    7895    for odir in $(INDEXERSDIR); do \ 
    7996      echo making $@ in $$odir; \