home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / x / xhearts.zip / IMAKEFIL < prev    next >
Text File  |  1992-01-07  |  2KB  |  47 lines

  1. /**/#
  2. /**/#  This Imakefile makes the following programs:
  3. /**/#
  4. /**/#    heartsd:      hearts dealer daemon
  5. /**/#    hearts_dist:  heartsd spawner
  6. /**/#    hearts:       curses/tty interface
  7. /**/#    xmhearts:     X11/Motif hearts interface
  8. /**/#    xawhearts:    X11/Xaw hearts interface
  9. /**/#
  10.  
  11. SRCS1 = client.c hearts.c select.c connect.c sockio.c start_dist.c
  12. OBJS1 = client.o hearts.o select.o connect.o sockio.o start_dist.o
  13. SRCS2 = xmclient.c hearts.c select.c connect.c sockio.c start_dist.c gfx.c
  14. OBJS2 = xmclient.o hearts.o select.o connect.o sockio.o start_dist.o gfx.o
  15. SRCS3 = xawclient.c hearts.c select.c connect.c sockio.c start_dist.c gfx.c
  16. OBJS3 = xawclient.o hearts.o select.o connect.o sockio.o start_dist.o gfx.o
  17. SRCS4 = heartsd.c sockio.c
  18. OBJS4 = heartsd.o sockio.o
  19. SRCS5 = hearts_dist.c opensock.c sockio.c
  20. OBJS5 = hearts_dist.o opensock.o sockio.o
  21.  
  22. /**/#
  23. /**/# Uncomment this if you don't have a Motif build environment
  24. /**/#
  25. /* #define NO_MOTIF */
  26.  
  27. #ifdef NO_MOTIF
  28. PROGRAMS = heartsd hearts_dist hearts xawhearts
  29. #else
  30. PROGRAMS = heartsd hearts_dist hearts xawhearts xmhearts
  31. #ifndef XMLIB
  32. XMLIB = -lXm_s $(XTOOLLIB) $(XLIB) -lPW
  33. #endif
  34. #endif
  35.  
  36. CURSES_LIBRARIES = -lcurses -ltermlib
  37. XMLOCAL_LIBRARIES = $(XMLIB)
  38. XAWLOCAL_LIBRARIES = XawClientLibs
  39.  
  40. ComplexProgramTarget_1(hearts, $(CURSES_LIBRARIES), )
  41. ComplexProgramTarget_2(xmhearts, $(XMLOCAL_LIBRARIES), $(SYSLIBS))
  42. ComplexProgramTarget_3(xawhearts, $(XAWLOCAL_LIBRARIES), $(SYSLIBS))
  43. SingleProgramTarget(heartsd, $(OBJS4), , )
  44. SingleProgramTarget(hearts_dist, $(OBJS5), , )
  45.  
  46. CDEBUGFLAGS = -g
  47.