Makeconfig.in 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. # Makeconfig.in - configuration included in Makefiles after substitution.
  2. #
  3. # Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004 Joseph Samuel Myers.
  4. # All rights reserved.
  5. #
  6. # Redistribution and use in source and binary forms, with or without
  7. # modification, are permitted provided that the following conditions
  8. # are met:
  9. # 1. Redistributions of source code must retain the above copyright
  10. # notice, this list of conditions and the following disclaimer.
  11. # 2. Redistributions in binary form must reproduce the above copyright
  12. # notice, this list of conditions and the following disclaimer in the
  13. # documentation and/or other materials provided with the distribution.
  14. # 3. The name of the author may not be used to endorse or promote products
  15. # derived from this software without specific prior written permission.
  16. #
  17. # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  18. # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  19. # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  20. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  21. # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  22. # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  23. # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
  24. # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  25. # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  26. # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  27. # SUCH DAMAGE.
  28. # If some variables are unexpanded in Makeconfig, this shouldn't be a
  29. # problem, it will be because they weren't configured since the relevant
  30. # games weren't being built.
  31. # Source directory
  32. SRCDIR := @srcdir@
  33. # Build directories
  34. BUILDDIRS := @build_dirs@
  35. # Installation prefix
  36. INSTALL_PREFIX := @install_prefix@
  37. # Games directory
  38. GAMESDIR := @gamesdir@
  39. # Daemon directory
  40. SBINDIR := @sbindir@
  41. # Other binaries directory
  42. USRBINDIR := @usrbindir@
  43. # Manual pages, section 6
  44. MAN6DIR := @man6dir@
  45. # Manual pages, section 8
  46. MAN8DIR := @man8dir@
  47. # Manual pages, section 5
  48. MAN5DIR := @man5dir@
  49. # Constant data (arch-independent)
  50. SHAREDIR := @sharedir@
  51. # Miscellaneous documentation
  52. DOCDIR := @docdir@
  53. # Variable data
  54. VARLIBDIR := @varlibdir@
  55. # Directory for hidden games (dm)
  56. LIBEXECDIR := @libexecdir@
  57. # Installation commands, with install -c -o whatever -s etc.
  58. INSTALL_BINARY := @install_binary@
  59. INSTALL_SCRIPT := @install_script@
  60. INSTALL_SCORE_GAME := @install_score_game@
  61. INSTALL_DAEMON := @install_daemon@
  62. INSTALL_MANUAL := @srcdir@/install-man
  63. INSTALL_DATA := @install_constdata@
  64. INSTALL_VARDATA := @install_vardata@
  65. INSTALL_DM := @install_dm@
  66. INSTALL_SAIL_DIR := @install_sail_dir@
  67. INSTALL_HACK_DIR := @install_hack_dir@
  68. # Is INSTALL_VARDATA actually needed (for games that start with non-empty
  69. # scorefile?)
  70. # For games which can start with empty scorefile we do:
  71. INSTALL_SCORE_FILE := @srcdir@/install-score
  72. # Definitions of INSTALL_* that may have -s added
  73. # This first one should no longer be needed
  74. DEFS_TO_PASS := INSTALL_BINARY="$(INSTALL_BINARY)" \
  75. INSTALL_SCORE_GAME="$(INSTALL_SCORE_GAME)" \
  76. INSTALL_DAEMON="$(INSTALL_DAEMON)" INSTALL_DM="$(INSTALL_DM)"
  77. # For the top level install-strip target
  78. DEFS_TO_PASS_STRIP := INSTALL_BINARY="$(INSTALL_BINARY) -s" \
  79. INSTALL_SCORE_GAME="$(INSTALL_SCORE_GAME) -s" \
  80. INSTALL_DAEMON="$(INSTALL_DAEMON) -s" INSTALL_DM="$(INSTALL_DM) -s"
  81. # srcdir/hide-game or :
  82. HIDE_GAME := @hidegame@
  83. # Compilation details
  84. CC := @cc@
  85. CXX := @cxx@
  86. OPTIMIZE := @optimize_flags@
  87. WARNING := @warning_flags@
  88. CXX_WARNING := @cxx_warning_flags@
  89. CFLAGS := $(OPTIMIZE) $(WARNING) @other_cflags@
  90. CXXFLAGS := $(OPTIMIZE) $(CXX_WARNING) @other_cflags@
  91. LDFLAGS := @other_ldflags@
  92. FGETLN_DEFS := @fgetln_defs@
  93. GETLOADAVG_DEFS := @getloadavg_defs@
  94. STRLCPY_DEFS := @strlcpy_defs@
  95. GETPROGNAME_DEFS := @getprogname_defs@
  96. NCURSES_LIB := @ncurses_lib@
  97. NCURSES_INCS := @ncurses_includes@
  98. OPENSSL_LIB := @openssl_lib@
  99. OPENSSL_INCS := @openssl_includes@
  100. BASE_INCS := -Iinclude $(NCURSES_INCS) $(OPENSSL_INCS)
  101. BASE_LIBS := @base_libs@
  102. YACC := @yacc@
  103. LEX := @lex@
  104. LEX_LIB := @lex_lib@
  105. # More paths
  106. PAGER := @pager@
  107. # Individual games
  108. ATC_DIR := @atc_dir@
  109. ATC_SCOREFILE := @atc_scorefile@
  110. BATTLESTAR_SCOREFILE := @battlestar_scorefile@
  111. BOGGLE_DIR := @boggle_dir@
  112. DICTIONARY_SRC := @dictionary_src@
  113. CANFIELD_SCOREFILE := @canfield_scorefile@
  114. CRIBBAGE_INSTRFILE := @cribbage_instrfile@
  115. CRIBBAGE_SCOREFILE := @cribbage_scorefile@
  116. FISH_INSTRFILE := @fish_instrfile@
  117. FORTUNE_DIR := @fortune_dir@
  118. FORTUNE_TYPE := @fortune_type@
  119. HACK_DIR := @hack_dir@
  120. MONOP_CARDSFILE := @monop_cardsfile@
  121. PHANTASIA_DIR := @phantasia_dir@
  122. QUIZ_DIR := @quiz_dir@
  123. ROBOTS_SCOREFILE := @robots_scorefile@
  124. ROGUE_SCOREFILE := @rogue_scorefile@
  125. SAIL_SCOREFILE := @sail_scorefile@
  126. SAIL_DIR := @sail_dir@
  127. SNAKE_SCOREFILE := @snake_scorefile@
  128. SNAKE_RAWSCOREFILE := @snake_rawscorefile@
  129. TETRIS_SCOREFILE := @tetris_scorefile@
  130. WTF_ACRONYMFILE := @wtf_acronymfile@
  131. WUMP_INFOFILE := @wump_infofile@