1 # //******************************************************************
3 # // Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
5 # //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
7 # // Licensed under the Apache License, Version 2.0 (the "License");
8 # // you may not use this file except in compliance with the License.
9 # // You may obtain a copy of the License at
11 # // http://www.apache.org/licenses/LICENSE-2.0
13 # // Unless required by applicable law or agreed to in writing, software
14 # // distributed under the License is distributed on an "AS IS" BASIS,
15 # // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # // See the License for the specific language governing permissions and
17 # // limitations under the License.
19 # //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
22 # This makefile build-script requires the following for each platform:
23 # Note: Refer to READMEs at "<oic-resource>/" & "<oic-resource>/csdk/" for
30 # Arduino ATMega 2560:
31 # Framework Version: Arduino 1.0.5
32 # AVR-GCC Version: 4.5.3
35 # Framework Version: Arduino 1.5.7
36 # AVR-GCC Version: 4.8.3
39 # ====NAME/TITLE - BUILD TYPE - OUT DIRECTORY====
41 ###############################################################################
42 #### TB Stack, TB Unit Tests, TB Examples, UB Stack, ####
43 #### & UB Examples - Linux & Arduino Mega ####
44 #### Note: Default "all" target builds Release only "all" of Linux & ####
45 #### Release only "all" of Arduino Mega with Ethernet Shield. ####
46 ###############################################################################
50 all_all: all_release all_debug
52 dev: linux_ub_dev arduinomega_all_dev
54 all_release: linux_release arduinomega_release
56 all_debug: linux_debug arduinomega_debug
58 ###############################################################################
59 #### TB Stack, TB Unit Tests, TB Examples, UB Stack, ####
60 #### & UB Examples - Linux & Arduino Due ####
61 #### Note: Default "all" target builds Release only "all" of Linux & ####
62 #### Release only "all" of Arduino Due with Ethernet Shield. ####
63 ###############################################################################
65 complement: complement_release
67 complement_all: complement_release complement_debug
69 complement_dev: linux_ub_dev arduinodue_all_dev
71 complement_release: linux_release arduinodue_release
73 complement_debug: linux_debug arduinodue_debug
75 ###############################################################################
76 #### TB Stack, TB Unit Tests, TB Examples, UB Stack, UB Examples, ####
77 #### & OCICUC - Linux, Arduino Mega and Arduino Due ####
78 #### Note: The "all_dev" target is intended for use on the build ####
79 #### server(s). This includes "all" targets for Release & Debug for ####
80 #### Linux, "all" Release & Debug for Arduino Mega with Ethernet ####
81 #### Shield & WiFi Shield, and "all" Release & Debug for Arduino ####
82 #### Due with Ethernet Shield & Wifi Shield. ####
83 ###############################################################################
85 all_dev: linux_ub_dev arduinomega_all_dev arduinodue_all_dev
87 ###############################################################################
88 ## TB Stack, TB Unit Tests, TB Examples, UB Stack, & UB Examples - Linux Only #
89 ###############################################################################
91 linux: linux_tb_release
93 linux_all: linux_release linux_debug
95 linux_release: linux_tb_release linux_ub_release
97 linux_debug: linux_tb_debug linux_ub_debug
99 ###############################################################################
100 #### TB Stack, TB Unit Tests, & TB Examples - Linux Only ####
101 ###############################################################################
103 linux_tb: linux_tb_release
105 linux_tb_all: linux_tb_release linux_tb_debug
107 linux_tb_release: linux_tb_stack_release linux_tb_unittests_release linux_tb_examples_release
109 linux_tb_debug: linux_tb_stack_debug linux_tb_unittests_debug linux_tb_examples_debug
111 ###############################################################################
112 #### UB Stack, TB Stack, & UB Examples - Linux Only ####
113 ###############################################################################
115 linux_ub: linux_ub_release
117 linux_ub_all: linux_ub_release linux_ub_debug
119 linux_ub_release: linux_tb_stack_release linux_ub_unittests_release linux_ub_stack_release linux_ub_examples_release
121 linux_ub_debug: linux_tb_stack_debug linux_ub_unittests_debug linux_ub_stack_debug linux_ub_examples_debug
123 ###############################################################################
124 #### TB Stack - Linux Only ####
125 ###############################################################################
127 linux_tb_stack: linux_tb_stack_release
129 linux_tb_stack_all: linux_tb_stack_release linux_tb_stack_debug
131 linux_tb_stack_debug:
132 @echo "=====BUILD LIBCOAP FOR LINUX - DEBUG - <oic-resource>/csdk/libcoap/linux/debug/====="
133 $(MAKE) -C csdk/libcoap "BUILD=debug" "PLATFORM=linux"
134 @echo "=====BUILD TB STACK FOR LINUX - DEBUG - <oic-resource>/csdk/linux/debug/====="
135 $(MAKE) -C csdk/ "buildScript_all" "BUILD=debug" "PLATFORM=linux"
137 linux_tb_stack_release:
138 @echo "=====BUILD LIBCOAP FOR LINUX - RELEASE - <oic-resource>/csdk/libcoap/linux/release/====="
139 $(MAKE) -C csdk/libcoap "BUILD=release" "PLATFORM=linux"
140 @echo "=====BUILD TB STACK FOR LINUX - RELEASE - <oic-resource>/csdk/linux/release/====="
141 $(MAKE) -C csdk/ "buildScript_all" "BUILD=release" "PLATFORM=linux"
143 ###############################################################################
144 #### TB Unit Tests - Linux Only ####
145 ###############################################################################
147 linux_tb_unittests: linux_tb_unittests_release
149 linux_tb_unittests_all: linux_tb_unittests_release linux_tb_unittests_debug
151 linux_tb_unittests_release: linux_tb_stack_release
152 @echo "=====BUILD TB UNITTESTS FOR LINUX - RELEASE - <oic-resource>/csdk/stack/test/linux/release/====="
153 $(MAKE) -C csdk/stack/test/linux/ "BUILD=release"
155 linux_tb_unittests_debug: linux_tb_stack_debug
156 @echo "=====BUILD TB UNITTESTS FOR LINUX - DEBUG - <oic-resource>/csdk/stack/test/linux/debug/====="
157 $(MAKE) -C csdk/stack/test/linux/ "BUILD=debug"
159 ###############################################################################
160 #### TB Examples - Linux Only ####
161 ###############################################################################
163 linux_tb_examples: linux_tb_stack_release linux_tb_examples_release
165 linux_tb_examples_all: linux_tb_stack_release linux_tb_examples_debug
167 linux_tb_examples_release: linux_tb_stack_release
168 @echo "=====BUILD TB SAMPLE APPS FOR LINUX - RELEASE - <oic-resource>/csdk/stack/samples/linux/SimpleClientServer/release/====="
169 $(MAKE) -C csdk/stack/samples/linux/SimpleClientServer "PLATFORM=linux" "BUILD=release"
170 $(MAKE) -C csdk/stack/samples/linux/secure "PLATFORM=linux" "BUILD=release"
172 linux_tb_examples_debug: linux_tb_stack_debug
173 @echo "=====BUILD TB SAMPLE APPS FOR LINUX - DEBUG - <oic-resource>/csdk/stack/samples/linux/SimpleClientServer/debug/====="
174 $(MAKE) -C csdk/stack/samples/linux/SimpleClientServer "PLATFORM=linux" "BUILD=debug"
175 $(MAKE) -C csdk/stack/samples/linux/secure "PLATFORM=linux" "BUILD=debug"
177 ###############################################################################
178 #### UB Stack (& TB Stack as prerequisite) - Linux Only ####
179 ###############################################################################
181 linux_ub_stack: linux_ub_stack_release
183 linux_ub_stack_all: linux_ub_stack_release linux_ub_stack_debug
185 linux_ub_stack_release: linux_tb_stack_release
186 @echo "=====BUILD UB STACK FOR LINUX - RELEASE - <oic-resource>/release/====="
187 $(MAKE) -C ./ "buildScript_all" "BUILD=release"
189 linux_ub_stack_debug: linux_tb_stack_debug
190 @echo "=====BUILD UB STACK FOR LINUX - DEBUG - <oic-resource>/debug/====="
191 $(MAKE) -C ./ "buildScript_all" "BUILD=debug"
193 ###############################################################################
194 #### UB Unit Tests (& TB Stack as prequisite) - Linux Only ####
195 ###############################################################################
197 linux_ub_unittests: linux_ub_unittests_release
199 linux_ub_unittests_all: linux_ub_unittests_release linux_ub_unittests_debug
201 linux_ub_unittests_release: linux_ub_stack_release
202 @echo "=====BUILD UB UNIT TESTS FOR LINUX - RELEASE - <oic-resource>/unittests/release====="
203 $(MAKE) -C unittests/ "BUILD=release"
205 linux_ub_unittests_debug: linux_ub_stack_debug
206 @echo "=====BUILD UB UNIT TESTS FOR LINUX - DEBUG - <oic-resource>/unittests/debug====="
207 $(MAKE) -C unittests/ "BUILD=debug"
209 ###############################################################################
210 #### UB Examples (& UB Stack as prerequisite) - Linux Only ####
211 ###############################################################################
213 linux_ub_examples: linux_ub_examples_release
215 linux_ub_examples_all: linux_ub_examples_release linux_ub_examples_debug
217 linux_ub_examples_release: linux_ub_stack_release
218 @echo "=====BUILD UB SAMPLE APPS FOR LINUX - RELEASE - <oic-resource>/examples/release/====="
219 $(MAKE) -C examples/ "buildScript_all" "BUILD=release"
221 linux_ub_examples_debug: linux_ub_stack_debug
222 @echo "=====BUILD UB SAMPLE APPS FOR LINUX - DEBUG - <oic-resource>/examples/debug/====="
223 $(MAKE) -C examples/ "buildScript_all" "BUILD=debug"
225 ###############################################################################
226 #### TB Stack, TB Unit Tests, TB Examples, UB Stack, UB Examples, ####
227 #### UB Unit Tests, & OCICUC - Linux Only ####
228 ###############################################################################
230 linux_ub_dev: linux_ub_stack_all linux_ub_unittests_all linux_ub_examples_all linux_tb_examples_all
231 @echo "=====BUILD UB OCICUC - <oic-resource>/examples/ocicuc/====="
232 $(MAKE) -C examples/ocicuc/
234 ###############################################################################
235 #TB Stack, TB Unit Tests, & TB Examples - Arduino Mega Only - Ethernet & WiFi #
236 ###############################################################################
238 arduinomega: arduinomega_release
240 arduinomega_all: arduinomega_release arduinomega_debug
242 arduinomega_all_dev: arduinomega_release_dev arduinomega_debug_dev
244 arduinomega_release: arduinomega_ethernet_release
246 arduinomega_debug: arduinomega_ethernet_debug
248 arduinomega_release_dev: arduinomega_ethernet_release arduinomega_wifi_release
250 arduinomega_debug_dev: arduinomega_ethernet_debug arduinomega_wifi_debug
252 ###############################################################################
253 ## TB Stack, TB Unit Tests, & TB Examples - Arduino Mega Only - Ethernet Only #
254 ###############################################################################
256 arduinomega_ethernet: arduinomega_ethernet_release
258 arduinomega_ethernet_all: arduinomega_ethernet_release arduinomega_ethernet_debug
260 arduinomega_ethernet_release: arduinomega_stack_ethernet_release arduinomega_samples_ethernet_release
262 arduinomega_ethernet_debug: arduinomega_stack_ethernet_debug arduinomega_samples_ethernet_debug
264 ###############################################################################
265 ## TB Stack, TB Unit Tests, & TB Examples - Arduino Mega Only - Ethernet Only #
266 ###############################################################################
268 arduinomega_wifi: arduinomega_wifi_release
270 arduinomega_wifi_all: arduinomega_wifi_release arduinomega_wifi_debug
272 arduinomega_wifi_release: arduinomega_stack_wifi_release arduinomega_samples_wifi_release
274 arduinomega_wifi_debug: arduinomega_stack_wifi_debug arduinomega_samples_wifi_debug
276 ###############################################################################
277 #### TB Stack - Arduino Mega Only - Ethernet Only ####
278 ###############################################################################
280 arduinomega_stack_ethernet: arduinomega_stack_ethernet_release
282 arduinomega_stack_ethernet_all: arduinomega_stack_ethernet_release arduinomega_stack_ethernet_debug
284 arduinomega_stack_ethernet_release:
285 @echo "=====BUILD C STACK FOR ARDUINO ATMEGA 2560 - RELEASE - ETHERNET SHIELD======"
286 @echo "=====BUILD LIBCOAP - RELEASE - <oic-resource>/csdk/libcoap/arduinomega/ethernet_shield/release/====="
287 $(MAKE) -C csdk/libcoap "BUILD=release" "PLATFORM=arduinomega" "ARDUINOWIFI=0"
288 @echo "=====BUILD TB STACK - RELEASE - <oic-resource>/csdk/arduinomega/ethernet_shield/release/====="
289 $(MAKE) -C csdk "buildScript_all" "BUILD=release" "PLATFORM=arduinomega" "ARDUINOWIFI=0"
291 arduinomega_stack_ethernet_debug:
292 @echo "=====BUILD C STACK FOR ARDUINO ATMEGA 2560 - DEBUG - ETHERNET SHIELD======"
293 @echo "=====BUILD LIBCOAP - DEBUG - <oic-resource>/csdk/libcoap/arduinomega/ethernet_shield/debug/====="
294 $(MAKE) -C csdk/libcoap "BUILD=debug" "PLATFORM=arduinomega" "ARDUINOWIFI=0"
295 @echo "=====BUILD TB STACK - DEBUG - <oic-resource>/csdk/arduinomega/ethernet_shield/debug/====="
296 $(MAKE) -C csdk "buildScript_all" "BUILD=debug" "PLATFORM=arduinomega" "ARDUINOWIFI=0"
298 ###############################################################################
299 #### TB Stack - Arduino Mega Only - WiFi Only ####
300 ###############################################################################
302 arduinomega_stack_wifi: arduinomega_stack_wifi_release
304 arduinomega_stack_wifi_all: arduinomega_stack_wifi_release arduinomega_stack_wifi_debug
306 arduinomega_stack_wifi_release:
307 @echo "=====BUILD C STACK FOR ARDUINO ATMEGA 2560 - RELEASE - WiFi SHIELD======"
308 @echo "=====BUILD LIBCOAP - RELEASE - <oic-resource>/csdk/libcoap/arduinomega/wifi_shield/release/====="
309 $(MAKE) -C csdk/libcoap "BUILD=release" "PLATFORM=arduinomega" "ARDUINOWIFI=1"
310 @echo "=====BUILD TB STACK - RELEASE - <oic-resource>/csdk/arduinomega/wifi_shield/release/====="
311 $(MAKE) -C csdk "buildScript_all" "BUILD=release" "PLATFORM=arduinomega" "ARDUINOWIFI=1"
313 arduinomega_stack_wifi_debug:
314 @echo "=====BUILD C STACK FOR ARDUINO ATMEGA 2560 - DEBUG - WiFi SHIELD======"
315 @echo "=====BUILD LIBCOAP - DEBUG - <oic-resource>/csdk/libcoap/arduinomega/wifi_shield/debug/====="
316 $(MAKE) -C csdk/libcoap "BUILD=debug" "PLATFORM=arduinomega" "ARDUINOWIFI=1"
317 @echo "=====BUILD TB STACK - DEBUG - <oic-resource>/csdk/arduinomega/wifi_shield/debug/====="
318 $(MAKE) -C csdk "buildScript_all" "BUILD=debug" "PLATFORM=arduinomega" "ARDUINOWIFI=1"
320 ###############################################################################
321 #### TB Examples - Arduino Mega Only - Ethernet Only ####
322 ###############################################################################
324 arduinomega_samples_ethernet: arduinomega_samples_ethernet_release
326 arduinomega_samples_ethernet_all: arduinomega_samples_ethernet_release arduinomega_samples_ethernet_debug
328 arduinomega_samples_ethernet_release: arduinomega_stack_ethernet_release
329 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO ATMEGA 2560 - RELEASE - ETHERNET SHIELD====="
330 @echo "=====BUILD OCSERVER - RELEASE - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinomega/ethernet_shield/release/====="
331 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=release" "PLATFORM=arduinomega" "ARDUINOWIFI=0"
333 arduinomega_samples_ethernet_debug: arduinomega_stack_ethernet_debug
334 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO ATMEGA 2560 - DEBUG - ETHERNET SHIELD====="
335 @echo "=====BUILD OCSERVER - DEBUG - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinomega/ethernet_shield/debug/====="
336 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=debug" "PLATFORM=arduinomega" "ARDUINOWIFI=0"
338 ###############################################################################
339 #### TB Examples - Arduino Mega Only - WiFi Only ####
340 ###############################################################################
342 arduinomega_samples_wifi: arduinomega_samples_wifi_release
344 arduinomega_samples_wifi_all: arduinomega_samples_wifi_release arduinomega_samples_wifi_debug
346 arduinomega_samples_wifi_release: arduinomega_stack_wifi_release
347 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO ATMEGA 2560 - RELEASE - WIFI SHIELD====="
348 @echo "=====BUILD OCSERVER - RELEASE - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinomega/wifi_shield/release/====="
349 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=release" "PLATFORM=arduinomega" "ARDUINOWIFI=1"
351 arduinomega_samples_wifi_debug: arduinomega_stack_wifi_debug
352 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO ATMEGA 2560 - DEBUG - WIFI SHIELD====="
353 @echo "=====BUILD OCSERVER - DEBUG - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinomega/wifi_shield/debug/====="
354 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=debug" "PLATFORM=arduinomega" "ARDUINOWIFI=1"
357 ###############################################################################
358 #TB Stack, TB Unit Tests, & TB Examples - Arduino Due Only - Ethernet & WiFi ##
359 ###############################################################################
361 arduinodue: arduinodue_release
363 arduinodue_all: arduinodue_release arduinodue_debug
365 arduinodue_all_dev: arduinodue_release_dev arduinodue_debug_dev
367 arduinodue_release: arduinodue_ethernet_release
369 arduinodue_debug: arduinodue_ethernet_debug
371 arduinodue_release_dev: arduinodue_ethernet_release arduinodue_wifi_release
373 arduinodue_debug_dev: arduinodue_ethernet_debug arduinodue_wifi_debug
375 ###############################################################################
376 ## TB Stack, TB Unit Tests, & TB Examples - Arduino Due Only - Ethernet Only ##
377 ###############################################################################
379 arduinodue_ethernet: arduinodue_ethernet_release
381 arduinodue_ethernet_all: arduinodue_ethernet_release arduinodue_ethernet_debug
383 arduinodue_ethernet_release: arduinodue_stack_ethernet_release arduinodue_samples_ethernet_release
385 arduinodue_ethernet_debug: arduinodue_stack_ethernet_debug arduinodue_samples_ethernet_debug
387 ###############################################################################
388 ## TB Stack, TB Unit Tests, & TB Examples - Arduino Due Only - Ethernet Only ##
389 ###############################################################################
391 arduinodue_wifi: arduinodue_wifi_release
393 arduinodue_wifi_all: arduinodue_wifi_release arduinodue_wifi_debug
395 arduinodue_wifi_release: arduinodue_stack_wifi_release arduinodue_samples_wifi_release
397 arduinodue_wifi_debug: arduinodue_stack_wifi_debug arduinodue_samples_wifi_debug
399 ###############################################################################
400 #### TB Stack - Arduino Due Only - Ethernet Only ####
401 ###############################################################################
403 arduinodue_stack_ethernet: arduinodue_stack_ethernet_release
405 arduinodue_stack_ethernet_all: arduinodue_stack_ethernet_release arduinodue_stack_ethernet_debug
407 arduinodue_stack_ethernet_release:
408 @echo "=====BUILD C STACK FOR ARDUINO DUE - RELEASE - ETHERNET SHIELD======"
409 @echo "=====BUILD LIBCOAP - RELEASE - <oic-resource>/csdk/libcoap/arduinodue/ethernet_shield/release/====="
410 $(MAKE) -C csdk/libcoap "BUILD=release" "PLATFORM=arduinodue" "ARDUINOWIFI=0"
411 @echo "=====BUILD TB STACK - RELEASE - <oic-resource>/csdk/arduinodue/ethernet_shield/release/====="
412 $(MAKE) -C csdk "buildScript_all" "BUILD=release" "PLATFORM=arduinodue" "ARDUINOWIFI=0"
414 arduinodue_stack_ethernet_debug:
415 @echo "=====BUILD C STACK FOR ARDUINO DUE - DEBUG - ETHERNET SHIELD======"
416 @echo "=====BUILD LIBCOAP - DEBUG - <oic-resource>/csdk/libcoap/arduinodue/ethernet_shield/debug/====="
417 $(MAKE) -C csdk/libcoap "BUILD=debug" "PLATFORM=arduinodue" "ARDUINOWIFI=0"
418 @echo "=====BUILD TB STACK - DEBUG - <oic-resource>/csdk/arduinodue/ethernet_shield/debug/====="
419 $(MAKE) -C csdk "buildScript_all" "BUILD=debug" "PLATFORM=arduinodue" "ARDUINOWIFI=0"
421 ###############################################################################
422 #### TB Stack - Arduino Due Only - WiFi Only ####
423 ###############################################################################
425 arduinodue_stack_wifi: arduinodue_stack_wifi_release
427 arduinodue_stack_wifi_all: arduinodue_stack_wifi_release arduinodue_stack_wifi_debug
429 arduinodue_stack_wifi_release:
430 @echo "=====BUILD C STACK FOR ARDUINO DUE - RELEASE - WiFi SHIELD======"
431 @echo "=====BUILD LIBCOAP - RELEASE - <oic-resource>/csdk/libcoap/arduinodue/wifi_shield/release/====="
432 $(MAKE) -C csdk/libcoap "BUILD=release" "PLATFORM=arduinodue" "ARDUINOWIFI=1"
433 @echo "=====BUILD TB STACK - RELEASE - <oic-resource>/csdk/arduinodue/wifi_shield/release/====="
434 $(MAKE) -C csdk "buildScript_all" "BUILD=release" "PLATFORM=arduinodue" "ARDUINOWIFI=1"
436 arduinodue_stack_wifi_debug:
437 @echo "=====BUILD C STACK FOR ARDUINO DUE - DEBUG - WiFi SHIELD======"
438 @echo "=====BUILD LIBCOAP - DEBUG - <oic-resource>/csdk/libcoap/arduinodue/wifi_shield/debug/====="
439 $(MAKE) -C csdk/libcoap "BUILD=debug" "PLATFORM=arduinodue" "ARDUINOWIFI=1"
440 @echo "=====BUILD TB STACK - DEBUG - <oic-resource>/csdk/arduinodue/wifi_shield/debug/====="
441 $(MAKE) -C csdk "buildScript_all" "BUILD=debug" "PLATFORM=arduinodue" "ARDUINOWIFI=1"
443 ###############################################################################
444 #### TB Examples - Arduino Due Only - Ethernet Only ####
445 ###############################################################################
447 arduinodue_samples_ethernet: arduinodue_samples_ethernet_release
449 arduinodue_samples_ethernet_all: arduinodue_samples_ethernet_release arduinodue_samples_ethernet_debug
451 arduinodue_samples_ethernet_release: arduinodue_stack_ethernet_release
452 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO DUE - RELEASE - ETHERNET SHIELD====="
453 @echo "=====BUILD OCSERVER - RELEASE - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinodue/ethernet_shield/release/====="
454 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=release" "PLATFORM=arduinodue" "ARDUINOWIFI=0"
456 arduinodue_samples_ethernet_debug: arduinodue_stack_ethernet_debug
457 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO DUE - DEBUG - ETHERNET SHIELD====="
458 @echo "=====BUILD OCSERVER - DEBUG - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinodue/ethernet_shield/debug/====="
459 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=debug" "PLATFORM=arduinodue" "ARDUINOWIFI=0"
461 ###############################################################################
462 #### TB Examples - Arduino Due Only - WiFi Only ####
463 ###############################################################################
465 arduinodue_samples_wifi: arduinodue_samples_wifi_release
467 arduinodue_samples_wifi_all: arduinodue_samples_wifi_release arduinodue_samples_wifi_debug
469 arduinodue_samples_wifi_release: arduinodue_stack_wifi_release
470 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO DUE - RELEASE - WIFI SHIELD====="
471 @echo "=====BUILD OCSERVER - RELEASE - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinodue/wifi_shield/release/====="
472 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=release" "PLATFORM=arduinodue" "ARDUINOWIFI=1"
474 arduinodue_samples_wifi_debug: arduinodue_stack_wifi_debug
475 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO DUE - DEBUG - WIFI SHIELD====="
476 @echo "=====BUILD OCSERVER - DEBUG - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinodue/wifi_shield/debug/====="
477 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=debug" "PLATFORM=arduinodue" "ARDUINOWIFI=1"
479 ###############################################################################
480 #### Clean All - Linux Only - Ethernet Only ####
481 ###############################################################################
484 -rm -rf -C csdk/libcoap/linux
485 -rm -rf -C csdk/linux
486 $(MAKE) -C csdk/stack/test/linux "clean"
487 $(MAKE) -C csdk/stack/samples/linux/SimpleClientServer "clean"
488 $(MAKE) -C csdk/stack/samples/linux/secure "clean"
491 ###############################################################################
492 #### Clean All - Arduino Mega Only - Ethernet & WiFi ####
493 ###############################################################################
496 -rm -rf csdk/libcoap/arduinomega
497 -rm -rf csdk/arduinomega
498 -rm -rf csdk/stack/test/arduino/arduinomega
499 -rm -rf csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinomega
501 ###############################################################################
502 #### Clean All - Arduino Due Only - Ethernet & WiFi ####
503 ###############################################################################
506 -rm -rf csdk/libcoap/arduinodue
507 -rm -rf csdk/arduinodue
508 -rm -rf csdk/stack/test/arduino/arduinodue
509 -rm -rf csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinodue
512 ###############################################################################
513 #### Clean All - Linux, Arduino Mega & Arduino Due - Ethernet & WiFi ####
514 ###############################################################################
516 $(MAKE) -C csdk "clean" "deepclean"
517 $(MAKE) -C csdk/stack/test/linux "clean"
518 $(MAKE) -C csdk/stack/samples/linux/SimpleClientServer "clean"
519 $(MAKE) -C csdk/stack/samples/linux/secure "clean"
520 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "clean"
522 $(MAKE) -C unittests/ "clean"
523 $(MAKE) -C examples/ "clean"
524 $(MAKE) -C oc_logger/ "clean"
526 ###############################################################################
527 ### You must specify arduinomega or arduinodue when using an arduino target.###
528 ###############################################################################
530 $(error "You must specify "arduinomega" or "arduinodue" when trying to\
531 build arduino targets.")