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-18 18:04:22 +00:00
|
|
|
lib_LTLIBRARIES = @VID_TARGETS@
|
|
|
|
EXTRA_LTLIBRARIES = libQFjs.la 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-18 18:04:22 +00:00
|
|
|
libQFjs.la: $(libQFjs_la_OBJECTS) $(libQFjs_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(libdir) $(libQFjs_la_LDFLAGS) $(libQFjs_la_OBJECTS) $(libQFjs_la_LIBADD) $(LIBS)
|
2001-04-11 07:57:08 +00:00
|
|
|
|
2001-04-15 04:18:22 +00:00
|
|
|
# Linux FBdev
|
2001-04-15 06:29:57 +00:00
|
|
|
YFLAGS = -d
|
2001-04-16 16:11:45 +00:00
|
|
|
YACCLEX_CLEANFILES= fbset_modes_y.c fbset_modes_y.h \
|
|
|
|
fbset_modes_y.tab.h fbset_modes_l.c
|
2001-04-15 06:29:57 +00:00
|
|
|
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 21:11:41 +00:00
|
|
|
#EXTRA_libQFfbdev_la_SOURCES=fbset_modes_y.h
|
2001-04-16 16:11:45 +00:00
|
|
|
libQFfbdev.la: $(libQFfbdev_la_OBJECTS) $(libQFfbdev_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(libdir) $(libQFfbdev_la_LDFLAGS) $(libQFfbdev_la_OBJECTS) $(libQFfbdev_la_LIBADD) $(LIBS)
|
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-16 16:11:45 +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)
|
|
|
|
libQFglx_la_SOURCES= in_common.c in_x11.c vid.c context_x11.c dga_check.c \
|
|
|
|
qfgl_ext.c vid_common_gl.c vid_glx.c
|
|
|
|
libQFglx.la: $(libQFglx_la_OBJECTS) $(libQFglx_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(libdir) $(libQFglx_la_LDFLAGS) $(libQFglx_la_OBJECTS) $(libQFglx_la_LIBADD) $(LIBS)
|
|
|
|
|
|
|
|
|
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-16 16:11:45 +00:00
|
|
|
libQFmgl.la: $(libQFmgl_la_OBJECTS) $(libQFmgl_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(libdir) $(libQFmgl_la_LDFLAGS) $(libQFmgl_la_OBJECTS) $(libQFmgl_la_LIBADD) $(LIBS)
|
|
|
|
|
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-16 16:11:45 +00:00
|
|
|
libQFsdl.la: $(libQFsdl_la_OBJECTS) $(libQFsdl_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(libdir) $(libQFsdl_la_LDFLAGS) $(libQFsdl_la_OBJECTS) $(libQFsdl_la_LIBADD) $(LIBS)
|
|
|
|
|
|
|
|
|
|
|
|
libQFsgl_la_LDFLAGS= -version-info 1:0:0
|
|
|
|
libQFsgl_la_SOURCES= in_common.c in_sdl.c qfgl_ext.c vid.c vid_common_gl.c vid_sgl.c
|
|
|
|
libQFsgl.la: $(libQFsgl_la_OBJECTS) $(libQFsgl_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(libdir) $(libQFsgl_la_LDFLAGS) $(libQFsgl_la_OBJECTS) $(libQFsgl_la_LIBADD) $(LIBS)
|
|
|
|
|
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-16 16:11:45 +00:00
|
|
|
libQFsvga.la: $(libQFsvga_la_OBJECTS) $(libQFsvga_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(libdir) $(libQFsvga_la_LDFLAGS) $(libQFsvga_la_OBJECTS) $(libQFsvga_la_LIBADD) $(LIBS)
|
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-16 16:11:45 +00:00
|
|
|
libQFtdfx.la: $(libQFtdfx_la_OBJECTS) $(libQFtdfx_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(libdir) $(libQFtdfx_la_LDFLAGS) $(libQFtdfx_la_OBJECTS) $(libQFtdfx_la_LIBADD) $(LIBS)
|
|
|
|
|
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-17 15:55:33 +00:00
|
|
|
libQFwgl_la_SOURCES= in_common.c in_win.c qfgl_ext.c vid.c vid_common_gl.c vid_wgl.c
|
2001-04-16 16:11:45 +00:00
|
|
|
libQFwgl.la: $(libQFwgl_la_OBJECTS) $(libQFwgl_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(libdir) $(libQFwgl_la_LDFLAGS) $(libQFwgl_la_OBJECTS) $(libQFwgl_la_LIBADD) $(LIBS)
|
|
|
|
|
|
|
|
|
|
|
|
libQFx11_la_LDFLAGS= -version-info 1:0:0 $(X_PRE_LIBS) $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 $(X_EXTRA_LIBS) $(X_SHM_LIB)
|
|
|
|
libQFx11_la_SOURCES= in_common.c in_x11.c vid.c context_x11.c dga_check.c \
|
|
|
|
vid_common_sw.c vid_x11.c
|
|
|
|
libQFx11.la: $(libQFx11_la_OBJECTS) $(libQFx11_la_DEPENDENCIES)
|
|
|
|
$(LINK) -rpath $(libdir) $(libQFx11_la_LDFLAGS) $(libQFx11_la_OBJECTS) $(libQFx11_la_LIBADD) $(LIBS)
|
|
|
|
|
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)
|