Makeconfig 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # Makeconfig - configuration stuff for hunt and huntd.
  2. ifneq ($(hunt_config_included),yes)
  3. hunt_config_included := yes
  4. # Originally from:
  5. #
  6. # Hunt
  7. # Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
  8. # San Francisco, California
  9. #
  10. # Heavily modified for Linux - JSM 1997-04-26, 1997-12-19, 1998-09-05
  11. #
  12. # Game parameter flags are:
  13. # RANDOM Include doors which disperse shots randomly
  14. # REFLECT Include diagonal walls that reflect shots
  15. # MONITOR Include code for watching the game from the sidelines
  16. # OOZE Include slime shots
  17. # FLY Make people fly when walls regenerate under them
  18. # VOLCANO Include occasional large slime explosions
  19. # DRONE Include occasional drone shots
  20. # BOOTS Include boots (which makes you immune to slime)
  21. # OTTO Reserved for CGL automatic player
  22. #
  23. hunt_GAME_PARAM := -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO \
  24. -DBOOTS -DOTTO
  25. #
  26. # System parameter flags are:
  27. # DEBUG Don't trust everything in the code
  28. # INTERNET Use the Internet domain IPC instead of UNIX domain
  29. # LOG Use syslog error-logging in driver (needs SYSLOG_42 or
  30. # or SYSLOG_43)
  31. # OLDIPC Use 4.1a internet system calls (must also define
  32. # INTERNET)
  33. # TERMINFO Use terminfo instead of termcap
  34. # SYSLOG_42 Use 4.2 BSD syslog(3)
  35. # SYSLOG_43 Use 4.2 BSD syslog(3)
  36. # LOG Use syslog(3) for logging errors
  37. # BSD_RELEASE Which version of BSD distribution
  38. # 42 is 4.2BSD (implies SYSLOG_42)
  39. # 43 is 4.3BSD (implies BROADCAST, SYSLOG_43)
  40. # USE_CURSES Use curses for everything (automatic w/TERMINFO)
  41. # SIGNAL_TYPE void or int
  42. # HPUX do special HPUX only hacks
  43. #
  44. # NOTE: if you change the domain (INTERNET vs UNIX) then "make newdomain"
  45. #
  46. hunt_DEFS_BSD43 := -DINTERNET -DLOG -DBSD_RELEASE=43 -DSIGNAL_TYPE=int
  47. hunt_DEFS_BSD44 := -DINTERNET -DLOG -DBSD_RELEASE=44 -DSIGNAL_TYPE=void
  48. hunt_DEFS_SUN := -DINTERNET -DLOG -DBSD_RELEASE=42 -DBROADCAST -DSIGNAL_TYPE=int
  49. hunt_DEFS_SUN4_0 := -DINTERNET -DLOG -DSYSLOG_43 -DBROADCAST -DSIGNAL_TYPE=void
  50. hunt_DEFS_ULTRIX := -DINTERNET -DLOG -DBSD_RELEASE=42 -DSIGNAL_TYPE=void
  51. hunt_DEFS_HPUX := -DHPUX -DINTERNET -DLOG -DSYSLOG_43 -DBROADCAST -DTERMINFO -DSIGNAL_TYPE=void
  52. hunt_DEFS_SGI := -DINTERNET -DLOG -DBSD_RELEASE=43 -DTERMINFO -DSIGNAL_TYPE=void
  53. hunt_DEFS_NEXT := $(DEFS_43) -bsd -traditional -Dconst= -DSIGNAL_TYPE=int
  54. hunt_DEFS_OSF1 := -DINTERNET -DLOG -DBSD_RELEASE=43 -DSIGNAL_TYPE=void -D_BSD
  55. hunt_DEFS_LINUX := -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void
  56. hunt_DEFS := $(hunt_GAME_PARAM) $(hunt_DEFS_LINUX) -DHUNTD=\"$(SBINDIR)/huntd\"
  57. endif