libpurple/protocols/novell/meson.build

Tue, 10 Sep 2019 00:06:36 -0400

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Tue, 10 Sep 2019 00:06:36 -0400
changeset 39819
3554dac2991b
parent 39404
dc8c71a301d0
child 40673
16127907763b
permissions
-rw-r--r--

Standardize all protocol header guard macros.

These are all basically standardized replacements on the file path,
removing 'lib' and '/protocols/', replacing invalid characters by
underscore, and then converting to upper case.

This avoids a lot of reserved identifier usage.

NOVELLSOURCES = [
	'nmfield.h',
	'nmfield.c',
	'nmconn.h',
	'nmconn.c',
	'nmconference.h',
	'nmconference.c',
	'nmcontact.h',
	'nmcontact.c',
	'nmevent.h',
	'nmevent.c',
	'nmmessage.h',
	'nmmessage.c',
	'nmrequest.h',
	'nmrequest.c',
	'nmrtf.h',
	'nmrtf.c',
	'nmuser.h',
	'nmuser.c',
	'nmuserrecord.h',
	'nmuserrecord.c',
	'novell.h',
	'novell.c'
]

if DYNAMIC_NOVELL
	novell_prpl = shared_library('novell', NOVELLSOURCES,
	    dependencies : [libpurple_dep, glib, ws2_32],
	    install : true, install_dir : PURPLE_PLUGINDIR)
endif

mercurial