2001-04-15 06:29:57 +00:00
|
|
|
INCLUDES= -I$(top_srcdir)/include $(GGI_CFLAGS) $(MGL_CFLAGS) $(SDL_CFLAGS) $(SVGA_CFLAGS) $(X_CFLAGS) $(GLX_CFLAGS) $(TDFXGL_CFLAGS)
|
2001-04-11 16:47:08 +00:00
|
|
|
|
2001-04-15 06:29:57 +00:00
|
|
|
lib_LTLIBRARIES = libQFjs.la @VID_TARGETS@
|
|
|
|
EXTRA_LTLIBRARIES = libQFfbdev.la libQFsvga.la libQFx11.la libQFglx.la libQFsdl.la libQFsgl.la libQFtdfx.la libQFwgl.la libQFmgl.la
|
2001-04-11 07:57:08 +00:00
|
|
|
|
2001-04-15 04:18:22 +00:00
|
|
|
libQFjs_la_LDFLAGS= -version-info 1:0:0
|
2001-04-11 07:57:08 +00:00
|
|
|
|
|
|
|
if JOYTYPE_LINUX
|
2001-04-11 19:56:01 +00:00
|
|
|
libQFjs_la_SOURCES= joy.c joy_linux.c
|
2001-04-11 07:57:08 +00:00
|
|
|
endif
|
|
|
|
if JOYTYPE_WIN32
|
2001-04-11 19:56:01 +00:00
|
|
|
libQFjs_la_SOURCES= joy.c joy_win.c
|
2001-04-11 07:57:08 +00:00
|
|
|
endif
|
|
|
|
if JOYTYPE_NULL
|
2001-04-11 19:56:01 +00:00
|
|
|
libQFjs_la_SOURCES= joy.c joy_null.c
|
2001-04-11 07:57:08 +00:00
|
|
|
endif
|
|
|
|
libQFjs_la_CFLAGS= $(JOY_CFLAGS)
|
|
|
|
|
2001-04-15 04:18:22 +00:00
|
|
|
# Linux FBdev
|
2001-04-15 06:29:57 +00:00
|
|
|
YFLAGS = -d
|
|
|
|
libQFfbdev_la_LDFLAGS= -version-info 1:0:0
|
|
|
|
libQFfbdev_la_SOURCES= fbset.c fbset_modes_y.y fbset_modes_l.l \
|
2001-04-15 08:04:15 +00:00
|
|
|
in_common.c in_fbdev.c vid.c vid_common_sw.c vid_fbdev.c
|
2001-04-15 06:29:57 +00:00
|
|
|
YACCLEX_CLEANFILES= fbset_modes_y.c fbset_modes_y.h \
|
|
|
|
fbset_modes_y.tab.h fbset_modes_l.c
|
2001-04-15 21:11:41 +00:00
|
|
|
#EXTRA_libQFfbdev_la_SOURCES=fbset_modes_y.h
|
2001-04-15 06:04:02 +00:00
|
|
|
|
2001-04-15 06:29:57 +00:00
|
|
|
fbset_modes_y.lo: $(srcdir)/fbset_modes_y.c
|
2001-04-15 21:11:41 +00:00
|
|
|
$(LTCOMPILE) -Wno-error -c $<
|
2001-04-15 06:29:57 +00:00
|
|
|
fbset_modes_l.lo: $(srcdir)/fbset_modes_l.c
|
2001-04-15 21:11:41 +00:00
|
|
|
$(LTCOMPILE) -Wno-error -c $<
|
2001-04-15 06:04:02 +00:00
|
|
|
|
2001-04-15 06:29:57 +00:00
|
|
|
libQFmgl_la_LDFLAGS= -version-info 1:0:0
|
2001-04-15 07:18:04 +00:00
|
|
|
libQFmgl_la_SOURCES= in_common.c in_win.c vid.c vid_common_sw.c vid_mgl.c
|
2001-04-15 06:04:02 +00:00
|
|
|
|
2001-04-15 06:29:57 +00:00
|
|
|
libQFsdl_la_LDFLAGS= -version-info 1:0:0
|
2001-04-15 07:18:04 +00:00
|
|
|
libQFsdl_la_SOURCES= in_common.c in_sdl.c vid.c vid_common_sw.c vid_sdl.c
|
2001-04-15 06:04:02 +00:00
|
|
|
|
2001-04-15 06:29:57 +00:00
|
|
|
libQFsvga_la_LDFLAGS= -version-info 1:0:0
|
2001-04-15 07:18:04 +00:00
|
|
|
libQFsvga_la_SOURCES= d_copy.S in_common.c in_svgalib.c vid.c vid_common_sw.c \
|
2001-04-15 06:29:57 +00:00
|
|
|
vid_svgalib.c
|
2001-04-15 06:04:02 +00:00
|
|
|
|
2001-04-15 21:11:41 +00:00
|
|
|
libQFx11_la_LDFLAGS= -version-info 1:0:0 $(X_PRE_LIBS) $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 $(X_EXTRA_LIBS) $(X_SHM_LIB)
|
2001-04-15 07:18:04 +00:00
|
|
|
libQFx11_la_SOURCES= in_common.c in_x11.c vid.c context_x11.c dga_check.c \
|
2001-04-15 06:29:57 +00:00
|
|
|
vid_common_sw.c vid_x11.c
|
2001-04-15 06:04:02 +00:00
|
|
|
|
2001-04-15 21:11:41 +00:00
|
|
|
libQFglx_la_LDFLAGS= -version-info 1:0:0 $(GLX_LIBS) $(X_PRE_LIBS) $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 $(X_EXTRA_LIBS)
|
2001-04-15 07:18:04 +00:00
|
|
|
libQFglx_la_SOURCES= in_common.c in_x11.c vid.c context_x11.c dga_check.c \
|
2001-04-15 21:11:41 +00:00
|
|
|
qfgl_ext.c vid_common_gl.c vid_glx.c
|
2001-04-15 06:04:02 +00:00
|
|
|
|
2001-04-15 06:29:57 +00:00
|
|
|
libQFsgl_la_LDFLAGS= -version-info 1:0:0
|
2001-04-15 21:11:41 +00:00
|
|
|
libQFsgl_la_SOURCES= in_common.c in_sdl.c qfgl_ext.c vid.c vid_common_gl.c vid_sgl.c
|
2001-04-15 06:04:02 +00:00
|
|
|
|
2001-04-15 06:29:57 +00:00
|
|
|
libQFtdfx_la_LDFLAGS= -version-info 1:0:0
|
2001-04-15 21:11:41 +00:00
|
|
|
libQFtdfx_la_SOURCES= in_common.c in_svgalib.c qfgl_ext.c vid.c vid_common_gl.c vid_3dfxsvga.c
|
2001-04-15 06:04:02 +00:00
|
|
|
|
2001-04-15 06:29:57 +00:00
|
|
|
libQFwgl_la_LDFLAGS= -version-info 1:0:0
|
2001-04-15 21:11:41 +00:00
|
|
|
libQFwgl_la_SOURCES= in_common.c in_win.c qfgl_ext.c vid.c vid_wgl.c
|
2001-04-15 04:18:22 +00:00
|
|
|
|
|
|
|
LIBLIST = $(lib_LTLIBRARIES) @LIBRARY_SEARCH_PATH@
|
2001-04-15 05:04:03 +00:00
|
|
|
|
|
|
|
# Kill the temp files, hopefully.
|
|
|
|
CLEANFILES = *.i *.s $(YACCLEX_CLEANFILES)
|