libpurple/protocols/zephyr/meson.build

Tue, 05 Nov 2019 21:07:41 -0500

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Tue, 05 Nov 2019 21:07:41 -0500
changeset 40150
eda298799a8e
parent 39404
dc8c71a301d0
child 40165
6bb197792c6d
permissions
-rw-r--r--

Add some NULL checks to silence scan-build.

ZEPHYRSOURCES = [
	'ZAsyncLocate.c',
	'ZCkAuth.c',
	'ZCkIfNot.c',
	'ZClosePort.c',
	'ZCmpUID.c',
	'ZCmpUIDP.c',
	'ZFlsLocs.c',
	'ZFlsSubs.c',
	'ZFmtAuth.c',
	'ZFmtList.c',
	'ZFmtNotice.c',
	'ZFmtRaw.c',
	'ZFmtRawLst.c',
	'ZFmtSmRaw.c',
	'ZFreeNot.c',
	'ZGetLocs.c',
	'ZGetSender.c',
	'ZGetSubs.c',
	'ZGetWGPort.c',
	'ZIfNotice.c',
	'ZInit.c',
	'ZLocations.c',
	'ZMakeAscii.c',
	'ZMkAuth.c',
	'ZNewLocU.c',
	'ZOpenPort.c',
	'ZParseNot.c',
	'ZPeekNot.c',
	'ZPeekPkt.c',
	'ZPending.c',
	'ZReadAscii.c',
	'ZRecvNot.c',
	'ZRecvPkt.c',
	'ZRetSubs.c',
	'ZSendList.c',
	'ZSendNot.c',
	'ZSendPkt.c',
	'ZSetDest.c',
	'ZSetFD.c',
	'ZSetSrv.c',
	'ZSubs.c',
	'ZVariables.c',
	'ZWait4Not.c',
	'ZhmStat.c',
	'Zinternal.c',
	'com_err.h',
	'error_message.c',
	'error_table.h',
	'et_name.c',
	'init_et.c',
	'internal.h',
	'mit-copyright.h',
	'mit-sipb-copyright.h',
	'sysdep.h',
	'zephyr_err.c',
	'zephyr_err.h',
	'zephyr_internal.h',
	'zephyr.c',
	'zephyr.h'
]

ZEPHYRSOURCESEXT = ['zephyr.c', 'zephyr.h']

extdep = krb4
if EXTERNAL_LIBZEPHYR
	ZEPHYRSOURCES = ZEPHYRSOURCESEXT
	extdep = ext_zephyr
endif

if DYNAMIC_ZEPHYR
	zephyr_prpl = shared_library('zephyr', ZEPHYRSOURCES,
	    c_args : '-Dlint',
	    dependencies : [extdep, libpurple_dep, glib],
	    install : true, install_dir : PURPLE_PLUGINDIR)
endif

mercurial