home *** CD-ROM | disk | FTP | other *** search
/ vsiftp.vmssoftware.com / VSIPUBLIC@vsiftp.vmssoftware.com.tar / FREEWARE / FREEWARE40.ZIP / xpaint-247 / local.config < prev    next >
Text File  |  1996-11-01  |  4KB  |  142 lines

  1. #ifndef XCOMM
  2. #define XCOMM #
  3. #endif
  4.  
  5. XCOMM Configuration portion of Imakefile for XPaint 2.4.5
  6. XCOMM
  7. XCOMM $Id: Local.config,v 1.19 1996/11/01 09:45:48 torsten Exp $
  8.  
  9. XCOMM For FreeBSD, NetBSD and BSD386, no changes should be necessary, unless
  10. XCOMM your libraries are in nonstandard places.
  11.  
  12. XCOMM For SunOS 4.1, include
  13. XCOMM
  14. XCOMM       -DDECLARE_DRAND48
  15. XCOMM
  16. XCOMM Defines that may or may not be useful
  17. XCOMM
  18. XCOMM      -DMISSING_STRERROR if you system doesn't have strerror()
  19. XCOMM      -DMISSING_STDARG_H if you system doesn't have <stdarg.h>
  20. XCOMM      -DNOSTDHDRS        if you don't have <unistd.h> or <stdlib.h>
  21. XCOMM 
  22. XCOMM       -DERRORBEEP        beep on errors
  23. XCOMM 
  24. XCOMM Defines for experimental features
  25. XCOMM 
  26. XCOMM      -DFEATURE_FRACTAL  for fractal fill operator
  27. XCOMM      -DFEATURE_TILT     for tilting the region
  28. XCOMM 
  29. XCOMM Defines for reinstating old behaviour
  30. XCOMM 
  31. XCOMM      -DFILTERNEEDSSELECTION    to get old behaviour of filter commands
  32. XCOMM      -DTRUNC_SNAP        to make snap truncate instead of rounding
  33. XCOMM 
  34.  
  35. EXTRA_DEFINES = -DERRORBEEP
  36.  
  37. #ifdef SunArchitecture
  38. ARCH_DEFINES = -DMISSING_STRERROR
  39. #endif
  40.  
  41. #ifdef NetBSDArchitecture
  42. ARCH_DEFINES = -DHAVE_PARAM_H  
  43. #endif
  44.  
  45. XCOMM Need an ANSI C compiler
  46. XCOMM
  47. XCOMM  Which is either 'gcc' or 'acc' on a SparcStation
  48. XCOMM   most MIPS based machines will do just fine using 'cc'
  49. XCOMM
  50. XCOMM CC = gcc
  51. XCOMM CC = acc
  52.  
  53. XCOMM  If you have the TIFF library, make HaveTIFF defined
  54. XCOMM    and make sure the path names to the library and 
  55. XCOMM    includes are correct.
  56. XCOMM
  57.  
  58. #define HaveTIFF
  59.  
  60. #ifdef HaveTIFF
  61. TIFF_LIB     = -L/usr/local/lib -ltiff
  62. TIFF_INCLUDE = -I/usr/local/include/tiff
  63. #endif
  64.  
  65. XCOMM  If you have the JPEG library, make HaveJPEG defined
  66. XCOMM    and make sure the path names to the library and 
  67. XCOMM    includes are correct.
  68.  
  69. #define HaveJPEG
  70.  
  71. #ifdef HaveJPEG
  72. JPEG_LIB     = -L/usr/local/lib -ljpeg
  73. JPEG_INCLUDE = -I/usr/local/include/jpeg
  74. #endif
  75.  
  76. XCOMM  If you have the PNG library, make HavePNG defined
  77. XCOMM    and make sure the path names to the library and 
  78. XCOMM    includes are correct.
  79.  
  80. #define HavePNG
  81.  
  82. #ifdef HavePNG
  83. PNG_LIB     = -L/usr/local/lib -lpng -lz
  84. PNG_INCLUDE = -I/usr/local/include/png
  85. #endif
  86.  
  87. XCOMM  If you are running SunOS and get an error with the following undefined
  88. XCOMM    symbols from the link line:
  89. XCOMM       _get_wmShellWidgetClass
  90. XCOMM       _get_applicationShellWidgetClass
  91. XCOMM
  92. XCOMM  try uncommenting these lines:
  93. XCOMM
  94. XCOMM #undef XawClientLibs
  95. XCOMM #define XawClientLibs -lXaw -Bstatic -lXmu -Bdynamic -lXt -lXext -lX11
  96. XCOMM
  97.  
  98. XCOMM  You must have the XPM library.
  99. XCOMM  Make sure the path name to the library is correct.
  100.  
  101. XPM_LIB     = -L/usr/X11R6/lib -lXpm
  102.  
  103. XCOMM  Make sure this points to the location of the 'xpm.h' file.
  104.  
  105. XPM_INCLUDE = -I/usr/X11R6/include/X11
  106.  
  107.  
  108. DEPENDFLAGS = -I./bitmaps
  109.  
  110. XCOMM Uncomment these lines and tailor to taste, if you don't like
  111. XCOMM the default paths and man page extension.
  112. XCOMM
  113. XCOMM BINDIR = /usr/local/bin
  114. XCOMM MANDIR = /usr/local/man
  115. XCOMM #undef ManSuffix
  116. XCOMM #define ManSuffix 1
  117.  
  118. XCOMM Add '-g' here if you want to include debugging information.
  119. XCOMM Also add any optimizer flags etc. that you want.
  120. XCOMM Remember to include the flags in both lines, e.g.
  121. XCOMM
  122. XCOMM    CDEBUGFLAGS = -g
  123. XCOMM    #define PassCDebugFlags CDEBUGFLAGS='-g'
  124. XCOMM
  125. XCOMM I have been told that compilation on AIX 3.2.5/IBM RS/6000 requires
  126. XCOMM that you use the 'qlanglvl=ansi' flag.
  127.  
  128. CDEBUGFLAGS =
  129. #define PassCDebugFlags CDEBUGFLAGS=''
  130.  
  131. XCOMM This should take care of everything needed for BSD.
  132.  
  133. #if defined(FreeBSDArchitecture) || defined(NetBSDArchitecture) ||  \
  134.     defined(BSD386Architecture)
  135. ARCH_DEFINES = -DHAVE_PARAM_H
  136. TIFF_INCLUDE = -I/usr/local/include
  137. TIFF_LIB     = -L/usr/local/lib -ltiff
  138. JPEG_INCLUDE = -I/usr/local/include
  139. JPEG_LIB     = -L/usr/local/lib -ljpeg
  140. XPM_INCLUDE = -I/usr/X11R6/include/X11
  141. #endif
  142.