First import
[xorg_rtime.git] / xorg-server-1.4 / hw / xgl / Makefile.am
blob965060cd7bbc2702e7f09e7a486e43ee19e2740b
1 if GLX
2 GLX_SUBDIRS = glxext
3 endif
5 if XGLX
6 XGLX_SUBDIRS = glx
7 endif
9 if XEGL
10 XEGL_SUBDIRS = egl
11 endif
13 DIST_SUBDIRS = glxext glx egl
15 SUBDIRS =               \
16         .               \
17         $(GLX_SUBDIRS)  \
18         $(XGLX_SUBDIRS) \
19         $(XEGL_SUBDIRS)
21 AM_CFLAGS = \
22          $(DIX_CFLAGS) \
23         -DHAVE_XGL_CONFIG_H \
24         -DHAVE_DIX_CONFIG_H \
25         -I$(top_srcdir)/GL/glx                  \
26         -I$(top_srcdir)/GL/include              \
27         -I@MESA_SOURCE@/include \
28         -I@MESA_SOURCE@/src/mesa/glapi \
29         $(XGLMODULES_CFLAGS)
31 noinst_LIBRARIES = libxgl.a
33 libxgl_a_SOURCES =     \
34         xgl.h          \
35         xglmodule.h    \
36         xglglx.h       \
37         xglinput.c     \
38         xgloutput.c    \
39         xglcmap.c      \
40         xglparse.c     \
41         xglscreen.c    \
42         xglarea.c      \
43         xglgeometry.c  \
44         xglpixmap.c    \
45         xglsync.c      \
46         xglsolid.c     \
47         xgltile.c      \
48         xglcopy.c      \
49         xglfill.c      \
50         xglwindow.c    \
51         xglbstore.c    \
52         xglget.c       \
53         xglgc.c        \
54         xglshm.c       \
55         xglcompose.c   \
56         xglpict.c      \
57         xglglyph.c     \
58         xgltrap.c      \
59         xglloader.c     \
60         xglhash.c      \
61         xglglx.c       \
62         xglxv.c
64 EXTRA_DIST = \
65         xglmodule.h
67 Xgl_LDFLAGS = -export-dynamic
68 Xgl_SOURCES = \
69         xglinit.c \
70         $(top_srcdir)/mi/miinitext.c \
71         $(top_srcdir)/Xext/dpmsstubs.c \
72         $(top_srcdir)/Xi/stubs.c \
73         $(top_srcdir)/fb/fbcmap.c
74 Xgl_LDADD = \
75         libxgl.a \
76         $(XORG_CORE_LIBS) \
77         $(XGL_LIBS) \
78         $(XSERVER_LIBS) \
79         $(EXTENSION_LIBS) -lglitz -ldl
80 Xgl_programs = Xgl
82 bin_PROGRAMS = $(Xgl_programs)