mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 21:02:50 +00:00
31 lines
795 B
Text
31 lines
795 B
Text
|
INCLUDES= -I$(top_srcdir)/include
|
||
|
|
||
|
libdir = @PLUGINDIR@
|
||
|
|
||
|
if BUILD_SND_RENDERER
|
||
|
SND_RENDERER = libsnd_render_default.la
|
||
|
else
|
||
|
SND_RENDERER =
|
||
|
endif
|
||
|
|
||
|
lib_LTLIBRARIES = $(SND_RENDERER)
|
||
|
EXTRA_LTLIBRARIES =
|
||
|
|
||
|
if ASM_ARCH
|
||
|
ASM = libasm.la
|
||
|
else
|
||
|
ASM =
|
||
|
endif
|
||
|
|
||
|
noinst_LTLIBRARIES = $(ASM)
|
||
|
|
||
|
libasm_la_SOURCES = snd_mixa.S
|
||
|
|
||
|
libsnd_render_default_la_LDFLAGS= -version-info 1:0:0
|
||
|
libsnd_render_default_la_LIBADD = $(ASM)
|
||
|
libsnd_render_default_la_SOURCES= snd_dma.c snd_mem.c snd_mix.c
|
||
|
libsnd_render_default.la: $(libsnd_render_default_la_OBJECTS) $(libsnd_render_default_la_DEPENDENCIES)
|
||
|
$(LINK) -rpath $(pluginpath) $(libsnd_render_default_la_LDFLAGS) $(libsnd_render_default_la_OBJECTS) $(libsnd_render_default_la_LIBADD) $(LIBS)
|
||
|
|
||
|
LIBLIST = $(pkglib_LTLIBRARIES) libsnd_default_render.la @LIBRARY_SEARCH_PATH@
|