2001-11-12 16:23:41 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2002-08-01 19:49:10 +00:00
|
|
|
INCLUDES= -I$(top_srcdir)/include
|
2001-04-11 16:47:08 +00:00
|
|
|
|
2001-10-15 23:09:03 +00:00
|
|
|
if ASM_ARCH
|
2003-01-04 03:08:32 +00:00
|
|
|
asm= libvid_asm.la
|
2001-10-15 23:09:03 +00:00
|
|
|
else
|
|
|
|
asm=
|
|
|
|
endif
|
|
|
|
|
2001-10-16 05:06:31 +00:00
|
|
|
lib_LTLIBRARIES= @JOY_TARGETS@
|
|
|
|
|
2002-08-07 18:21:36 +00:00
|
|
|
noinst_LTLIBRARIES= @VID_TARGETS@ @vid_libs@
|
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 \
|
2002-08-21 00:05:27 +00:00
|
|
|
libQFx11.la libQFsdl.la libQFsdl32.la libQFsgl.la libQFwgl.la \
|
2002-12-20 23:40:47 +00:00
|
|
|
libvid_asm.la libvid_common.la libvid_gl.la libvid_sdl.la \
|
|
|
|
libvid_sw.la libvid_sw32.la libvid_svga.la libvid_x11.la
|
2001-09-28 05:33:58 +00:00
|
|
|
|
2002-12-20 23:40:47 +00:00
|
|
|
libvid_asm_la_SOURCES= d_copy.S
|
2003-12-22 19:59:33 +00:00
|
|
|
libvid_asm_la_CFLAGS= @PREFER_NON_PIC@
|
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
|
|
|
|
2002-08-01 19:49:10 +00:00
|
|
|
libQFjs_la_LDFLAGS= -version-info 1:0:0 -rpath $(libdir)
|
|
|
|
libQFjs_la_CFLAGS= @PREFER_PIC@ $(JOY_CFLAGS)
|
|
|
|
libQFjs_la_SOURCES= joy.c $(joy_src)
|
2001-10-03 17:50:36 +00:00
|
|
|
EXTRA_libQFjs_la_SOURCES= $(joy_linux_src) $(joy_win_src) $(joy_null_src)
|
2001-04-11 07:57:08 +00:00
|
|
|
|
2002-12-20 23:40:47 +00:00
|
|
|
libvid_common_la_SOURCES= \
|
2005-01-13 15:10:42 +00:00
|
|
|
in_common.c in_event.c keys.c old_keys.c vid.c
|
2002-12-20 23:40:47 +00:00
|
|
|
libvid_common_la_CFLAGS= @PREFER_NON_PIC@
|
2003-12-22 20:51:08 +00:00
|
|
|
libvid_common_la_LDFLAGS= @STATIC@
|
2002-08-01 19:49:10 +00:00
|
|
|
|
2002-12-20 23:40:47 +00:00
|
|
|
libvid_sw_la_SOURCES= vid_common_sw.c
|
|
|
|
libvid_sw_la_CFLAGS= @PREFER_NON_PIC@
|
2003-12-22 20:51:08 +00:00
|
|
|
libvid_sw_la_LDFLAGS= @STATIC@
|
2002-08-01 19:49:10 +00:00
|
|
|
|
2002-12-20 23:40:47 +00:00
|
|
|
libvid_sw32_la_SOURCES= vid_common_sw32.c
|
|
|
|
libvid_sw32_la_CFLAGS= @PREFER_NON_PIC@
|
2003-12-22 20:51:08 +00:00
|
|
|
libvid_sw32_la_LDFLAGS= @STATIC@
|
2002-08-01 19:49:10 +00:00
|
|
|
|
2003-05-21 21:53:21 +00:00
|
|
|
libvid_gl_la_SOURCES= vid_common_gl.c qfgl_ext.c vtxarray.c
|
2002-12-20 23:40:47 +00:00
|
|
|
libvid_gl_la_CFLAGS= @PREFER_NON_PIC@
|
2003-12-22 20:51:08 +00:00
|
|
|
libvid_gl_la_LDFLAGS= @STATIC@
|
2002-08-01 19:49:10 +00:00
|
|
|
|
2002-12-20 23:40:47 +00:00
|
|
|
libvid_x11_la_SOURCES= in_x11.c context_x11.c dga_check.c
|
|
|
|
libvid_x11_la_CFLAGS= @PREFER_NON_PIC@ $(X_CFLAGS)
|
2003-12-22 20:51:08 +00:00
|
|
|
libvid_x11_la_LDFLAGS= @STATIC@
|
2002-08-01 19:49:10 +00:00
|
|
|
|
2002-12-20 23:40:47 +00:00
|
|
|
libvid_svga_la_SOURCES= in_svgalib.c
|
|
|
|
libvid_svga_la_CFLAGS= @PREFER_NON_PIC@ $(SVGA_CFLAGS)
|
2003-12-22 20:51:08 +00:00
|
|
|
libvid_svga_la_LDFLAGS= @STATIC@
|
2002-08-01 19:49:10 +00:00
|
|
|
|
2002-12-20 23:40:47 +00:00
|
|
|
libvid_sdl_la_SOURCES= in_sdl.c context_sdl.c
|
|
|
|
libvid_sdl_la_CFLAGS= @PREFER_NON_PIC@ $(SDL_CFLAGS)
|
2003-12-22 20:51:08 +00:00
|
|
|
libvid_sdl_la_LDFLAGS= @STATIC@
|
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
|
|
|
|
2002-08-01 19:49:10 +00:00
|
|
|
libQFfbdev_la_CFLAGS= @PREFER_NON_PIC@
|
|
|
|
libQFfbdev_la_SOURCES= fbset.c fbset_modes_y.y fbset_modes_l.l \
|
|
|
|
in_fbdev.c vid_fbdev.c
|
2003-12-22 20:51:08 +00:00
|
|
|
libQFfbdev_la_LDFLAGS= @STATIC@
|
2002-12-20 23:40:47 +00:00
|
|
|
libQFfbdev_la_LIBADD= libvid_common.la libvid_sw.la
|
|
|
|
libQFfbdev_la_DEPENDENCIES= libvid_common.la libvid_sw.la
|
2001-09-28 05:33:58 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# OpenGL in X Window
|
|
|
|
#
|
2002-08-01 19:49:10 +00:00
|
|
|
libQFglx_la_CFLAGS= @PREFER_NON_PIC@ $(X_CFLAGS)
|
|
|
|
libQFglx_la_SOURCES= vid_glx.c
|
2003-12-22 20:51:08 +00:00
|
|
|
libQFglx_la_LDFLAGS= @STATIC@
|
2002-12-20 23:40:47 +00:00
|
|
|
libQFglx_la_LIBADD= libvid_common.la libvid_gl.la libvid_x11.la
|
|
|
|
libQFglx_la_DEPENDENCIES= libvid_common.la libvid_gl.la libvid_x11.la
|
2001-09-28 05:33:58 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Simple DirectMedia Library
|
|
|
|
#
|
2002-08-01 19:49:10 +00:00
|
|
|
libQFsdl_la_CFLAGS= @PREFER_NON_PIC@ $(SDL_CFLAGS)
|
|
|
|
libQFsdl_la_SOURCES= vid_sdl.c
|
2003-12-22 20:51:08 +00:00
|
|
|
libQFsdl_la_LDFLAGS= @STATIC@
|
2002-12-20 23:40:47 +00:00
|
|
|
libQFsdl_la_LIBADD= libvid_common.la libvid_sw.la libvid_sdl.la
|
|
|
|
libQFsdl_la_DEPENDENCIES= libvid_common.la libvid_sw.la libvid_sdl.la
|
2002-08-01 19:49:10 +00:00
|
|
|
|
|
|
|
libQFsdl32_la_CFLAGS= @PREFER_NON_PIC@ $(SDL_CFLAGS)
|
|
|
|
libQFsdl32_la_SOURCES= vid_sdl32.c
|
2003-12-22 20:51:08 +00:00
|
|
|
libQFsdl32_la_LDFLAGS= @STATIC@
|
2002-12-20 23:40:47 +00:00
|
|
|
libQFsdl32_la_LIBADD= libvid_common.la libvid_sw32.la libvid_sdl.la
|
|
|
|
libQFsdl32_la_DEPENDENCIES= libvid_common.la libvid_sw32.la libvid_sdl.la
|
2002-08-01 19:49:10 +00:00
|
|
|
|
|
|
|
libQFsgl_la_CFLAGS= @PREFER_NON_PIC@ $(SDL_CFLAGS)
|
|
|
|
libQFsgl_la_SOURCES= vid_sgl.c
|
2003-12-22 20:51:08 +00:00
|
|
|
libQFsgl_la_LDFLAGS= @STATIC@
|
2002-12-20 23:40:47 +00:00
|
|
|
libQFsgl_la_LIBADD= libvid_common.la libvid_gl.la libvid_sdl.la
|
|
|
|
libQFsgl_la_DEPENDENCIES= libvid_common.la libvid_gl.la libvid_sdl.la
|
2001-09-28 05:33:58 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# SVGAlib
|
|
|
|
#
|
2002-08-01 19:49:10 +00:00
|
|
|
libQFsvga_la_CFLAGS= @PREFER_NON_PIC@ $(SVGA_CFLAGS)
|
|
|
|
libQFsvga_la_SOURCES= vid_svgalib.c
|
2003-12-22 20:51:08 +00:00
|
|
|
libQFsvga_la_LDFLAGS= @STATIC@
|
2002-12-20 23:40:47 +00:00
|
|
|
libQFsvga_la_LIBADD= $(asm) libvid_common.la libvid_sw.la libvid_svga.la
|
|
|
|
libQFsvga_la_DEPENDENCIES= $(asm) libvid_common.la libvid_sw.la libvid_svga.la
|
2001-09-28 05:33:58 +00:00
|
|
|
|
2001-11-21 02:36:48 +00:00
|
|
|
#
|
|
|
|
# 3dfx
|
|
|
|
#
|
2002-08-01 19:49:10 +00:00
|
|
|
libQFtdfx_la_CFLAGS= @PREFER_NON_PIC@ $(SVGA_CFLAGS)
|
|
|
|
libQFtdfx_la_SOURCES= vid_3dfxsvga.c
|
2003-12-22 20:51:08 +00:00
|
|
|
libQFtdfx_la_LDFLAGS= @STATIC@
|
2002-12-20 23:40:47 +00:00
|
|
|
libQFtdfx_la_LIBADD= $(asm) libvid_common.la libvid_gl.la libvid_svga.la
|
|
|
|
libQFtdfx_la_DEPENDENCIES= $(asm) libvid_common.la libvid_gl.la libvid_svga.la
|
2001-11-21 02:36:48 +00:00
|
|
|
|
2001-09-28 05:33:58 +00:00
|
|
|
#
|
|
|
|
# OpenGL in Win32
|
|
|
|
#
|
2002-08-01 19:49:10 +00:00
|
|
|
libQFwgl_la_CFLAGS= @PREFER_NON_PIC@ $(WGL_CFLAGS)
|
|
|
|
libQFwgl_la_SOURCES= in_win.c vid_wgl.c
|
2003-12-22 20:51:08 +00:00
|
|
|
libQFwgl_la_LDFLAGS= @STATIC@
|
2002-12-20 23:40:47 +00:00
|
|
|
libQFwgl_la_LIBADD= libvid_common.la libvid_gl.la
|
|
|
|
libQFwgl_la_DEPENDENCIES= libvid_common.la libvid_gl.la
|
2001-04-16 16:11:45 +00:00
|
|
|
|
2001-09-28 05:33:58 +00:00
|
|
|
#
|
|
|
|
# X11 software rendering
|
|
|
|
#
|
2002-08-01 19:49:10 +00:00
|
|
|
libQFx11_la_CFLAGS= @PREFER_NON_PIC@ $(X_CFLAGS)
|
|
|
|
libQFx11_la_SOURCES= vid_x11.c
|
2003-12-22 20:51:08 +00:00
|
|
|
libQFx11_la_LDFLAGS= @STATIC@
|
2002-12-20 23:40:47 +00:00
|
|
|
libQFx11_la_LIBADD= libvid_common.la libvid_sw.la libvid_x11.la
|
|
|
|
libQFx11_la_DEPENDENCIES= libvid_common.la libvid_sw.la libvid_x11.la
|
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)
|