Makefile.def (1615B)
1 # Definitions for the making of.... 2 # crossroads. 3 4 # Versioning. This defines the overall version ID and must match the topmost 5 # entry in the ChangeLog. 6 VER = 1.23 7 8 # Default config 9 DEFAULT_CONF = /etc/crossroads.conf 10 11 # The max nr of backends of a given service. This is a fixed number, 12 # because it defines the size of the shared memory that crossroads claims. 13 MAX_BACKEND = 10 14 15 # Magic mask for shared memory keys. 16 SHM_MASK = 0x19081962 17 18 # Sleep time (sec). When we detect that there are too many clients, or 19 # no back ends, then we'll wait during this period. 20 SLEEP_TIME = 10 21 22 # How long before an attempt to connect to a back end fails (secs)? 23 # This is NOT the sessiontimeout specifier of the config file; it affects 24 # trying to connect to a back end. If your back ends are nearby 25 # (as they should be) then keep this number small. 26 CONNECT_TIMEOUT = 2 27 28 # The size of buffers for the copying of data between sockets. 29 TCP_BUFSZ = 10240 30 31 # The directory where the crossroads program will be installed. Note that 32 # the docs aren't installed by default; you have to do that by hand. 33 # For the bindir, we like to use EBINDIR, but supply a name if EBINDIR 34 # isn't set. 35 ifeq ($(strip $(EBINDIR)),) 36 BINDIR ?= /usr/local/bin 37 else 38 BINDIR ?= $(EBINDIR) 39 endif 40 41 # If you're on Linux, then one can set the program title for 'ps' output 42 # by modifying argv directly. If you're on Linux or if your system supports 43 # this too, then define as value 1. Otherwise set to zero. 44 SET_PROC_TITLE_BY_ARGV = 1 45 46 # Uncomment if you're on Solaris and don't want to fiddle with 47 # LD_LIBRARY_PATH or crle (yuk!) 48 # EXTRALIBS = -R/usr/ucblib