home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / n / bind / bind-4.001 / bind-4~ / bind-4.9.3-BETA9 / conf / Info.AIX.makefile < prev    next >
Internet Message Format  |  1994-07-12  |  1KB

  1. Received: by gw.home.vix.com id AA16867; Tue, 12 Jul 94 06:57:41 -0700
  2. Received: (from ben@localhost) by mercure.inserm.fr (8.6.8/8.6.6) id PAA09612; Tue, 12 Jul 1994 15:57:09 +0200
  3. Date: Tue, 12 Jul 1994 15:57:09 +0200
  4. From: Benoit Grange <ben@tolbiac.inserm.fr>
  5. Message-Id: <199407121357.PAA09612@mercure.inserm.fr>
  6. To: paul@vix.com
  7. Subject: Re: Make fails building bind on AIX
  8.  
  9.  
  10. > what do you mean "separate" the all and clean targets?
  11.  
  12. In the Makefile, instead of :
  13.  
  14. ----
  15. all clean depend:: FRC
  16.     @for x in $(SUBDIRS); do \
  17.         (cd $$x; pwd; $(MAKE) $(MARGS) $@); \
  18.     done
  19.  
  20. clean:: FRC
  21.     -test -d doc/bog && (cd doc/bog; pwd; $(MAKE) $(MARGS) $@)
  22.     (cd conf; rm -f *~ *.CKP *.BAK *.orig)
  23.     rm -f *~ *.CKP *.BAK *.orig
  24. ...
  25. ----
  26. I write :
  27. ----
  28.  
  29. all :: FRC
  30.     @for x in $(SUBDIRS); do \
  31.         (cd $$x; pwd; $(MAKE) $(MARGS) $@); \
  32.     done
  33.  
  34. clean:: FRC
  35.     @for x in $(SUBDIRS); do \
  36.         (cd $$x; pwd; $(MAKE) $(MARGS) $@); \
  37.     done
  38.     -test -d doc/bog && (cd doc/bog; pwd; $(MAKE) $(MARGS) $@)
  39.     (cd conf; rm -f *~ *.CKP *.BAK *.orig)
  40.     rm -f *~ *.CKP *.BAK *.orig
  41.  
  42. depend:: FRC
  43.     @for x in $(SUBDIRS); do \
  44.         (cd $$x; pwd; $(MAKE) $(MARGS) $@); \
  45.     done
  46.  
  47. --------------------
  48.  
  49. Anyway, all this is because of the buggy make supplied
  50. with AIX.
  51.  
  52. Benoit Grange.
  53.