Develop and Download Open Source Software

Browse CVS Repository

Diff of /freewnn/FreeWnn/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4 by ura, Sun Jan 16 06:37:12 2000 UTC revision 1.5 by ura, Sun Jan 16 06:52:38 2000 UTC
# Line 81  emptyrule:: Line 81  emptyrule::
81  clean::  clean::
82          $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.core "#"*          $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.core "#"*
83    
 Makefile::  
         -@if [ -f Makefile ]; then set -x; \  
         $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \  
         else exit 0; fi  
         $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)  
84    
85  tags::  tags::
86          $(TAGS) -w *.[ch]          $(TAGS) -w *.[ch]
# Line 146  tags:: Line 141  tags::
141          TAGS='$(TAGS)' tags); \          TAGS='$(TAGS)' tags); \
142          done          done
143    
 $(ONESUBDIR)/Makefile:  
         @for flag in ${MAKEFLAGS} ''; do \  
         case "$$flag" in *=*) ;; *[n]*) executeit="no";; esac; done; \  
         cd $(ONESUBDIR) && \  
         if [ "$$executeit" != "no" ]; then \  
         $(IMAKE) -DUseInstalled -I$(IMAKEPREFIX)$(IMIRULESRC) -I$(IRULESRC) $(IMAKE_DEFINES) -DTOPDIR=$(IMAKETOP) -DCURDIR=$(ONECURDIR)$(ONESUBDIR); \  
         fi;  
   
 Makefiles::  
         -@for flag in ${MAKEFLAGS} ''; do \  
         case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \  
         for flag in ${MAKEFLAGS} ''; do \  
         case "$$flag" in *=*) ;; *[n]*) executeit="no";; esac; done; \  
         for i in $(SUBDIRS) ;\  
         do \  
         case "$(CURRENT_DIR)" in \  
         .) curdir= ;; \  
         *) curdir=$(CURRENT_DIR)/ ;; \  
         esac; \  
         echo "making Makefiles in $$curdir$$i..."; \  
         itmp=`echo $$i | sed -e 's;^\./;;g' -e 's;/\./;/;g'`; \  
         curtmp="$(CURRENT_DIR)" \  
         toptmp=""; \  
         case "$$itmp" in \  
         ../?*) \  
         while echo "$$itmp" | grep '^\.\./' > /dev/null;\  
         do \  
         toptmp="/`basename $$curtmp`$$toptmp"; \  
         curtmp="`dirname $$curtmp`"; \  
         itmp="`echo $$itmp | sed 's;\.\./;;'`"; \  
         done \  
         ;; \  
         esac; \  
         case "$$itmp" in \  
         */?*/?*/?*/?*)  newtop=../../../../..;; \  
         */?*/?*/?*)     newtop=../../../..;; \  
         */?*/?*)        newtop=../../..;; \  
         */?*)           newtop=../..;; \  
         *)              newtop=..;; \  
         esac; \  
         newtop="$$newtop$$toptmp"; \  
         case "$(TOP)" in \  
         /?*) imaketop=$(TOP) \  
         imakeprefix= ;; \  
         .) imaketop=$$newtop \  
         imakeprefix=$$newtop/ ;; \  
         *) imaketop=$$newtop/$(TOP) \  
         imakeprefix=$$newtop/ ;; \  
         esac; \  
         $(RM) $$i/Makefile.bak; \  
         if [ -f $$i/Makefile ]; then \  
         echo "  $(MV) Makefile Makefile.bak"; \  
         if [ "$$executeit" != "no" ]; then \  
         $(MV) $$i/Makefile $$i/Makefile.bak; \  
         fi; \  
         fi; \  
         $(MAKE) $(MFLAGS) $(MAKE_OPTS) ONESUBDIR=$$i ONECURDIR=$$curdir IMAKETOP=$$imaketop IMAKEPREFIX=$$imakeprefix $$i/Makefile; \  
         if [ -d $$i ] ; then \  
         cd $$i; \  
         $(MAKE) $(MFLAGS) Makefiles; \  
         cd $$newtop; \  
         else \  
         exit 1; \  
         fi; \  
         done  
   
144  includes::  includes::
145          @for flag in ${MAKEFLAGS} ''; do \          @for flag in ${MAKEFLAGS} ''; do \
146          case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \          case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26