| 1 |
libsecondtime_name = 'secondtime' |
| 2 |
|
| 3 |
libsecondtime_c = [ |
| 4 |
'second-time.c', |
| 5 |
] |
| 6 |
|
| 7 |
libsecondtime_plugin_data = [ |
| 8 |
'secondtime.plugin', |
| 9 |
] |
| 10 |
|
| 11 |
libsecondtime_c_args = [ |
| 12 |
'-DHAVE_CONFIG_H', |
| 13 |
] |
| 14 |
|
| 15 |
libsecondtime_lib = shared_library( |
| 16 |
libsecondtime_name, |
| 17 |
libsecondtime_c, |
| 18 |
include_directories: rootdir, |
| 19 |
dependencies: [gtk_dep, libpeas_dep], |
| 20 |
c_args: project_c_args + libsecondtime_c_args, |
| 21 |
install_dir: join_paths(peas_demo_plugins_dir, 'secondtime'), |
| 22 |
install: true, |
| 23 |
) |
| 24 |
|
| 25 |
custom_target( |
| 26 |
'lib@0@-data'.format(libsecondtime_name), |
| 27 |
input: libsecondtime_plugin_data, |
| 28 |
output: libsecondtime_plugin_data, |
| 29 |
command: [copyfile_script, '@INPUT@', '@OUTDIR@'], |
| 30 |
build_by_default: true, |
| 31 |
install_dir: join_paths(peas_demo_plugins_dir, 'secondtime'), |
| 32 |
install: true, |
| 33 |
) |