Makefile.in 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. # ./Makefile.in -*- Makefile -*-
  2. # $Id: Makefile.in,v 1.16 2003/03/07 02:24:18 gcw Exp $
  3. @MCOMMON@
  4. srcdir = @srcdir@
  5. VPATH = @srcdir@
  6. .PATH: @srcdir@
  7. first_rule: all
  8. dummy:
  9. subdirs = src doc rclock src/graphics src/test
  10. allsubdirs = W11 $(subdirs)
  11. DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog
  12. DIST_CFG = autoconf/aclocal.m4 autoconf/xpm.m4 autoconf/libtool.m4 \
  13. autoconf/configure.in autoconf/config.h.in \
  14. autoconf/Make.common.in autoconf/install-sh autoconf/mkinstalldirs \
  15. autoconf/config.guess autoconf/config.sub \
  16. autoconf/ltmain.sh \
  17. MKDIR = $(srcdir)/autoconf/mkinstalldirs
  18. #-------------------------------------------------------------------------
  19. all allbin alldoc tags:
  20. @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@ || exit 1); fi
  21. @for I in ${subdirs}; do (cd $$I; ${MAKE} $@ || exit 1); done
  22. realclean: clean
  23. $(RMF) config.h config.status config.log libtool
  24. clean:
  25. $(RMF) *~ config.cache
  26. $(RMF) -r autom4te.cache
  27. @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@ || exit 1); fi
  28. @for I in ${subdirs}; do (cd $$I; ${MAKE} $@ || exit 1); done
  29. #
  30. # entry points for other programs
  31. #
  32. rxvt:
  33. (cd src; ${MAKE})
  34. clock:
  35. (cd rclock; ${MAKE})
  36. graphics qplot:
  37. (cd src/graphics; ${MAKE} qplot)
  38. tests:
  39. (cd src/test; ${MAKE} tests)
  40. #-------------------------------------------------------------------------
  41. configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in
  42. cd $(srcdir);
  43. ./.prebuild
  44. config.status:
  45. if test -x config.status; then config.status --recheck; \
  46. else $(SHELL) configure; fi
  47. autoconf/config.h.in: autoconf/configure.in
  48. cd $(srcdir);
  49. ./.prebuild
  50. installdirs:
  51. $(MKDIR) $(DESTDIR)$(bindir)
  52. $(MKDIR) $(DESTDIR)$(mandir)
  53. install: installdirs
  54. @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@ || exit 1); fi
  55. @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1); done
  56. Makefiles:
  57. $(SHELL) config.status
  58. cleandir: realclean
  59. # distclean goal is for making a clean source tree, but if you have run
  60. # configure from a different directory, then doesn't destroy all your
  61. # hardly compiled and linked stuff. That's why there is always $(srcdir)/
  62. # In that case most of those commands do nothing, except cleaning *~
  63. # and cleaning source links.
  64. distclean:
  65. (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool)
  66. @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@ || exit 1); done
  67. (cd $(srcdir); $(RMF) Makefile autoconf/Make.common)
  68. distdirs:
  69. mkdir ../$(VERNAME);
  70. mkdir ../$(VERNAME)/autoconf;
  71. @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@ || (echo "Failed to make distclean in $$I"; exit 0) ); done
  72. distcopy:
  73. $(CP) -p $(DIST) ../$(VERNAME);
  74. $(CP) -p $(DIST_CFG) ../$(VERNAME)/autoconf;
  75. @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@ || exit 1); done
  76. distrib: configure autoconf/config.h.in distdirs distcopy
  77. tar.gz: ../$(VERNAME).tar.gz
  78. ../$(VERNAME).tar.gz:
  79. (cd ..; tar cvf - $(VERNAME) | gzip -f9 > $(VERNAME).tar.gz)
  80. tar.Z: ../$(VERNAME).tar.Z
  81. ../$(VERNAME).tar.Z:
  82. (cd ..; tar cvf - $(VERNAME) | compress > $(VERNAME).tar.Z)
  83. tar.bz2: ../$(VERNAME).tar.bz2
  84. ../$(VERNAME).tar.bz2:
  85. (cd ..; tar cvf - $(VERNAME) | bzip2 -f9 > $(VERNAME).tar.bz2)
  86. uuencode: tar.gz
  87. uuencode ../$(VERNAME).tar.gz $(VERNAME).tar.gz > ../$(VERNAME).tgz.uu
  88. # ------------------------------------------------------------------------