home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume27 / ytalk-3.0 / part01 / Imakefile < prev    next >
Makefile  |  1993-08-20  |  2KB  |  73 lines

  1. #### Imakefile for YTalk version 3.0 ####
  2. #
  3. #               NOTICE
  4. #
  5. # Copyright (c) 1990,1992,1993 Britt Yenne.  All rights reserved.
  6. # This software is provided AS-IS.  The author gives no warranty,
  7. # real or assumed, and takes no responsibility whatsoever for any 
  8. # use or misuse of this software, or any damage created by its use
  9. # or misuse.
  10. # This software may be freely copied and distributed provided that
  11. # no part of this NOTICE is deleted or edited in any manner.
  12.  
  13. ###################################
  14. ## CONFIGURATION  (The Fun Part) ##
  15. ###################################
  16. #
  17. # If your machine does not support TERMIOS (example: any NeXT running
  18. # NeXTStep earlier than version 3.1), then uncomment the following
  19. # line.
  20. #
  21. #TDEFS = -DUSE_SGTTY
  22.  
  23. #
  24. # If you are using a Sun running NIS (also known as YP), you might need to
  25. # uncomment the next line if ytalk asks you "Who are you?"
  26. #
  27. #SLIBS = -lsun
  28.  
  29. ############################################################
  30. ## Past this point, you shouldn't need to modify anything ##
  31. ############################################################
  32. DEFINES = -DUSE_X11
  33. LIB = -lcurses -ltermcap $(SLIBS) $(XLIB)
  34. CPPFLAGS = -I/usr/local/include $(TOP_INCLUDES) $(TDEFS)
  35. LDFLAGS = $(LDOPTIONS)
  36. OBJ = main.o term.o user.o fd.o comm.o menu.o socket.o rc.o exec.o curses.o \
  37.       xwin.o
  38. PRG = ytalk
  39.  
  40. all:    $(PRG) ytalk.cat
  41.  
  42. $(PRG):    $(OBJ)
  43.     $(CC) $(LDFLAGS) -o $(PRG) $(OBJ) $(LIB)
  44.     
  45. ytalk.cat:    ytalk.1
  46.     nroff -man ytalk.1 > ytalk.cat
  47.  
  48. start:    Imakefile
  49.     cp Imakefile Makefile
  50.  
  51. shar:
  52.     make start
  53.     shar -i Manifest -o ytalk-3.0.shar -t "== Now read the README file =="
  54.  
  55. clean::
  56.     -rm $(OBJ)
  57.  
  58. install::
  59.  
  60. $(OBJ):        header.h Makefile
  61. main.o:        menu.h
  62. term.o:        curses.h xwin.h menu.h
  63. fd.o:        menu.h
  64. comm.o:        socket.h menu.h
  65. menu.o:        menu.h
  66. socket.o:    socket.h
  67. curses.o:    curses.h
  68. xwin.o:        xwin.h
  69.  
  70.