]> icculus.org git repositories - btb/d2x.git/blob - video/Makefile.am
attempt at support for editor, makefile changes, etc
[btb/d2x.git] / video / Makefile.am
1 noinst_LIBRARIES = libvideo.a
2
3 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/includes -I$(top_srcdir)/main -I$(top_srcdir)/arch/include
4
5 CFLAGS += ${SDL_CFLAGS}
6
7 if ENV_DJGPP
8 libvideo_a_SOURCES = dos_gr.c
9 else
10 if USE_OPENGL
11 libvideo_a_SOURCES = ogl_gr.c ogl.c ogl_sdl.c
12 else
13 if USE_GGI
14 libvideo_a_SOURCES = ggi_gr.c
15 else
16 if USE_SVGALIB
17 libvideo_a_SOURCES = svgalib_gr.c
18 else
19 libvideo_a_SOURCES = sdl_gr.c
20 endif
21 endif
22 endif
23 endif
24
25 EXTRA_libvideo_a_SOURCES = \
26 dos_gr.c ogl_gr.c ogl.c ogl_sdl.c ggi_gr.c svgalib_gr.c sdl_gr.c
27
28 # Not currently used
29 EXTRA_DIST = \
30 ogl_wgl.c ogl_glx.c