2001-11-12 16:23:41 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2011-05-10 02:32:38 +00:00
|
|
|
SUBDIRS= targets renderer . test
|
2011-12-10 11:45:33 +00:00
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
2004-01-06 03:24:46 +00:00
|
|
|
INCLUDES= -I$(top_srcdir)/include
|
2007-05-31 06:30:46 +00:00
|
|
|
SDL_LIBS= @SDL_LIBS@
|
|
|
|
XMMS_LIBS= @XMMS_LIBS@
|
2010-12-25 09:45:39 +00:00
|
|
|
plugin_ldflags= @plugin_ldflags@ -avoid-version -module -rpath $(plugindir)
|
2007-05-31 06:30:46 +00:00
|
|
|
plugin_libadd= @plugin_libadd@
|
2012-02-07 07:04:19 +00:00
|
|
|
lib_ldflags=-version-info $(QUAKE_LIBRARY_VERSION_INFO) \
|
|
|
|
-rpath $(libdir) -no-undefined
|
2007-05-31 06:30:46 +00:00
|
|
|
EXEEXT=
|
2001-04-09 21:15:09 +00:00
|
|
|
|
2007-05-31 06:30:46 +00:00
|
|
|
plugin_LTLIBRARIES= @CD_PLUGIN_TARGETS@
|
|
|
|
noinst_LTLIBRARIES= @CD_PLUGIN_STATIC@
|
2001-09-28 05:33:12 +00:00
|
|
|
lib_LTLIBRARIES= @CD_TARGETS@ @SND_TARGETS@
|
2007-05-31 06:30:46 +00:00
|
|
|
EXTRA_LTLIBRARIES= libQFsound.la libQFcd.la \
|
|
|
|
cd_file.la cd_linux.la cd_sdl.la cd_sgi.la cd_win.la \
|
|
|
|
cd_xmms.la
|
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
cd_plug_libs=$(top_builddir)/libs/util/libQFutil.la
|
2007-05-31 06:30:46 +00:00
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
cd_file_libs= \
|
2012-02-07 09:45:55 +00:00
|
|
|
libQFsound.la \
|
2012-02-07 07:04:19 +00:00
|
|
|
$(cd_plug_libs)
|
2007-05-31 06:30:46 +00:00
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
cd_file_la_LDFLAGS= $(plugin_ldflags)
|
|
|
|
cd_file_la_LIBADD= $(cd_file_libs)
|
|
|
|
cd_file_la_DEPENDENCIES= $(cd_file_libs)
|
|
|
|
cd_file_la_SOURCES= cd_file.c
|
2007-05-31 06:30:46 +00:00
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
cd_linux_la_LDFLAGS= $(plugin_ldflags)
|
|
|
|
cd_linux_la_LIBADD= $(cd_plug_libs)
|
|
|
|
cd_linux_la_DEPENDENCIES= $(cd_plug_libs)
|
|
|
|
cd_linux_la_SOURCES= cd_linux.c
|
2007-05-31 06:30:46 +00:00
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
cd_sdl_la_LDFLAGS= $(plugin_ldflags)
|
|
|
|
cd_sdl_la_LIBADD= $(cd_plug_libs) $(SDL_LIBS) $(plugin_libadd)
|
|
|
|
cd_sdl_la_DEPENDENCIES= $(cd_plug_libs)
|
|
|
|
cd_sdl_la_CFLAGS= $(SDL_CFLAGS)
|
|
|
|
cd_sdl_la_SOURCES= cd_sdl.c
|
2007-05-31 06:30:46 +00:00
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
cd_sgi_la_LDFLAGS= $(plugin_ldflags)
|
|
|
|
cd_sgi_la_LIBADD= $(cd_plug_libs) $(SGI_CD_LIBS)
|
|
|
|
cd_sgi_la_DEPENDENCIES= $(cd_plug_libs)
|
|
|
|
cd_sgi_la_SOURCES= cd_sgi.c
|
|
|
|
|
|
|
|
cd_win_la_LDFLAGS= $(plugin_ldflags)
|
|
|
|
cd_win_la_LIBADD= $(cd_plug_libs) $(plugin_libadd)
|
|
|
|
cd_win_la_DEPENDENCIES= $(cd_plug_libs)
|
|
|
|
cd_win_la_SOURCES= cd_win.c
|
|
|
|
|
|
|
|
cd_xmms_la_LDFLAGS= $(plugin_ldflags)
|
|
|
|
cd_xmms_la_LIBADD= $(cd_plug_libs) $(XMMS_LIBS)
|
|
|
|
cd_xmms_la_DEPENDENCIES= $(cd_plug_libs)
|
|
|
|
cd_xmms_la_CFLAGS= $(XMMS_CFLAGS)
|
|
|
|
cd_xmms_la_SOURCES= cd_xmms.c
|
2001-05-19 00:05:35 +00:00
|
|
|
|
2012-02-05 05:25:22 +00:00
|
|
|
sound_libs= \
|
|
|
|
@SND_PLUGIN_STATIC_LIBS@ \
|
|
|
|
@SND_REND_STATIC_LIBS@ \
|
2012-02-07 11:17:32 +00:00
|
|
|
$(top_builddir)/libs/models/libQFmodels.la \
|
2012-02-06 14:44:52 +00:00
|
|
|
$(top_builddir)/libs/gamecode/libQFgamecode.la \
|
2012-02-05 05:25:22 +00:00
|
|
|
$(top_builddir)/libs/util/libQFutil.la
|
|
|
|
|
|
|
|
cd_libs= \
|
|
|
|
@CD_PLUGIN_STATIC_LIBS@ \
|
|
|
|
$(top_builddir)/libs/util/libQFutil.la
|
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
libQFsound_la_LDFLAGS= $(lib_ldflags)
|
|
|
|
libQFsound_la_LIBADD= $(sound_libs)
|
2012-02-05 05:25:22 +00:00
|
|
|
libQFsound_la_DEPENDENCIES= $(sound_libs)
|
2012-02-07 07:04:19 +00:00
|
|
|
libQFsound_la_SOURCES= snd.c snd_progs.c
|
2001-05-19 00:05:35 +00:00
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
libQFcd_la_LDFLAGS= $(lib_ldflags)
|
|
|
|
libQFcd_la_LIBADD= $(cd_libs)
|
|
|
|
libQFcd_la_DEPENDENCIES= $(cd_libs)
|
|
|
|
libQFcd_la_SOURCES= cd.c
|