home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / tcl / tcl+tk+t / tclx7.3bl / tclx7 / tclX7.3b / tools / Makefile.in < prev    next >
Encoding:
Makefile  |  1994-07-16  |  2.7 KB  |  91 lines

  1. #
  2. # tools/Makefile.in  --
  3. #
  4. # Makefile for building tools used during install
  5. #------------------------------------------------------------------------------
  6. # Copyright 1992-1994 Karl Lehenbauer and Mark Diekhans.
  7. #
  8. # Permission to use, copy, modify, and distribute this software and its
  9. # documentation for any purpose and without fee is hereby granted, provided
  10. # that the above copyright notice appear in all copies.  Karl Lehenbauer and
  11. # Mark Diekhans make no representations about the suitability of this
  12. # software for any purpose.  It is provided "as is" without express or
  13. # implied warranty.
  14. #------------------------------------------------------------------------------
  15. # $Id: Makefile.in,v 4.0 1994/07/16 05:28:50 markd Rel $
  16. #------------------------------------------------------------------------------
  17. #
  18. SHELL = /bin/sh
  19.  
  20. #------------------------------------------------------------------------------
  21.  
  22. CC          = @CC@
  23. srcdir      = @srcdir@
  24. srcbasedir  = @srcbasedir@
  25. bldbasedir  = @bldbasedir@
  26. VPATH       = @srcdir@
  27. prefix      = /usr/local
  28. exec_prefix = /usr/local
  29. XINCLUDES   = @XINCLUDES@
  30. LIBS        = @LIBS@ -lm
  31.  
  32. @MAKEINCLUDE@ @MAKEQUOTE@${bldbasedir}/Config.mk@MAKEQUOTE@
  33.  
  34. #------------------------------------------------------------------------------
  35.  
  36. CC_FLAGS = ${CPPFLAGS} ${XCFLAGS} ${CFLAGS} -I${srcbasedir}/src \
  37.            ${XINCLUDES} -I${TCL_UCB_SRC}
  38.  
  39. .c.o:
  40.     ${CC} ${CC_FLAGS} -c $<
  41.  
  42. #------------------------------------------------------------------------------
  43.  
  44. all: tclxversion $(TK_BUILD) instcopy bldmanhelp cpmanpages cphelpdir \
  45.      symlinkext
  46.  
  47. tclxversion: getversion.c
  48.     $(CC) $(CC_FLAGS) ${srcdir}/getversion.c -o tclxversion ${LIBS}
  49.  
  50. WISHX: tkxversion
  51.  
  52. tkxversion: getversion.c
  53.     $(CC) $(CC_FLAGS) -I$(TK_UCB_SRC) -DTK_GET_VERSION \
  54.        ${srcdir}/getversion.c -o tkxversion ${LIBS}
  55.  
  56. instcopy: instcopy.tcl buildutil.tcl
  57.     rm -f instcopy
  58.     cat ${srcdir}/buildutil.tcl ${srcdir}/instcopy.tcl >instcopy
  59.  
  60. bldmanhelp: bldmanhelp.tcl
  61.     rm -f bldmanhelp
  62.     cp ${srcdir}/bldmanhelp.tcl bldmanhelp
  63.  
  64. cpmanpages: cpmanpages.tcl buildutil.tcl
  65.     rm -f cpmanpages
  66.     cat ${srcdir}/buildutil.tcl ${srcdir}/cpmanpages.tcl >cpmanpages
  67.  
  68. cphelpdir: cphelpdir.sh
  69.     rm -f cphelpdir
  70.     echo ":"                           >cphelpdir
  71.     echo "TOOLS=${bldbasedir}/tools"  >>cphelpdir
  72.     cat ${srcdir}/cphelpdir.sh        >>cphelpdir
  73.     chmod a+x cphelpdir
  74.  
  75. symlinkext: symlinkext.sh
  76.     rm -f symlinkext
  77.     cat ${srcdir}/symlinkext.sh  >symlinkext
  78.     chmod a+x symlinkext
  79.  
  80. #------------------------------------------------------------------------------
  81.  
  82. clean:
  83.     -rm -f tclxversion tkxversion *.o
  84.     -rm -f instcopy bldmanhelp cpmanpages cphelpdir symlinkext
  85.  
  86. #------------------------------------------------------------------------------
  87. # Restore to the distributed state.
  88.  
  89. distclean: clean
  90.     rm -f Makefile
  91.