Add novell to meson build. meson

Mon, 22 Aug 2016 04:35:06 -0400

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Mon, 22 Aug 2016 04:35:06 -0400
branch
meson
changeset 38451
4bcc1a76e1f0
parent 38450
ff2438422a3a
child 38452
5cbb504695d1

Add novell to meson build.

libpurple/protocols/meson.build file | annotate | diff | comparison | revisions
libpurple/protocols/novell/meson.build file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/meson.build	Mon Aug 22 04:31:52 2016 -0400
+++ b/libpurple/protocols/meson.build	Mon Aug 22 04:35:06 2016 -0400
@@ -5,7 +5,7 @@
 subdir('jabber')
 subdir('msn')
 subdir('mxit')
-#subdir('novell')
+subdir('novell')
 subdir('null')
 #subdir('oscar')
 #subdir('sametime')
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libpurple/protocols/novell/meson.build	Mon Aug 22 04:35:06 2016 -0400
@@ -0,0 +1,38 @@
+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 STATIC_NOVELL
+	novell_prpl = static_library('novell', NOVELLSOURCES,
+	    include_directories : [toplevel_inc, libpurple_inc],
+	    c_args : '-DPURPLE_STATIC_PRPL',
+	    link_with : libpurple,
+	    dependencies : [gplugin, glib])
+elif DYNAMIC_NOVELL
+	novell_prpl = shared_library('novell', NOVELLSOURCES,
+	    include_directories : [toplevel_inc, libpurple_inc],
+	    link_with : libpurple,
+	    dependencies : [gplugin, glib],
+	    install : true, install_dir : PURPLE_PLUGINDIR)
+endif

mercurial