aboutsummaryrefslogtreecommitdiffstats
path: root/mk/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-26 19:29:25 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-26 20:25:00 +0200
commitfdef025a909e2410aefbe335e3255ab64919c646 (patch)
treeff90581fe18de725f73579008f6c31342cf7af72 /mk/config.mk
parentupdate readme (diff)
downloadmds-fdef025a909e2410aefbe335e3255ab64919c646.tar.gz
mds-fdef025a909e2410aefbe335e3255ab64919c646.tar.bz2
mds-fdef025a909e2410aefbe335e3255ab64919c646.tar.xz
make derp + sed config.h
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--mk/config.mk51
1 files changed, 51 insertions, 0 deletions
diff --git a/mk/config.mk b/mk/config.mk
index a961a53..d824b73 100644
--- a/mk/config.mk
+++ b/mk/config.mk
@@ -28,10 +28,61 @@ DOCDIR ?= $(DATADIR)/doc
INFODIR ?= $(DATADIR)/info
# The license base path including prefix.
LICENSEDIR ?= $(DATADIR)/licenses
+# The transient directory for temporary files.
+TMPDIR ?= /tmp
+# The transient directory for runtime files.
+RUNDIR ?= /run
+# The directory for site-specific configurations.
+SYSCONFDIR ?= /etc
+# The directory for pseudo-devices.
+DEVDIR ?= /dev
+# The /proc directory
+PROCDIR ?= /proc
+# The /proc/self directory
+SELFPROCDIR ?= $(PROCDIR)/self
# The name of the package as it should be installed.
PKGNAME ?= mds
+# The user ID for the root user.
+ROOT_USER_UID = 0
+# The group ID for the root group.
+ROOT_GROUP_GID = 0
+# The group ID for the nobody group.
+NOBODY_GROUP_GID = $(ROOT_GROUP_GID)
+# The path of the symlink to the executed command
+SELF_EXE = $(SELFPROCDIR)/exe
+# The path to the directory with symlinks to each file that is open
+SELF_FD = $(SELFPROCDIR)/fd
+# Random number generator to use for generating a token.
+TOKEN_RANDOM = $(DEVDIR)/urandom
+# Pathname pattern for virtual terminals.
+VT_PATH_PATTERN = $(DEVDIR)/tty%i
+
+# The byte length of the authentication token.
+TOKEN_LENGTH = 1024
+# The maximum number of command line arguments to allow.
+ARGC_LIMIT = 50
+# The number of additional arguments a libexec server may have.
+LIBEXEC_ARGC_EXTRA_LIMIT = 5
+# The maximum number of display allowed on the system.
+DISPLAY_MAX = 1000
+# The minimum time that most have elapsed for respawning to be allowed.
+RESPAWN_TIME_LIMIT_SECONDS = 5
+# Pattern for the names of shared object to which states are marshalled.
+SHM_PATH_PATTERN = /.proc-pid-%ji
+
+# The name of the environment variable that indicates the index of the display.
+DISPLAY_ENV = MDS_DISPLAY
+# The name of the environment variable that indicates the display server's process group.
+PGROUP_ENV = MDS_PGROUP
+# The dot-prefixless basename of the initrc file that the master server executes.
+INITRC_FILE = mdsinitrc
+# The root directory of all runtime data stored by mds.
+MDS_RUNTIME_ROOT_DIRECTORY = $(RUNDIR)/$(PKGNAME)
+# The root directory of temporarily stored data stored by mds servers.
+MDS_STORAGE_ROOT_DIRECTORY = $(TMPDIR)/.{system-directory}.$(PKGNAME)
+
# Optimisation level (and debug flags.)
OPTIMISE = -Og -g