head	1.2;
access;
symbols
	netbsd-7-2-RELEASE:1.1.1.1
	netbsd-7-1-2-RELEASE:1.1.1.1
	netbsd-7-1-1-RELEASE:1.1.1.1
	netbsd-7-1:1.1.1.1.0.30
	netbsd-7-1-RELEASE:1.1.1.1
	netbsd-7-1-RC2:1.1.1.1
	netbsd-7-1-RC1:1.1.1.1
	netbsd-7-0-2-RELEASE:1.1.1.1
	netbsd-7-0-1-RELEASE:1.1.1.1
	netbsd-7-0:1.1.1.1.0.28
	netbsd-7-0-RELEASE:1.1.1.1
	netbsd-7-0-RC3:1.1.1.1
	netbsd-7-0-RC2:1.1.1.1
	netbsd-7-0-RC1:1.1.1.1
	netbsd-5-2-3-RELEASE:1.1.1.1
	netbsd-5-1-5-RELEASE:1.1.1.1
	netbsd-6-0-6-RELEASE:1.1.1.1
	netbsd-6-1-5-RELEASE:1.1.1.1
	netbsd-7:1.1.1.1.0.26
	netbsd-7-base:1.1.1.1
	netbsd-6-1-4-RELEASE:1.1.1.1
	netbsd-6-0-5-RELEASE:1.1.1.1
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.1
	riastradh-drm2:1.1.1.1.0.24
	riastradh-drm2-base:1.1.1.1
	netbsd-6-1-3-RELEASE:1.1.1.1
	netbsd-6-0-4-RELEASE:1.1.1.1
	netbsd-5-2-2-RELEASE:1.1.1.1
	netbsd-5-1-4-RELEASE:1.1.1.1
	netbsd-6-1-2-RELEASE:1.1.1.1
	netbsd-6-0-3-RELEASE:1.1.1.1
	netbsd-5-2-1-RELEASE:1.1.1.1
	netbsd-5-1-3-RELEASE:1.1.1.1
	netbsd-6-1-1-RELEASE:1.1.1.1
	netbsd-6-1:1.1.1.1.0.22
	netbsd-6-0-2-RELEASE:1.1.1.1
	netbsd-6-1-RELEASE:1.1.1.1
	netbsd-6-1-RC4:1.1.1.1
	netbsd-6-1-RC3:1.1.1.1
	netbsd-6-1-RC2:1.1.1.1
	netbsd-6-1-RC1:1.1.1.1
	netbsd-5-2:1.1.1.1.0.20
	netbsd-6-0-1-RELEASE:1.1.1.1
	netbsd-5-2-RELEASE:1.1.1.1
	netbsd-5-2-RC1:1.1.1.1
	netbsd-6-0:1.1.1.1.0.18
	netbsd-6-0-RELEASE:1.1.1.1
	netbsd-6-0-RC2:1.1.1.1
	netbsd-6-0-RC1:1.1.1.1
	netbsd-6:1.1.1.1.0.16
	netbsd-6-base:1.1.1.1
	netbsd-5-1-2-RELEASE:1.1.1.1
	netbsd-5-1-1-RELEASE:1.1.1.1
	netbsd-5-1:1.1.1.1.0.14
	netbsd-5-1-RELEASE:1.1.1.1
	netbsd-5-1-RC4:1.1.1.1
	netbsd-5-1-RC3:1.1.1.1
	netbsd-5-1-RC2:1.1.1.1
	netbsd-5-1-RC1:1.1.1.1
	netbsd-5-0-2-RELEASE:1.1.1.1
	netbsd-5-0-1-RELEASE:1.1.1.1
	netbsd-5-0:1.1.1.1.0.12
	netbsd-5-0-RELEASE:1.1.1.1
	netbsd-5-0-RC4:1.1.1.1
	netbsd-5-0-RC3:1.1.1.1
	netbsd-5-0-RC2:1.1.1.1
	netbsd-5-0-RC1:1.1.1.1
	netbsd-5:1.1.1.1.0.10
	netbsd-5-base:1.1.1.1
	netbsd-4-0-1-RELEASE:1.1.1.1
	netbsd-4-0:1.1.1.1.0.8
	netbsd-4-0-RELEASE:1.1.1.1
	netbsd-4-0-RC5:1.1.1.1
	netbsd-4-0-RC4:1.1.1.1
	netbsd-4-0-RC3:1.1.1.1
	netbsd-4-0-RC2:1.1.1.1
	netbsd-4-0-RC1:1.1.1.1
	netbsd-3-1-1-RELEASE:1.1.1.1.2.2
	netbsd-3-0-3-RELEASE:1.1.1.1.2.2
	abandoned-netbsd-4-base:1.1.1.1
	abandoned-netbsd-4:1.1.1.1.0.4
	netbsd-3-1:1.1.1.1.2.2.0.4
	netbsd-3-1-RELEASE:1.1.1.1.2.2
	netbsd-3-0-2-RELEASE:1.1.1.1.2.2
	netbsd-3-1-RC4:1.1.1.1.2.2
	netbsd-3-1-RC3:1.1.1.1.2.2
	netbsd-3-1-RC2:1.1.1.1.2.2
	netbsd-3-1-RC1:1.1.1.1.2.2
	netbsd-4:1.1.1.1.0.6
	netbsd-4-base:1.1.1.1
	netbsd-3-0-1-RELEASE:1.1.1.1.2.2
	netbsd-3-0:1.1.1.1.2.2.0.2
	netbsd-3-0-RELEASE:1.1.1.1.2.2
	netbsd-3-0-RC6:1.1.1.1.2.2
	netbsd-3-0-RC5:1.1.1.1.2.2
	netbsd-3-0-RC4:1.1.1.1.2.2
	netbsd-3-0-RC3:1.1.1.1.2.2
	netbsd-3-0-RC2:1.1.1.1.2.2
	netbsd-3-0-RC1:1.1.1.1.2.2
	netbsd-3:1.1.1.1.0.2
	v4-5-0:1.1.1.1
	XF86:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2015.07.23.08.13.54;	author mrg;	state dead;
