| 1 SILC_SOURCES = [ |
|
| 2 'buddy.c', |
|
| 3 'chat.c', |
|
| 4 'ft.c', |
|
| 5 'ft.h', |
|
| 6 'ops.c', |
|
| 7 'pk.c', |
|
| 8 'silc.c', |
|
| 9 'silcpurple.h', |
|
| 10 'util.c', |
|
| 11 'wb.c', |
|
| 12 'wb.h' |
|
| 13 ] |
|
| 14 |
|
| 15 if DYNAMIC_SILC |
|
| 16 silc_resources = gnome.compile_resources('silcresource', |
|
| 17 'resources/silc.gresource.xml', |
|
| 18 source_dir : 'resources', |
|
| 19 c_name : 'silc') |
|
| 20 SILC_SOURCES += silc_resources |
|
| 21 |
|
| 22 silc_prpl = shared_library('silcpurple', SILC_SOURCES, |
|
| 23 c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-SILC"'], |
|
| 24 dependencies : [silc, libpurple_dep, glib], |
|
| 25 install : true, install_dir : PURPLE_PLUGINDIR) |
|
| 26 |
|
| 27 devenv.append('PURPLE_PLUGIN_PATH', meson.current_build_dir()) |
|
| 28 endif |
|