libpurple/protocols/novell/meson.build

branch
meson
changeset 38451
4bcc1a76e1f0
child 38458
e665653856ab
--- /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