Changeset 7726


Ignore:
Timestamp:
2004-07-08T11:37:36+12:00 (20 years ago)
Author:
kjdon
Message:

some mods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/Makefile.in

    r5951 r7726  
    4848ALLFILES = $(OBJECTS)
    4949
    50 INSTALLDIRS = packages/mg packages packages/mgpp
    51 
    52 MODULEDIRS = @MODULEDIRS@
    53 
    54 OTHERDIRS = packages packages/mg packages/mgpp
     50SRCDIRS = packages src/java
     51DOCDIRS = docs
    5552
    5653all:
    57     for odir in $(OTHERDIRS); do \
    58       echo making $@ in $$odir; \
    59       (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
     54    for subdir in $(SRCDIRS); do \
     55      echo making $@ in $$subdir; \
     56      (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
    6057    done
    6158
    62 #   for odir in $(MODULEDIRS); do \
    63 #     echo making $@ in $$odir; \
    64 #     (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
    65 #   done
     59docs:
     60    for subdir in $(DOCDIRS); do \
     61      echo making $@ in $$subdir; \
     62      (cd $$subdir && $(MAKE) docs) || exit 1; \
     63    done   
    6664
    6765install: all
    6866
    69     for idir in $(INSTALLDIRS); do \
    70       echo installing $$idir; \
    71       (cd $$idir && $(MAKE) install) || exit 1; \
     67    for subdir in $(SRCDIRS); do \
     68      echo installing $$subdir; \
     69      (cd $$subdir && $(MAKE) install) || exit 1; \
    7270    done
    7371
    74 # added test to check existence of Makefile, as src/recpt is in
    75 # both INSTALLDIRS and OTHERDIRS - can't make distclean twice!
    7672distclean: clean
    7773    rm -f Makefile config.cache config.h config.log stamp-h config.status
    78     for subdir in $(INSTALLDIRS) $(OTHERDIRS); do \
     74    for subdir in $(SRCDIRS) $(DOCDIRS); do \
    7975      echo cleaning $@ in $$subdir; \
    80       (cd $$subdir && if test -e Makefile; then $(MAKE) distclean;fi) || exit 1; \
     76      (cd $$subdir && $(MAKE) distclean) || exit 1; \
    8177    done
    8278
    8379clean:
    84     for subdir in $(INSTALLDIRS) $(OTHERDIRS); do \
     80    for subdir in $(SRCDIRS) $(DOCDIRS); do \
    8581      echo cleaning $@ in $$subdir; \
    8682      (cd $$subdir && $(MAKE) clean) || exit 1; \
     
    9389config.status: configure
    9490    ./config.status --recheck
    95 configure: configure.in aclocal.m4
     91configure: configure.ac aclocal.m4
    9692    cd $(srcdir) && autoconf
    9793
     
    10096    CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status
    10197config.h.in: stamp-h.in
    102 stamp-h.in: configure.in aclocal.m4 acconfig.h
     98stamp-h.in: configure.ac aclocal.m4 acconfig.h
    10399    cd $(srcdir) && autoheader
    104100    $(TOUCH) $(srcdir)/stamp-h.in
Note: See TracChangeset for help on using the changeset viewer.