Import('env')
import os.path
-print "Reading IP adapter script"
+print("Reading IP adapter script")
target_os = env.get('TARGET_OS')
inc_files = env.get('CPPPATH')
else:
common_files = [
os.path.join(src_dir, 'caipadapter.c'),
- os.path.join(src_dir, 'caipserver.c') ]
+ os.path.join(src_dir, 'caipserver.c'),
+ os.path.join(src_dir, 'caipnwmonitor_common.c') ]
+
+env.AppendUnique(CPPPATH = [ src_dir ])
# Get list of target-specific source file base names, i.e. no parent
# directories prepended to the path.
target_files = [ os.path.join(src_dir, target_os, f) for f in target_files ]
# Source files to build for Linux-like platforms
-if target_os in ['linux','darwin','ios']:
+if target_os in ['linux','darwin','tizenrt']:
target_files += [ os.path.join(src_dir,
'linux/caipnwmonitor.c') ]
+if target_os in ['ios']:
+ target_files += [ os.path.join(src_dir, 'ios/caipnwmonitor.m') ]
+
if target_os in ['msys_nt']:
target_files += [ os.path.join(src_dir, 'windows/caipnwmonitor.c') ]