mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
535a2363bb
In testing variable fw/precision in PR_Sprintf, I got a nasty reminder of the limitations of the current progs ABI: passing @args to another QC function does not work because the args list gets trampled but the called function's locals. Thus, the need for a va_copy. It's not quite the same as C's as it returns the destination args instead of copying like memcpy, but it does copy the list from the source args to a temporary buffer that is freed when the calling function returns.
21 lines
675 B
Makefile
21 lines
675 B
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
|
AM_CPPFLAGS= -I$(top_srcdir)/include $(FNM_FLAGS)
|
|
|
|
lib_ldflags=-version-info $(QUAKE_LIBRARY_VERSION_INFO) \
|
|
-rpath $(libdir) -no-undefined
|
|
rua_libs= \
|
|
$(top_builddir)/libs/gamecode/libQFgamecode.la \
|
|
$(top_builddir)/libs/util/libQFutil.la
|
|
|
|
lib_LTLIBRARIES= libQFruamoko.la
|
|
|
|
libQFruamoko_la_LDFLAGS= $(lib_ldflags)
|
|
libQFruamoko_la_LIBADD= $(rua_libs)
|
|
libQFruamoko_la_DEPENDENCIES= $(rua_libs)
|
|
libQFruamoko_la_SOURCES= \
|
|
pr_cmds.c \
|
|
rua_cbuf.c rua_cmd.c rua_cvar.c rua_hash.c rua_init.c \
|
|
rua_math.c rua_msgbuf.c rua_obj.c rua_plist.c rua_qfile.c rua_qfs.c \
|
|
rua_runtime.c rua_script.c rua_set.c rua_string.c
|