branches;
next	1.1;
commitid	3Fk7MoycOv7VSnuy;

1.1
date	2005.03.18.13.12.39;	author tron;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2005.03.18.13.12.39;	author tron;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	2005.03.18.13.12.39;	author tron;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2005.04.06.20.00.54;	author tron;	state Exp;
branches;
next	;


desc
@@


1.2
log
@remove obsolete XFree86 sources.
@
text
@XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/os-support/shared/drm/Imakefile.inc,v 1.7 2005/03/01 03:48:56 dawes Exp $
/*
 * Copyright (c) 1994-2005 by The XFree86 Project, Inc.
 * All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject
 * to the following conditions:
 *
 *   1.  Redistributions of source code must retain the above copyright
 *       notice, this list of conditions, and the following disclaimer.
 *
 *   2.  Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer
 *       in the documentation and/or other materials provided with the
 *       distribution, and in the same place and form as other copyright,
 *       license and disclaimer information.
 *
 *   3.  The end-user documentation included with the redistribution,
 *       if any, must include the following acknowledgment: "This product
 *       includes software developed by The XFree86 Project, Inc
 *       (http://www.xfree86.org/) and its contributors", in the same
 *       place and form as other third-party acknowledgments.  Alternately,
 *       this acknowledgment may appear in the software itself, in the
 *       same form and location as other such third-party acknowledgments.
 *
 *   4.  Except as contained in this notice, the name of The XFree86
 *       Project, Inc shall not be used in advertising or otherwise to
 *       promote the sale, use or other dealings in this Software without
 *       prior written authorization from The XFree86 Project, Inc.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL THE XFREE86 PROJECT, INC OR ITS CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#if !MakeHasPosixVariableSubstitutions
#error Check if your platform's 'make' has posix variable substitution
#endif

#ifndef DRMCopySubdir
#define DRMCopySubdir kernel_source
#endif

DRM_COPY_DIR = DRMCopySubdir

HostProgramTargetName(revpath):
	@@echo "checking $@@ over in $(TOP)/config/util first..."; \
	cd $(TOP)/config/util && $(MAKE) HostProgramTargetName(revpath); \
	echo "okay, continuing in $(CURRENT_DIR)"

#ifndef LinkSourceFileListToSubdir
#define LinkSourceFileListToSubdir(step,list,srcdir,subdir)		@@@@\
step:: HostProgramTargetName(revpath)					@@@@\
	MakeDir(subdir)							@@@@\
	@@MakeFlagsToShellFlags(i,set +e); \				@@@@\
	UP="`$(REVPATH) subdir`"; export UP; \				@@@@\
	for i in list; do ( set -x; $(RM) subdir/$$i; \			@@@@\
			   $(LN) $${UP}srcdir/$$i subdir/$$i); done
#endif

clean::
	$(RM) -r $(DRM_COPY_DIR)

/* Need to add SRC_*_BSD definitions */

