aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/GL/dri/Imakefile.NX.reference
blob: 59fb0af84104e4c47f4cdfd4385781ab640c742e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
XCOMM $XFree86: xc/programs/Xserver/GL/dri/Imakefile,v 1.7 2003/02/11 21:34:04 tsi Exp $

#define IHaveModules
#include <Server.tmpl>

#if DoLoadableServer
MSRC = drimodule.c
MOBJ = drimodule.o
#endif

         SRCS = xf86dri.c dri.c $(MSRC)
         OBJS = xf86dri.o dri.o $(MOBJ)

     INCLUDES = -I$(SERVERSRC)/include -I$(INCLUDESRC) -I$(XINCLUDESRC) \
		-I$(EXTINCSRC) \
		-I$(XF86OSSRC) -I$(XF86COMSRC) \
		-I../include -I../glx -I$(LIBSRC)/GL/include \
		-I$(SERVERSRC)/mi -I$(FONTINCSRC) \
		-I../../hw/xfree86/os-support/bus
      DEFINES = $(GLX_DEFINES)

LinkSourceFile(xf86dri.h,$(LIBSRC)/GL/dri)
LinkSourceFile(xf86dristr.h,$(LIBSRC)/GL/dri)

ModuleObjectRule()
LibraryModuleTarget(dri,$(OBJS))
InstallLibraryModule(dri,$(MODULEDIR),extensions)

DependTarget()

InstallDriverSDKLibraryModule(dri,$(DRIVERSDKMODULEDIR),extensions)

InstallDriverSDKNonExecFile(dri.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(sarea.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(xf86dri.h,$(DRIVERSDKINCLUDEDIR))