351669d743
Do another clean-up pass over this, making the generic menu handler much more powerful (now handles multiple dispatch). A few more menus fleshed out and the beginnings of the distribution handler committed. Should be transfering full distributions over in the next commit.
83 lines
2.3 KiB
C
83 lines
2.3 KiB
C
#ifndef _DIST_H_INCLUDE
|
|
#define _DIST_H_INCLUDE
|
|
|
|
/* Bitfields for distributions - hope we never have more than 32! :-) */
|
|
#define DIST_BIN 0x0001
|
|
#define DIST_GAMES 0x0002
|
|
#define DIST_MANPAGES 0x0004
|
|
#define DIST_PROFLIBS 0x0008
|
|
#define DIST_DICT 0x0010
|
|
#define DIST_SRC 0x0020
|
|
#define DIST_DES 0x0040
|
|
#define DIST_INFO 0x0080
|
|
#define DIST_COMPAT1X 0x0100
|
|
#define DIST_XF86 0x0200
|
|
#define DIST_COMMERCIAL 0x0400
|
|
#define DIST_ALL 0x0FFF
|
|
|
|
/* Canned distribution sets */
|
|
#define _DIST_DEVELOPER \
|
|
(DIST_BIN | DIST_MANPAGES | DIST_DICT | DIST_PROFLIBS | DIST_SRC)
|
|
|
|
#define _DIST_XDEVELOPER \
|
|
(_DIST_DEVELOPER | DIST_XF86)
|
|
|
|
#define _DIST_USER \
|
|
(DIST_BIN | DIST_MANPAGES | DIST_DICT | DIST_COMPAT1X)
|
|
|
|
#define _DIST_XUSER \
|
|
(_DIST_USER | DIST_XF86)
|
|
|
|
|
|
/* Subtypes for SRC distribution */
|
|
#define DIST_SRC_BASE 0x0001
|
|
#define DIST_SRC_GNU 0x0002
|
|
#define DIST_SRC_ETC 0x0004
|
|
#define DIST_SRC_GAMES 0x0008
|
|
#define DIST_SRC_INCLUDE 0x0010
|
|
#define DIST_SRC_LIB 0x0020
|
|
#define DIST_SRC_LIBEXEC 0x0040
|
|
#define DIST_SRC_LKM 0x0080
|
|
#define DIST_SRC_RELEASE 0x0100
|
|
#define DIST_SRC_SBIN 0x0200
|
|
#define DIST_SRC_SHARE 0x0400
|
|
#define DIST_SRC_SYS 0x0800
|
|
#define DIST_SRC_UBIN 0x1000
|
|
#define DIST_SRC_USBIN 0x2000
|
|
#define DIST_SRC_XF86 0x4000
|
|
#define DIST_SRC_ALL 0xFFFF
|
|
|
|
/* Subtypes for XFree86 distribution */
|
|
#define DIST_XF86_BIN 0x0001
|
|
#define DIST_XF86_LIB 0x0004
|
|
#define DIST_XF86_DOC 0x0008
|
|
#define DIST_XF86_MAN 0x0010
|
|
#define DIST_XF86_PROG 0x0020
|
|
#define DIST_XF86_LINK 0x0040
|
|
#define DIST_XF86_PEX 0x0080
|
|
#define DIST_XF86_LBX 0x0100
|
|
#define DIST_XF86_SERVER 0x0200
|
|
#define DIST_XF86_SERVER_8514 0x0001
|
|
#define DIST_XF86_SERVER_AGX 0x0002
|
|
#define DIST_XF86_SERVER_MACH32 0x0004
|
|
#define DIST_XF86_SERVER_MACH8 0x0008
|
|
#define DIST_XF86_SERVER_MONO 0x0010
|
|
#define DIST_XF86_SERVER_P9000 0x0020
|
|
#define DIST_XF86_SERVER_S3 0x0040
|
|
#define DIST_XF86_SERVER_SVGA 0x0080
|
|
#define DIST_XF86_SERVER_VGA16 0x0100
|
|
#define DIST_XF86_SERVER_W32 0x0200
|
|
#define DIST_XF86_SERVER_NEST 0x0400
|
|
#define DIST_XF86_XINIT 0x0400
|
|
#define DIST_XF86_XDMCF 0x0800
|
|
#define DIST_XF86_FONTS 0x1000
|
|
#define DIST_XF86_FONTS_MISC 0x0001
|
|
#define DIST_XF86_FONTS_100 0x0002
|
|
#define DIST_XF86_FONTS_SCALE 0x0004
|
|
#define DIST_XF86_FONTS_NON 0x0008
|
|
#define DIST_XF86_FONTS_SERVER 0x0010
|
|
#define DIST_XF86_ALL 0xFFFF
|
|
|
|
#endif
|
|
/* _DIST_H_INCLUDE */
|