Extract filesystem-related functions into fs.c
[tinc] / src / meson.build
index 564ef6f..6a9fb29 100644 (file)
@@ -119,6 +119,7 @@ src_lib_common = [
   'conf.c',
   'console.c',
   'dropin.c',
+  'fs.c',
   'keys.c',
   'list.c',
   'logger.c',
@@ -174,6 +175,12 @@ src_tincd = [
   'subnet.c',
 ]
 
+src_event_select = files('event_select.c')
+
+if os_name != 'windows'
+  src_tincd += 'signal.c'
+endif
+
 cc_flags_tinc = cc_flags
 cc_flags_tincd = cc_flags
 
@@ -358,10 +365,6 @@ endif
 
 subdir(opt_crypto)
 
-if opt_crypto != 'openssl'
-  src_lib_crypto += 'crypto.c'
-endif
-
 if opt_crypto != 'nolegacy'
   src_lib_crypto += ['cipher.c', 'digest.c']
 endif