a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync/*
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Copyright 2005 Red Hat Inc., Raleigh, North Carolina.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync *
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * All Rights Reserved.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync *
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Permission is hereby granted, free of charge, to any person obtaining
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * a copy of this software and associated documentation files (the
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * "Software"), to deal in the Software without restriction, including
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * without limitation on the rights to use, copy, modify, merge,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * publish, distribute, sublicense, and/or sell copies of the Software,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * and to permit persons to whom the Software is furnished to do so,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * subject to the following conditions:
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync *
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * The above copyright notice and this permission notice (including the
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * next paragraph) shall be included in all copies or substantial
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * portions of the Software.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync *
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * SOFTWARE.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync */
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync/*
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Authors:
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Kevin E. Martin <kem@redhat.com>
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync *
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync */
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync/** \file
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Provide configuration define's and undef's to build Xdmx in X.Org's
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * modular source tree.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync */
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#ifndef DMX_CONFIG_H
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#define DMX_CONFIG_H
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#include <dix-config.h>
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync/*
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Note 1: This is a signed int that is printed as a decimal number.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Since we want to make it human-interpretable, the fields are
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * defined as:
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * 2147483648
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * AAbbyymmdd
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * AA: major version 01-20
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * bb: minor version 00-99
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * yy: year 00-99 [See Note 2]
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * mm: month 01-12
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * dd: day 01-31
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync *
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Note 2: The default epoch for the year is 2000.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * To change the default epoch, change the DMX_VENDOR_RELEASE
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * macro below, bumb the minor version number, and change
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * xdpyinfo to key off the major/minor version to determine the
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * new epoch. Remember to do this on January 1, 2100 and every
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * 100 years thereafter.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync */
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#define DMX_VENDOR_RELEASE(major,minor,year,month,day) \
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync ((major) * 100000000) + \
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync ((minor) * 1000000) + \
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync ((year-2000) * 10000) + \
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync ((month) * 100) + \
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync ((day) * 1)
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#define VENDOR_RELEASE DMX_VENDOR_RELEASE(1,2,2007,4,24)
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#define VENDOR_STRING "DMX Project"
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync/* Enable the DMX extension */
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#define DMXEXT
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#endif /* DMX_CONFIG_H */