SRCS_DRM_SHARED = \
	drm.h \
	drm_sarea.h

SRCS_DRM_LINUX = \
	drmP.h \
	drm_agpsupport.h \
	drm_auth.h \
	drm_bufs.h \
	drm_context.h \
	drm_dma.h \
	drm_drawable.h \
	drm_drv.h \
	drm_fops.h \
	drm_init.h \
	drm_ioctl.h \
	drm_irq.h \
	drm_lock.h \
	drm_memory.h \
	drm_memory_debug.h \
	drm_os_linux.h \
	drm_proc.h \
	drm_scatter.h \
	drm_stub.h \
	drm_vm.h

SRCS_DRM_BSD = \
	drmP.h \
	drm_agpsupport.h \
	drm_auth.h \
	drm_bufs.h \
	drm_context.h \
	drm_dma.h \
	drm_drawable.h \
	drm_drv.h \
	drm_fops.h \
	drm_ioctl.h \
	drm_irq.h \
	drm_lock.h \
	drm_memory.h \
	drm_memory_debug.h \
	drm_os_freebsd.h \
	drm_os_netbsd.h \
	drm_pci.h \
	drm_scatter.h \
	drm_sysctl.h \
	drm_vm.h

SRCS_GAMMA_LINUX = \
	gamma.h \
	gamma_context.h \
	gamma_drm.h \
	gamma_drv.h \
	gamma_lists.h \
	gamma_lock.h \
	gamma_old_dma.h \
	gamma_dma.c \
	gamma_drv.c

SRCS_I810_LINUX = \
	i810.h \
	i810_drm.h \
	i810_drv.h \
	i810_dma.c \
	i810_drv.c

SRCS_I830_LINUX = \
	i830.h \
	i830_drm.h \
	i830_drv.h \
	i830_dma.c \
	i830_drv.c \
	i830_irq.c

SRCS_R128_SHARED = \
	r128.h \
	r128_drm.h \
	r128_drv.h \
	r128_cce.c \
	r128_irq.c \
	r128_state.c

SRCS_R128_LINUX = \
	r128_drv.c

SRCS_R128_BSD = \
	r128_drv.c

SRCS_RADEON_SHARED = \
	radeon.h \
	radeon_drm.h \
	radeon_drv.h \
	radeon_cp.c \
	radeon_irq.c \
	radeon_mem.c \
	radeon_state.c \

SRCS_RADEON_LINUX = \
	ati_pcigart.h \
	radeon_drv.c

SRCS_RADEON_BSD = \
	ati_pcigart.h \
	radeon_drv.c

SRCS_SIS_SHARED = \
	sis.h \
	sis_drm.h \
	sis_drv.h \
	sis_ds.h \
	sis_ds.c \
	sis_mm.c

SRCS_SIS_LINUX = \
	sis_drv.c

SRCS_SIS_BSD = \
	sis_drv.c

