quakeforge/libs/video/targets/Makefile.am

104 lines
2.3 KiB
Text
Raw Normal View History

AUTOMAKE_OPTIONS= foreign
INCLUDES= -I$(top_srcdir)/include $(GGI_CFLAGS) $(MGL_CFLAGS) $(SDL_CFLAGS) $(SVGA_CFLAGS) $(X_CFLAGS) $(GLIDE_CFLAGS)
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@
EXTRA_LTLIBRARIES= \
libQFjs.la libQFfbdev.la libQFglx.la libQFsvga.la libQFx11.la \
2001-10-15 23:09:03 +00:00
libQFsdl.la libQFsdl32.la libQFsgl.la libQFwgl.la libasm.la
2001-10-15 22:28:05 +00:00
libasm_la_SOURCES= d_copy.S
joy_linux_src= joy_linux.c
joy_win_src= joy_win.c
joy_null_src= joy_null.c
if JOYTYPE_LINUX
joy_src= $(joy_linux_src)
else
if JOYTYPE_WIN32
joy_src= $(joy_win_src)
else
joy_src= $(joy_null_src)
endif
endif
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)
in_common_SOURCE= in_common.c in_event.c keys.c old_keys.c
2001-08-09 23:16:54 +00:00
#
# Linux FBdev
#
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
YACCLEX_CLEANFILES= $(fbdev_c) $(fbdev_h)
2001-04-15 06:29:57 +00:00
libQFfbdev_la_SOURCES= fbset.c fbset_modes_y.y fbset_modes_l.l \
in_fbdev.c vid.c vid_common_sw.c vid_fbdev.c \
$(in_common_SOURCE)
2001-04-15 06:29:57 +00:00
fbset_modes_y.lo: $(srcdir)/fbset_modes_y.c
$(LTCOMPILE) -Wno-error -c $<
2001-04-15 06:29:57 +00:00
fbset_modes_l.lo: $(srcdir)/fbset_modes_l.c
$(LTCOMPILE) -Wno-error -c $<
#
# 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)
#
# 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
libQFsvga_la_SOURCES= in_svgalib.c vid.c vid_common_sw.c vid_svgalib.c \
$(in_common_SOURCE)
#
# 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)
#
# 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)
# Kill the temp files, hopefully.
CLEANFILES = *.i *.s $(YACCLEX_CLEANFILES)
2001-10-15 23:09:03 +00:00
EXTRA_DIST= $(fbdev_c) $(fbdev_h)