home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume1 / 8712 / mkmf / 2 / src / Mkmf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-07-13  |  1.5 KB  |  58 lines

  1. /* $Header: Mkmf.h,v 1.4 85/04/23 16:43:00 nicklin Exp $ */
  2.  
  3. /*
  4.  * Mkmf definitions
  5.  *
  6.  * Author: Peter J. Nicklin
  7.  */
  8.  
  9. /*
  10.  * Buffer sizes
  11.  */
  12. #define ANSWERBUFSIZE        256    /* interactive answer buffer size */
  13. #define INCLUDETABLESIZE    1021    /* include file table size */
  14. #define MACRODEFSIZE        1024    /* macro definition body size */
  15. #define MACRONAMSIZE        32    /* macro definition name size */
  16. #define MDEFTABLESIZE        127    /* macro definition table size */
  17. #define RULETABSIZE        256    /* rule table size */
  18. #define SFXTABSIZE        256    /* suffix table size */
  19. #define SUFFIXSIZE        16    /* suffix size */
  20. /*
  21.  * Predefined macro names
  22.  */
  23. #define MCFLAGS        "CFLAGS"
  24. #define MDESTDIR    "DEST"
  25. #define MEXTERNALS    "EXTHDRS"
  26. #define MFFLAGS        "FFLAGS"
  27. #define MHEADERS    "HDRS"
  28. #define MLIBLIST    "LIBS"
  29. #define MLIBRARY    "LIBRARY"
  30. #define MMAKEFILE    "MAKEFILE"
  31. #define MMOREINCDIRS    "MOREINCDIRS"
  32. #define MOBJECTS    "OBJS"
  33. #define MPFLAGS        "PFLAGS"
  34. #define MPROGRAM    "PROGRAM"
  35. #define MSOURCE        "SRCS"
  36. #define MSUFFIX        "SUFFIX"
  37. /*
  38.  * Predefined macro values
  39.  */
  40. #define VERROR               -1
  41. #define VUNKNOWN        0
  42. #define VREADONLY        1
  43. #define VREADWRITE        2
  44. #define VLIBRARY        3
  45. #define VPROGRAM        4
  46. #define VDESTDIR        5
  47. /*
  48.  * Include statement styles
  49.  */
  50. #define INCLUDE_C        'C'    /* #include "file" */
  51. #define INCLUDE_FORTRAN        'F'    /* include "file" or #include "file" */
  52. #define INCLUDE_PASCAL        'P'    /* #include "file" */
  53. #define INCLUDE_NONE        0    /* no include file */
  54. /*
  55.  * Marker to indicate start of included file dependencies
  56.  */
  57. #define DEPENDMARK        "###"
  58.