summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/GL/mesa/src/X/Imakefile
blob: b6ac8b5d9e52f7b7b024cbba56eb4be20d5b0700 (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
36
37
38
39
40
41
42
43
44
XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/X/Imakefile,v 1.5 1999/12/14 01:33:40 robin Exp $
XCOMM $PI: xc/programs/Xserver/GL/mesa/src/X/Imakefile,v 1.6 1999/03/15 21:36:10 martin Exp $

#define IHaveModules
#include <Server.tmpl>

LinkSourceFile(xmesa1.c,../../../../../../extras/Mesa/src/X)
LinkSourceFile(xmesa2.c,../../../../../../extras/Mesa/src/X)
LinkSourceFile(xmesa3.c,../../../../../../extras/Mesa/src/X)
LinkSourceFile(xmesa4.c,../../../../../../extras/Mesa/src/X)
LinkSourceFile(xmesaP.h,../../../../../../extras/Mesa/src/X)

LinkSourceFile(compsize.c,../../../../../../lib/GL/glx)
LinkSourceFile(size.h,../../../../../../lib/GL/glx)

  DRIVER_SRCS = xmesa1.c xmesa2.c xmesa3.c xmesa4.c
  DRIVER_OBJS = xmesa1.o xmesa2.o xmesa3.o xmesa4.o

     GLX_SRCS = xf86glx.c xf86glx_util.c compsize.c
     GLX_OBJS = xf86glx.o xf86glx_util.o compsize.o

         SRCS = $(DRIVER_SRCS) $(GLX_SRCS)
         OBJS = $(DRIVER_OBJS) $(GLX_OBJS)

     INCLUDES = -I. -I.. -I../../include \
                -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
                -I../../../include -I../../../glx \
                -I$(LIBSRC)/GL/include \
                -I$(XF86SRC) -I$(XTOP)/include

      DEFINES = $(GLX_DEFINES) /*-DUSE_X86_ASM*/

#if DoLoadableServer
ModuleObjectRule()
SubdirLibraryRule($(OBJS))
#else
NormalLibraryTarget(GLcoreX,$(OBJS))
NormalLibraryObjectRule()
#endif

LintLibraryTarget(dri,$(SRCS))
NormalLintTarget($(SRCS))

DependTarget()