dxx-rebirth/arch/sdl/Makefile.am

32 lines
586 B
Makefile
Executable file

EXTRA_SUBDIRS = include
noinst_LIBRARIES = libarch_sdl.a
INCLUDES = -I$(top_srcdir)/arch/include -I$(top_srcdir)/include -I$(top_srcdir)/main
if !USE_LINUX_JOY
JOYSTICK_SRCS = joy.c joydefs.c
endif
if !USE_SVGALIB
if !USE_GGI
INPUT_SRCS = event.c key.c mouse.c
endif
endif
if !USE_OPENGL
VIDEO_SRCS = gr.c
endif
if USE_SDLMIXER
SOUND_SRCS = mixdigi.c mixmusic.c
else
SOUND_SRCS = digi.c
endif
libarch_sdl_a_SOURCES = ${JOYSTICK_SRCS} ${VIDEO_SRCS} ${INPUT_SRCS} ${SOUND_SRCS} \
init.c rbaudio.c timer.c
EXTRA_libarch_sdl_a_SOURCES = \
event.c gr.c joy.c joydefs.c key.c mouse.c