]> icculus.org git repositories - btb/d2x.git/blob - arch/sdl/Makefile.am
Use SDL joystick automatically
[btb/d2x.git] / arch / sdl / Makefile.am
1 EXTRA_SUBDIRS = include
2
3 noinst_LIBRARIES = libarch_sdl.a
4
5 INCLUDES = -I$(top_srcdir)/arch/include -I$(top_srcdir)/include -I$(top_srcdir)/main
6
7 JOYSTICK_SRCS = joy.c joydefs.c
8
9 if !USE_SVGALIB
10 if !USE_GGI
11 INPUT_SRCS = event.c key.c mouse.c
12 endif
13 endif
14
15 if !USE_OPENGL
16 VIDEO_SRCS = gr.c 
17 endif
18
19 libarch_sdl_a_SOURCES = ${JOYSTICK_SRCS} ${VIDEO_SRCS} ${INPUT_SRCS} \
20 cdrom.c digi.c init.c timer.c
21
22 EXTRA_libarch_sdl_a_SOURCES = \
23 event.c gr.c joy.c joydefs.c key.c mouse.c