Removed automake stuff from "inert" subdirs. And there was much rejoicing.
[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 if ENV_DJGPP
6 libvideo_a_SOURCES = dos_gr.c
7 else
8 if USE_OPENGL
9 libvideo_a_SOURCES = ogl_gr.c ogl.c ogl_sdl.c
10 else
11 if USE_GGI
12 libvideo_a_SOURCES = ggi_gr.c
13 else
14 if USE_SVGALIB
15 libvideo_a_SOURCES = svgalib_gr.c
16 else
17 libvideo_a_SOURCES = sdl_gr.c
18 endif
19 endif
20 endif
21 endif
22
23 EXTRA_libvideo_a_SOURCES = \
24 dos_gr.c ogl_gr.c ogl.c ogl_sdl.c ggi_gr.c svgalib_gr.c sdl_gr.c
25
26 # Not currently used
27 EXTRA_DIST = \
28 ogl_wgl.c ogl_glx.c