2001-11-12 16:23:41 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2001-06-29 02:10:52 +00:00
|
|
|
INCLUDES= -I$(top_srcdir)/include $(GGI_CFLAGS) $(MGL_CFLAGS) $(SDL_CFLAGS) $(SVGA_CFLAGS) $(X_CFLAGS) $(GLIDE_CFLAGS)
|
2001-04-11 16:47:08 +00:00
|
|
|
|
2001-10-15 23:09:03 +00:00
|
|
|
if ASM_ARCH
|
|
|
|
asm= libasm.la
|
|
|
|
else
|
|
|
|
asm=
|
|
|
|
endif
|
|
|
|
|
2001-10-16 05:06:31 +00:00
|
|
|
lib_LTLIBRARIES= @JOY_TARGETS@
|
|
|
|
|
2001-10-15 23:09:03 +00:00
|
|
|
noinst_LTLIBRARIES= @VID_TARGETS@
|
2001-06-29 02:10:52 +00:00
|
|
|
|
2001-09-28 05:33:58 +00:00
|
|
|
EXTRA_LTLIBRARIES= \
|
2001-11-21 02:36:48 +00:00
|
|
|
libQFjs.la libQFfbdev.la libQFglx.la libQFsvga.la libQFtdfx.la \
|
|
|
|
libQFx11.la libQFsdl.la libQFsdl32.la libQFsgl.la libQFwgl.la libasm.la
|
2001-09-28 05:33:58 +00:00
|
|
|
|
2001-10-15 22:28:05 +00:00
|
|
|
libasm_la_SOURCES= d_copy.S
|
2001-06-14 19:52:38 +00:00
|
|
|
|
2001-10-03 17:50:36 +00:00
|
|
|
joy_linux_src= joy_linux.c
|
|
|
|
joy_win_src= joy_win.c
|
|
|
|
joy_null_src= joy_null.c
|
2001-04-11 07:57:08 +00:00
|
|
|
if JOYTYPE_LINUX
|
2001-10-03 17:50:36 +00:00
|
|
|
joy_src= $(joy_linux_src)
|
2001-09-25 23:04:13 +00:00
|
|
|
else
|
2001-04-11 07:57:08 +00:00
|
|
|
if JOYTYPE_WIN32
|
2001-10-03 17:50:36 +00:00
|
|
|
joy_src= $(joy_win_src)
|
2001-09-25 23:04:13 +00:00
|
|
|
else
|
2001-10-03 17:50:36 +00:00
|
|
|
joy_src= $(joy_null_src)
|
2001-04-11 07:57:08 +00:00
|
|
|
endif
|
2001-09-25 23:04:13 +00:00
|
|
|
endif
|
2001-10-03 17:50:36 +00:00
|
|
|
|
|
|
|
libQFjs_la_LDFLAGS= -version-info 1:0:0 -rpath $(libdir)
|
|
|
|
libQFjs_la_CFLAGS= $(JOY_CFLAGS)
|
|
|
|
libQFjs_la_SOURCES= joy.c $(joy_src)
|
|
|
|
EXTRA_libQFjs_la_SOURCES= $(joy_linux_src) $(joy_win_src) $(joy_null_src)
|
2001-04-11 07:57:08 +00:00
|
|
|
|
2001-08-16 20:42:57 +00:00
|
|
|
in_common_SOURCE= in_common.c in_event.c keys.c old_keys.c
|
2001-08-09 23:16:54 +00:00
|
|
|
|
2001-09-28 05:33:58 +00:00
|
|
|
#
|
2001-04-15 04:18:22 +00:00
|
|
|
# Linux FBdev
|
2001-09-28 05:33:58 +00:00
|
|
|
#
|
2001-10-03 17:50:36 +00:00
|
|
|
fbdev_c= fbset_modes_y.c fbset_modes_l.c
|
|
|
|
fbdev_h= fbset_modes_y.h
|
2001-04-15 06:29:57 +00:00
|
|
|
YFLAGS = -d
|
2001-10-03 17:50:36 +00:00
|
|
|
YACCLEX_CLEANFILES= $(fbdev_c) $(fbdev_h)
|
2001-09-28 05:33:58 +00:00
|
|
|
|
2001-04-15 06:29:57 +00:00
|
|
|
libQFfbdev_la_SOURCES= fbset.c fbset_modes_y.y fbset_modes_l.l \
|
2001-09-28 05:33:58 +00:00
|
|
|
in_fbdev.c vid.c vid_common_sw.c vid_fbdev.c \
|
|
|
|
$(in_common_SOURCE)
|
|
|
|
|
|
|
|
#
|
|
|
|
# OpenGL in X Window
|
|
|
|
#
|
|
|
|
libQFglx_la_SOURCES= in_x11.c vid.c context_x11.c dga_check.c qfgl_ext.c \
|
|
|
|
vid_common_gl.c vid_glx.c \
|
|
|
|
$(in_common_SOURCE)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Simple DirectMedia Library
|
|
|
|
#
|
|
|
|
libQFsdl_la_SOURCES= in_sdl.c vid.c vid_common_sw.c vid_sdl.c \
|
|
|
|
$(in_common_SOURCE)
|
|
|
|
|
|
|
|
libQFsdl32_la_SOURCES= in_sdl.c vid.c vid_common_sw32.c vid_sdl32.c \
|
|
|
|
$(in_common_SOURCE)
|
|
|
|
|
2001-10-15 22:28:05 +00:00
|
|
|
libQFsgl_la_SOURCES= in_sdl.c qfgl_ext.c vid.c vid_common_gl.c vid_sgl.c \
|
|
|
|
$(in_common_SOURCE)
|
2001-09-28 05:33:58 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# SVGAlib
|
|
|
|
#
|
2001-10-15 23:16:42 +00:00
|
|
|
if ASM_ARCH
|
2001-10-15 23:09:03 +00:00
|
|
|
libQFsvga_la_LIBADD= $(asm)
|
|
|
|
libQFsvga_la_DEPENDENCIES=$(asm)
|
2001-10-15 23:16:42 +00:00
|
|
|
endif
|
2001-09-28 05:33:58 +00:00
|
|
|
libQFsvga_la_SOURCES= in_svgalib.c vid.c vid_common_sw.c vid_svgalib.c \
|
|
|
|
$(in_common_SOURCE)
|
|
|
|
|
2001-11-21 02:36:48 +00:00
|
|
|
#
|
|
|
|
# 3dfx
|
|
|
|
#
|
|
|
|
if ASM_ARCH
|
|
|
|
libQFtdfx_la_LIBADD= $(asm)
|
|
|
|
libQFtdfx_la_DEPENDENCIES=$(asm)
|
|
|
|
endif
|
|
|
|
libQFtdfx_la_SOURCES= in_svgalib.c vid.c vid_common_gl.c vid_3dfxsvga.c \
|
|
|
|
qfgl_ext.c $(in_common_SOURCE)
|
|
|
|
|
2001-09-28 05:33:58 +00:00
|
|
|
#
|
|
|
|
# OpenGL in Win32
|
|
|
|
#
|
2001-10-15 22:28:05 +00:00
|
|
|
libQFwgl_la_SOURCES= in_win.c qfgl_ext.c vid.c vid_common_gl.c vid_wgl.c \
|
|
|
|
$(in_common_SOURCE)
|
2001-04-16 16:11:45 +00:00
|
|
|
|
2001-09-28 05:33:58 +00:00
|
|
|
#
|
|
|
|
# X11 software rendering
|
|
|
|
#
|
2001-10-15 22:28:05 +00:00
|
|
|
libQFx11_la_SOURCES= in_x11.c vid.c context_x11.c dga_check.c \
|
|
|
|
vid_common_sw.c vid_x11.c \
|
|
|
|
$(in_common_SOURCE)
|
2001-04-15 05:04:03 +00:00
|
|
|
|
|
|
|
# Kill the temp files, hopefully.
|
|
|
|
CLEANFILES = *.i *.s $(YACCLEX_CLEANFILES)
|
2001-10-03 17:50:36 +00:00
|
|
|
|
2001-10-15 23:09:03 +00:00
|
|
|
EXTRA_DIST= $(fbdev_c) $(fbdev_h)
|