home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / N / TCPIP / NETKIT-A.06 / NETKIT-A / NetKit-A-0.06 / ytalk-3.0.1 / Imakefile,v < prev    next >
Encoding:
Text File  |  1994-07-26  |  2.8 KB  |  126 lines

  1. head    1.1;
  2. access;
  3. symbols;
  4. locks
  5.     florian:1.1; strict;
  6. comment    @# @;
  7.  
  8.  
  9. 1.1
  10. date    94.07.26.12.18.11;    author florian;    state Exp;
  11. branches;
  12. next    ;
  13.  
  14.  
  15. desc
  16. @@
  17.  
  18.  
  19. 1.1
  20. log
  21. @Initial revision
  22. @
  23. text
  24. @#### Imakefile for YTalk version 3.0 ####
  25. #
  26. #               NOTICE
  27. #
  28. # Copyright (c) 1990,1992,1993 Britt Yenne.  All rights reserved.
  29. # This software is provided AS-IS.  The author gives no warranty,
  30. # real or assumed, and takes no responsibility whatsoever for any 
  31. # use or misuse of this software, or any damage created by its use
  32. # or misuse.
  33. # This software may be freely copied and distributed provided that
  34. # no part of this NOTICE is deleted or edited in any manner.
  35.  
  36. ###################################
  37. ## CONFIGURATION  (The Fun Part) ##
  38. ###################################
  39. #
  40. # If your machine does not support TERMIOS (example: any NeXT running
  41. # NeXTStep up to and including version 3.1), then uncomment the following
  42. # line.
  43.  
  44. #TDEFS = -DUSE_SGTTY
  45.  
  46. #
  47. # If you are running an older Sun OS using YP (now known as NIS), you might
  48. # need to uncomment the next line if ytalk asks you "Who are you?"
  49.  
  50. #SLIBS = -lsun
  51.  
  52. #
  53. # If you are on a sun running solaris 2.* you might need to uncomment the 
  54. # following line.
  55.  
  56. #SLIBS = -lnsl -lsocket
  57.  
  58. #
  59. # If your machine has a 64-bit architecture or uses 64-bit 'long's, then you
  60. # will need to uncomment the following line.
  61.  
  62. #BDEFS = -DY64BIT
  63.  
  64. #
  65. # If you have (or want) a system-wide .ytalkrc file, uncomment the next
  66. # line and set it to the correct pathname.  The backslashes must remain
  67. # before each double-quote.
  68.  
  69. #RCDEF = -DSYSTEM_YTALKRC=\"/usr/local/etc/ytalkrc\"
  70.  
  71. #
  72. # If you plan to install ytalk on your system, you may want to modify
  73. # the following lines.  Y_BINDIR is where the binary will be placed.
  74. # Y_MANDIR is where the manpage will be placed.
  75.  
  76. Y_BINDIR = /usr/local/bin
  77. Y_MANDIR = /usr/local/man/man1
  78.  
  79. ############################################################
  80. ## Past this point, you shouldn't need to modify anything ##
  81. ############################################################
  82. LIB = -lcurses -ltermcap $(SLIBS) $(XLIB)
  83. DEFINES = -DUSE_X11 -I/usr/local/include $(TDEFS) $(BDEFS) $(RCDEF)
  84. LDFLAGS = $(LDOPTIONS)
  85. OBJ = main.o term.o user.o fd.o comm.o menu.o socket.o rc.o exec.o cwin.o \
  86.       xwin.o
  87. PRG = ytalk
  88.  
  89. all:    $(PRG) ytalk.cat
  90.  
  91. $(PRG):    $(OBJ)
  92.     $(CC) $(LDFLAGS) -o $(PRG) $(OBJ) $(LIB)
  93.     
  94. ytalk.cat:    ytalk.1
  95.     nroff -man ytalk.1 > ytalk.cat
  96.  
  97. start:    Imakefile
  98.     sed 's/^DEFINES.*X11/CFLAGS =/' < Imakefile > Makefile
  99.  
  100. shar:
  101.     make start
  102.     shar -i Manifest -o ytalk-3.0.shar -t "== Now read the README file =="
  103.  
  104. clean::
  105.     -rm -f $(OBJ)
  106.  
  107. install:: $(PRG)
  108.     /bin/cp ytalk $(Y_BINDIR)
  109.     /bin/cp ytalk.1 $(Y_MANDIR)
  110.     @@echo "Ytalk installation complete."
  111.  
  112. $(OBJ):        header.h
  113. main.o:        menu.h
  114. term.o:        cwin.h xwin.h menu.h
  115. fd.o:        menu.h
  116. comm.o:        socket.h menu.h
  117. menu.o:        menu.h
  118. socket.o:    socket.h
  119. cwin.o:        cwin.h
  120. xwin.o:        xwin.h
  121.  
  122. @
  123.