SRCS_MGA_SHARED = \
	mga.h \
	mga_drm.h \
	mga_drv.h \
	mga_ucode.h \
	mga_dma.c \
	mga_irq.c \
	mga_state.c \
	mga_warp.c

SRCS_MGA_LINUX = \
	mga_drv.c

SRCS_MGA_BSD = \
	mga_drv.c

SRCS_TDFX_SHARED = \
	tdfx.h

SRCS_TDFX_LINUX = \
	tdfx_drv.c

SRCS_TDFX_BSD = \
	tdfx_drv.c

SRCS_BUILD_LINUX = \
	Config.in \
	Kconfig \
	Makefile \
	Makefile.kernel

SRCS_BUILD_BSD = \
	Makefile

DRMLINUXINSTSRCDIR = $(INSTSRCDIR)/drm/linux/kernel
DRMBSDINSTSRCDIR = $(INSTSRCDIR)/drm/bsd/kernel

SRCS_SHARED = $(SRCS_DRM_SHARED) $(SRCS_GAMMA_SHARED) $(SRCS_I810_SHARED) \
	$(SRCS_I830_SHARED) $(SRCS_R128_SHARED) \
	$(SRCS_RADEON_SHARED) $(SRCS_SIS_SHARED) \
	$(SRCS_MGA_SHARED) $(SRCS_TDFX_SHARED)

SRCS_LINUX = $(SRCS_DRM_LINUX) $(SRCS_GAMMA_LINUX) $(SRCS_I810_LINUX) \
	$(SRCS_I830_LINUX) $(SRCS_R128_LINUX) \
	$(SRCS_RADEON_LINUX) $(SRCS_SIS_LINUX) \
	$(SRCS_MGA_LINUX) $(SRCS_TDFX_LINUX) \
	$(SRCS_BUILD_LINUX)

SRCS_BSD = $(SRCS_DRM_BSD) $(SRCS_GAMMA_BSD) $(SRCS_I810_BSD) \
	$(SRCS_I830_BSD) $(SRCS_R128_BSD) \
	$(SRCS_RADEON_BSD) $(SRCS_SIS_BSD) \
	$(SRCS_MGA_BSD) $(SRCS_TDFX_BSD) \
	$(SRCS_BUILD_BSD)


BSD_SUBDIRS = mga r128 radeon sis tdfx
SRCS_BSD_SUBS = $(BSD_SUBDIRS:%=%/Makefile)

INSTALL_SHARED = $(SRCS_SHARED:%=DRMCopySubdir/%)
INSTALL_LINUX = $(SRCS_LINUX:%=DRMCopySubdir/%)
INSTALL_BSD = $(SRCS_BSD:%=DRMCopySubdir/%)
INSTALL_BSD_SUBS = $(SRCS_BSD_SUBS:%=DRMCopySubdir/%)

DRMSHAREDDIR = $(XF86OSSRC)/shared/drm/kernel
DRMLINUXDIR = $(XF86OSSRC)/linux/drm/kernel
DRMBSDDIR = $(XF86OSSRC)/bsd/drm/kernel

@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Import of XFree86 4.5.0.
@
text
@@


1.1.1.1.2.1
log
@file Imakefile.inc was added on branch netbsd-3 on 2005-04-06 20:00:54 +0000
@
text
@d1 264
@


