home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / xap / gchess / xboard-3.0 / xboard-3 / xboard-3.0.pl9 / Imakefile < prev    next >
Makefile  |  1993-09-09  |  2KB  |  57 lines

  1. #
  2. # Imakefile -- for instructions on generating a Makefile
  3. #   for xboard from this file, see the file INSTALL
  4. #
  5.  
  6.    SYS_LIBRARIES = -lm
  7.  LOCAL_LIBRARIES = XawClientLibs
  8.          DEPLIBS = XawClientDepLibs
  9.          DEFINES = -DHAS_GETTIMEOFDAY
  10. #    CDEBUGFLAGS = -g
  11. #             CC = gcc -Wall -pedantic -ansi -Wno-implicit -Wno-comment
  12. #             CC = gcc -Wall -traditional
  13.        MANSUFFIX = 6
  14.  
  15. #ifdef HPArchitecture
  16.        CCOPTIONS = -Aa -D_HPUX_SOURCE
  17. #endif
  18.  
  19. # Uncomment the next line for Sun's Solaris 2.x, per Mark Silver:
  20. #  SYS_LIBRARIES =  -lsocket -lnsl -lelf -lm -L/usr/ucblib -lucb
  21. # Solaris users also need to add /usr/ucblib to their LD_LIBRARY_PATH
  22. # environment variable to run the resulting binary.  To do this,
  23. # add the following line (or something like it) to your .login file,
  24. # then log out and back in:
  25. #    setenv LD_LIBRARY_PATH ${OPENWINHOME}/lib:/usr/lib:/usr/ucblib
  26. # Thanks to Arik Klingensmith for the "setenv" information.
  27.  
  28. # If you get the following linker error messages on SunOS, you have
  29. # hit a known bug in the SunOS linker (ld).
  30. #    ld: Undefined symbol 
  31. #      _get_wmShellWidgetClass 
  32. #      _get_applicationShellWidgetClass 
  33. # To work around it,  try uncommenting this:
  34. #         XMULIB = -Bstatic -lXmu -Bdynamic
  35. # Ask Sun for patches 100512-02 and 100573-03 to get the real fix.
  36.  
  37. # Try uncommenting this if you use gcc and xboard crashes in sscanf.
  38. # Probably needed on VAX Ultrix 3.1 and on IBM PS/2 AIX.
  39. #      CCOPTIONS = -fwritable-strings
  40.  
  41. SRCS = parser.c xboard.c backend.c
  42. OBJS = parser.o xboard.o backend.o
  43. #SRCS = parser.c xboard.c backend.c zippy.c
  44. #OBJS = parser.o xboard.o backend.o zippy.o
  45.  
  46. AllTarget(xboard)
  47. AllTarget(cmail)
  48.  
  49. depend:: parser.c
  50.  
  51. clean::
  52.     $(RM) parser.c chess.lst CLp*
  53.  
  54. ComplexProgramTarget(xboard)
  55. InstallProgram(cmail,$(BINDIR))
  56. InstallManPage(cmail,$(MANDIR))
  57.