2001-04-11 03:09:24 +00:00
|
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
|
|
|
2001-09-28 10:31:20 +00:00
|
|
|
lib_LTLIBRARIES= libQFutil.la
|
2001-02-21 19:35:06 +00:00
|
|
|
|
2001-09-28 10:31:20 +00:00
|
|
|
if ASM_ARCH
|
2001-10-03 17:50:36 +00:00
|
|
|
noinst_LTLIBRARIES= libasm.la
|
2001-05-08 20:53:25 +00:00
|
|
|
else
|
2001-10-03 17:50:36 +00:00
|
|
|
noinst_LTLIBRARIES=
|
2001-05-08 20:53:25 +00:00
|
|
|
endif
|
2001-10-03 17:50:36 +00:00
|
|
|
|
|
|
|
asm_src= math.S
|
|
|
|
|
|
|
|
libasm_la_SOURCES= $(asm_src)
|
2001-05-08 20:53:25 +00:00
|
|
|
|
2001-09-25 22:12:55 +00:00
|
|
|
|
2001-10-03 17:50:36 +00:00
|
|
|
fnmatch_src= fnmatch.c dirent.c
|
2001-09-28 10:31:20 +00:00
|
|
|
if BUILD_FNMATCH
|
2001-10-03 17:50:36 +00:00
|
|
|
fnmatch= $(fnmatch_src)
|
2001-06-14 19:52:38 +00:00
|
|
|
else
|
2001-10-03 17:50:36 +00:00
|
|
|
fnmatch=
|
2001-06-14 19:52:38 +00:00
|
|
|
endif
|
|
|
|
|
2001-09-28 10:31:20 +00:00
|
|
|
libQFutil_la_LDFLAGS= -version-info 1:0:0
|
|
|
|
libQFutil_la_LIBADD= libasm.la $(Z_LIBS) $(DL_LIBS)
|
|
|
|
libQFutil_la_DEPENDENCIES= libasm.la
|
|
|
|
libQFutil_la_SOURCES= \
|
2001-07-09 20:56:05 +00:00
|
|
|
checksum.c cmd.c console.c con_print.c crc.c cvar.c fendian.c hash.c \
|
2001-09-28 10:31:20 +00:00
|
|
|
info.c link.c mathlib.c mdfour.c msg.c pcx.c plugin.c qargs.c \
|
- fix a little mistake in SV_PrintToClient that'd cause it to
segfault if your first call was with "". Probably could cause
crashes too
- add a string.c file to libQFutil, with a Q_strcasestr function,
which strcasestr is defined to if it's not already defined. (we'd
get that with glibc if we defined __USE_GNU, but we don't)
- make client_t and SV_ExtractFromUserinfo both use NAME_MAX for
their name arrays, instead of 32 for one and 80 for the other
- rewrite almost all of SV_ExtractFromUserinfo's name handling.
- \r, \n, and \t are all converted to spaces
- leading/trailing spaces are stripped
- consecutive spaces are reduced to a single space
- empty names are considered bad
- user-* nicks are considered bad (unless forced to them)
- a name containing console or admin is considered bad
- a name that already exists is considered bad
- if they have a bad name it gets forced to user-%d, where %d is
their userid
- netname in the progs is now updated properly
- name changes are always reported unless it's the initial setting,
rather than only if they're full connected and not a spectator
- finally, if the name change fails (info string exceeded), give
them the boot. (before this was only done for duplicate names)
That's about it :)
2001-10-04 19:11:39 +00:00
|
|
|
qendian.c qfplist.c quakefs.c quakeio.c sizebuf.c string.c sys.c \
|
|
|
|
tga.c va.c ver_check.c wad.c zone.c $(fnmatch)
|
2001-05-08 20:53:25 +00:00
|
|
|
|
2001-10-03 17:50:36 +00:00
|
|
|
EXTRA_DIST= $(asm_src) $(fnmatch_src)
|