1.1.1.1.2.2
log
@Apply patch (requested by jmc in ticket #114):
Update XFree86 to version 4.5.0.
@
text
@a0 264
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/os-support/shared/drm/Imakefile.inc,v 1.7 2005/03/01 03:48:56 dawes Exp $
/*
 * Copyright (c) 1994-2005 by The XFree86 Project, Inc.
 * All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject
 * to the following conditions:
 *
 *   1.  Redistributions of source code must retain the above copyright
 *       notice, this list of conditions, and the following disclaimer.
 *
 *   2.  Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer
 *       in the documentation and/or other materials provided with the
 *       distribution, and in the same place and form as other copyright,
 *       license and disclaimer information.
 *
 *   3.  The end-user documentation included with the redistribution,
 *       if any, must include the following acknowledgment: "This product
 *       includes software developed by The XFree86 Project, Inc
 *       (http://www.xfree86.org/) and its contributors", in the same
 *       place and form as other third-party acknowledgments.  Alternately,
 *       this acknowledgment may appear in the software itself, in the
 *       same form and location as other such third-party acknowledgments.
 *
 *   4.  Except as contained in this notice, the name of The XFree86
 *       Project, Inc shall not be used in advertising or otherwise to
 *       promote the sale, use or other dealings in this Software without
 *       prior written authorization from The XFree86 Project, Inc.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL THE XFREE86 PROJECT, INC OR ITS CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#if !MakeHasPosixVariableSubstitutions
#error Check if your platform's 'make' has posix variable substitution
#endif

#ifndef DRMCopySubdir
#define DRMCopySubdir kernel_source
#endif

DRM_COPY_DIR = DRMCopySubdir

HostProgramTargetName(revpath):
	@@echo "checking $@@ over in $(TOP)/config/util first..."; \
	cd $(TOP)/config/util && $(MAKE) HostProgramTargetName(revpath); \
	echo "okay, continuing in $(CURRENT_DIR)"

#ifndef LinkSourceFileListToSubdir
#define LinkSourceFileListToSubdir(step,list,srcdir,subdir)		@@@@\
step:: HostProgramTargetName(revpath)					@@@@\
	MakeDir(subdir)							@@@@\
	@@MakeFlagsToShellFlags(i,set +e); \				@@@@\
	UP="`$(REVPATH) subdir`"; export UP; \				@@@@\
	for i in list; do ( set -x; $(RM) subdir/$$i; \			@@@@\
			   $(LN) $${UP}srcdir/$$i subdir/$$i); done
#endif

clean::
	$(RM) -r $(DRM_COPY_DIR)

/* Need to add SRC_*_BSD definitions */

SRCS_DRM_SHARED = \
	drm.h \
	drm_sarea.h

SRCS_DRM_LINUX = \
	drmP.h \
	drm_agpsupport.h \
	drm_auth.h \
	drm_bufs.h \
	drm_context.h \
	drm_dma.h \
	drm_drawable.h \
	drm_drv.h \
	drm_fops.h \
	drm_init.h \
	drm_ioctl.h \
	drm_irq.h \
	drm_lock.h \
	drm_memory.h \
	drm_memory_debug.h \
	drm_os_linux.h \
	drm_proc.h \
	drm_scatter.h \
	drm_stub.h \
	drm_vm.h

SRCS_DRM_BSD = \
	drmP.h \
	drm_agpsupport.h \
	drm_auth.h \
	drm_bufs.h \
	drm_context.h \
	drm_dma.h \
	drm_drawable.h \
	drm_drv.h \
	drm_fops.h \
	drm_ioctl.h \
	drm_irq.h \
	drm_lock.h \
	drm_memory.h \
	drm_memory_debug.h \
	drm_os_freebsd.h \
	drm_os_netbsd.h \
	drm_pci.h \
	drm_scatter.h \
	drm_sysctl.h \
	drm_vm.h

SRCS_GAMMA_LINUX = \
	gamma.h \
	gamma_context.h \
	gamma_drm.h \
	gamma_drv.h \
	gamma_lists.h \
	gamma_lock.h \
	gamma_old_dma.h \
	gamma_dma.c \
	gamma_drv.c

SRCS_I810_LINUX = \
	i810.h \
	i810_drm.h \
	i810_drv.h \
	i810_dma.c \
	i810_drv.c

SRCS_I830_LINUX = \
	i830.h \
	i830_drm.h \
	i830_drv.h \
	i830_dma.c \
	i830_drv.c \
	i830_irq.c

SRCS_R128_SHARED = \
	r128.h \
	r128_drm.h \
	r128_drv.h \
	r128_cce.c \
	r128_irq.c \
	r128_state.c

SRCS_R128_LINUX = \
	r128_drv.c

SRCS_R128_BSD = \
	r128_drv.c

SRCS_RADEON_SHARED = \
	radeon.h \
	radeon_drm.h \
	radeon_drv.h \
	radeon_cp.c \
	radeon_irq.c \
	radeon_mem.c \
	radeon_state.c \

SRCS_RADEON_LINUX = \
	ati_pcigart.h \
	radeon_drv.c

SRCS_RADEON_BSD = \
	ati_pcigart.h \
	radeon_drv.c

SRCS_SIS_SHARED = \
	sis.h \
	sis_drm.h \
	sis_drv.h \
	sis_ds.h \
	sis_ds.c \
	sis_mm.c

SRCS_SIS_LINUX = \
	sis_drv.c

SRCS_SIS_BSD = \
	sis_drv.c

SRCS_MGA_SHARED = \
	mga.h \
	mga_drm.h \
	mga_drv.h \
	mga_ucode.h \
	mga_dma.c \
	mga_irq.c \
	mga_state.c \
	mga_warp.c

SRCS_MGA_LINUX = \
	mga_drv.c

SRCS_MGA_BSD = \
	mga_drv.c

SRCS_TDFX_SHARED = \
	tdfx.h

SRCS_TDFX_LINUX = \
	tdfx_drv.c

SRCS_TDFX_BSD = \
	tdfx_drv.c

SRCS_BUILD_LINUX = \
	Config.in \
	Kconfig \
	Makefile \
	Makefile.kernel

SRCS_BUILD_BSD = \
	Makefile

DRMLINUXINSTSRCDIR = $(INSTSRCDIR)/drm/linux/kernel
DRMBSDINSTSRCDIR = $(INSTSRCDIR)/drm/bsd/kernel

SRCS_SHARED = $(SRCS_DRM_SHARED) $(SRCS_GAMMA_SHARED) $(SRCS_I810_SHARED) \
	$(SRCS_I830_SHARED) $(SRCS_R128_SHARED) \
	$(SRCS_RADEON_SHARED) $(SRCS_SIS_SHARED) \
	$(SRCS_MGA_SHARED) $(SRCS_TDFX_SHARED)

SRCS_LINUX = $(SRCS_DRM_LINUX) $(SRCS_GAMMA_LINUX) $(SRCS_I810_LINUX) \
	$(SRCS_I830_LINUX) $(SRCS_R128_LINUX) \
	$(SRCS_RADEON_LINUX) $(SRCS_SIS_LINUX) \
	$(SRCS_MGA_LINUX) $(SRCS_TDFX_LINUX) \
	$(SRCS_BUILD_LINUX)

SRCS_BSD = $(SRCS_DRM_BSD) $(SRCS_GAMMA_BSD) $(SRCS_I810_BSD) \
	$(SRCS_I830_BSD) $(SRCS_R128_BSD) \
	$(SRCS_RADEON_BSD) $(SRCS_SIS_BSD) \
	$(SRCS_MGA_BSD) $(SRCS_TDFX_BSD) \
	$(SRCS_BUILD_BSD)


BSD_SUBDIRS = mga r128 radeon sis tdfx
SRCS_BSD_SUBS = $(BSD_SUBDIRS:%=%/Makefile)

INSTALL_SHARED = $(SRCS_SHARED:%=DRMCopySubdir/%)
INSTALL_LINUX = $(SRCS_LINUX:%=DRMCopySubdir/%)
INSTALL_BSD = $(SRCS_BSD:%=DRMCopySubdir/%)
INSTALL_BSD_SUBS = $(SRCS_BSD_SUBS:%=DRMCopySubdir/%)

DRMSHAREDDIR = $(XF86OSSRC)/shared/drm/kernel
DRMLINUXDIR = $(XF86OSSRC)/linux/drm/kernel
DRMBSDDIR = $(XF86OSSRC)/bsd/drm/kernel

@
