Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / native_client_sdk / src / resources / Makefile.example.template
index b313eca..940c714 100644 (file)
@@ -41,8 +41,18 @@ CHROME_ARGS += --allow-nacl-socket-api=localhost
 [[]]
 
 TARGET = {{targets[0]['NAME']}}
-[[ExpandDict('DEPS', targets[0].get('DEPS', []))]]
-[[ExpandDict('LIBS', targets[0].get('LIBS', []), pre_list=['$(DEPS)'])]]
+[[if sel_ldr and targets[0].get('SEL_LDR_LIBS'):]]
+ifdef SEL_LDR
+[[  ExpandDict('DEPS', targets[0].get('SEL_LDR_DEPS', []))]]
+[[  ExpandDict('LIBS', targets[0].get('SEL_LDR_LIBS', []))]]
+else
+[[  ExpandDict('DEPS', targets[0].get('DEPS', []))]]
+[[  ExpandDict('LIBS', targets[0].get('LIBS', []))]]
+endif
+[[else:]]
+[[  ExpandDict('DEPS', targets[0].get('DEPS', []))]]
+[[  ExpandDict('LIBS', targets[0].get('LIBS', []))]]
+[[]]
 
 [[for target in targets:]]
 [[  source_list = (s for s in sorted(target['SOURCES']) if not s.endswith('.h'))]]