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"
171 linux_tb_examples_debug: linux_tb_stack_debug
172 @echo "=====BUILD TB SAMPLE APPS FOR LINUX - DEBUG - <oic-resource>/csdk/stack/samples/linux/SimpleClientServer/debug/====="
173 $(MAKE) -C csdk/stack/samples/linux/SimpleClientServer "PLATFORM=linux" "BUILD=debug"
175 ###############################################################################
176 #### UB Stack (& TB Stack as prerequisite) - Linux Only ####
177 ###############################################################################
179 linux_ub_stack: linux_ub_stack_release
181 linux_ub_stack_all: linux_ub_stack_release linux_ub_stack_debug
183 linux_ub_stack_release: linux_tb_stack_release
184 @echo "=====BUILD UB STACK FOR LINUX - RELEASE - <oic-resource>/release/====="
185 $(MAKE) -C ./ "buildScript_all" "BUILD=release"
187 linux_ub_stack_debug: linux_tb_stack_debug
188 @echo "=====BUILD UB STACK FOR LINUX - DEBUG - <oic-resource>/debug/====="
189 $(MAKE) -C ./ "buildScript_all" "BUILD=debug"
191 ###############################################################################
192 #### UB Unit Tests (& TB Stack as prequisite) - Linux Only ####
193 ###############################################################################
195 linux_ub_unittests: linux_ub_unittests_release
197 linux_ub_unittests_all: linux_ub_unittests_release linux_ub_unittests_debug
199 linux_ub_unittests_release: linux_ub_stack_release
200 @echo "=====BUILD UB UNIT TESTS FOR LINUX - RELEASE - <oic-resource>/unittests/release====="
201 $(MAKE) -C unittests/ "BUILD=release"
203 linux_ub_unittests_debug: linux_ub_stack_debug
204 @echo "=====BUILD UB UNIT TESTS FOR LINUX - DEBUG - <oic-resource>/unittests/debug====="
205 $(MAKE) -C unittests/ "BUILD=debug"
207 ###############################################################################
208 #### UB Examples (& UB Stack as prerequisite) - Linux Only ####
209 ###############################################################################
211 linux_ub_examples: linux_ub_examples_release
213 linux_ub_examples_all: linux_ub_examples_release linux_ub_examples_debug
215 linux_ub_examples_release: linux_ub_stack_release
216 @echo "=====BUILD UB SAMPLE APPS FOR LINUX - RELEASE - <oic-resource>/examples/release/====="
217 $(MAKE) -C examples/ "buildScript_all" "BUILD=release"
219 linux_ub_examples_debug: linux_ub_stack_debug
220 @echo "=====BUILD UB SAMPLE APPS FOR LINUX - DEBUG - <oic-resource>/examples/debug/====="
221 $(MAKE) -C examples/ "buildScript_all" "BUILD=debug"
223 ###############################################################################
224 #### TB Stack, TB Unit Tests, TB Examples, UB Stack, UB Examples, ####
225 #### UB Unit Tests, & OCICUC - Linux Only ####
226 ###############################################################################
228 linux_ub_dev: linux_ub_stack_all linux_ub_unittests_all linux_ub_examples_all linux_tb_examples_all
229 @echo "=====BUILD UB OCICUC - <oic-resource>/examples/ocicuc/====="
230 $(MAKE) -C examples/ocicuc/
232 ###############################################################################
233 #TB Stack, TB Unit Tests, & TB Examples - Arduino Mega Only - Ethernet & WiFi #
234 ###############################################################################
236 arduinomega: arduinomega_release
238 arduinomega_all: arduinomega_release arduinomega_debug
240 arduinomega_all_dev: arduinomega_release_dev arduinomega_debug_dev
242 arduinomega_release: arduinomega_ethernet_release
244 arduinomega_debug: arduinomega_ethernet_debug
246 arduinomega_release_dev: arduinomega_ethernet_release arduinomega_wifi_release
248 arduinomega_debug_dev: arduinomega_ethernet_debug arduinomega_wifi_debug
250 ###############################################################################
251 ## TB Stack, TB Unit Tests, & TB Examples - Arduino Mega Only - Ethernet Only #
252 ###############################################################################
254 arduinomega_ethernet: arduinomega_ethernet_release
256 arduinomega_ethernet_all: arduinomega_ethernet_release arduinomega_ethernet_debug
258 arduinomega_ethernet_release: arduinomega_stack_ethernet_release arduinomega_samples_ethernet_release
260 arduinomega_ethernet_debug: arduinomega_stack_ethernet_debug arduinomega_samples_ethernet_debug
262 ###############################################################################
263 ## TB Stack, TB Unit Tests, & TB Examples - Arduino Mega Only - Ethernet Only #
264 ###############################################################################
266 arduinomega_wifi: arduinomega_wifi_release
268 arduinomega_wifi_all: arduinomega_wifi_release arduinomega_wifi_debug
270 arduinomega_wifi_release: arduinomega_stack_wifi_release arduinomega_samples_wifi_release
272 arduinomega_wifi_debug: arduinomega_stack_wifi_debug arduinomega_samples_wifi_debug
274 ###############################################################################
275 #### TB Stack - Arduino Mega Only - Ethernet Only ####
276 ###############################################################################
278 arduinomega_stack_ethernet: arduinomega_stack_ethernet_release
280 arduinomega_stack_ethernet_all: arduinomega_stack_ethernet_release arduinomega_stack_ethernet_debug
282 arduinomega_stack_ethernet_release:
283 @echo "=====BUILD C STACK FOR ARDUINO ATMEGA 2560 - RELEASE - ETHERNET SHIELD======"
284 @echo "=====BUILD LIBCOAP - RELEASE - <oic-resource>/csdk/libcoap/arduinomega/ethernet_shield/release/====="
285 $(MAKE) -C csdk/libcoap "BUILD=release" "PLATFORM=arduinomega" "ARDUINOWIFI=0"
286 @echo "=====BUILD TB STACK - RELEASE - <oic-resource>/csdk/arduinomega/ethernet_shield/release/====="
287 $(MAKE) -C csdk "buildScript_all" "BUILD=release" "PLATFORM=arduinomega" "ARDUINOWIFI=0"
289 arduinomega_stack_ethernet_debug:
290 @echo "=====BUILD C STACK FOR ARDUINO ATMEGA 2560 - DEBUG - ETHERNET SHIELD======"
291 @echo "=====BUILD LIBCOAP - DEBUG - <oic-resource>/csdk/libcoap/arduinomega/ethernet_shield/debug/====="
292 $(MAKE) -C csdk/libcoap "BUILD=debug" "PLATFORM=arduinomega" "ARDUINOWIFI=0"
293 @echo "=====BUILD TB STACK - DEBUG - <oic-resource>/csdk/arduinomega/ethernet_shield/debug/====="
294 $(MAKE) -C csdk "buildScript_all" "BUILD=debug" "PLATFORM=arduinomega" "ARDUINOWIFI=0"
296 ###############################################################################
297 #### TB Stack - Arduino Mega Only - WiFi Only ####
298 ###############################################################################
300 arduinomega_stack_wifi: arduinomega_stack_wifi_release
302 arduinomega_stack_wifi_all: arduinomega_stack_wifi_release arduinomega_stack_wifi_debug
304 arduinomega_stack_wifi_release:
305 @echo "=====BUILD C STACK FOR ARDUINO ATMEGA 2560 - RELEASE - WiFi SHIELD======"
306 @echo "=====BUILD LIBCOAP - RELEASE - <oic-resource>/csdk/libcoap/arduinomega/wifi_shield/release/====="
307 $(MAKE) -C csdk/libcoap "BUILD=release" "PLATFORM=arduinomega" "ARDUINOWIFI=1"
308 @echo "=====BUILD TB STACK - RELEASE - <oic-resource>/csdk/arduinomega/wifi_shield/release/====="
309 $(MAKE) -C csdk "buildScript_all" "BUILD=release" "PLATFORM=arduinomega" "ARDUINOWIFI=1"
311 arduinomega_stack_wifi_debug:
312 @echo "=====BUILD C STACK FOR ARDUINO ATMEGA 2560 - DEBUG - WiFi SHIELD======"
313 @echo "=====BUILD LIBCOAP - DEBUG - <oic-resource>/csdk/libcoap/arduinomega/wifi_shield/debug/====="
314 $(MAKE) -C csdk/libcoap "BUILD=debug" "PLATFORM=arduinomega" "ARDUINOWIFI=1"
315 @echo "=====BUILD TB STACK - DEBUG - <oic-resource>/csdk/arduinomega/wifi_shield/debug/====="
316 $(MAKE) -C csdk "buildScript_all" "BUILD=debug" "PLATFORM=arduinomega" "ARDUINOWIFI=1"
318 ###############################################################################
319 #### TB Examples - Arduino Mega Only - Ethernet Only ####
320 ###############################################################################
322 arduinomega_samples_ethernet: arduinomega_samples_ethernet_release
324 arduinomega_samples_ethernet_all: arduinomega_samples_ethernet_release arduinomega_samples_ethernet_debug
326 arduinomega_samples_ethernet_release: arduinomega_stack_ethernet_release
327 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO ATMEGA 2560 - RELEASE - ETHERNET SHIELD====="
328 @echo "=====BUILD OCSERVER - RELEASE - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinomega/ethernet_shield/release/====="
329 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=release" "PLATFORM=arduinomega" "ARDUINOWIFI=0"
331 arduinomega_samples_ethernet_debug: arduinomega_stack_ethernet_debug
332 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO ATMEGA 2560 - DEBUG - ETHERNET SHIELD====="
333 @echo "=====BUILD OCSERVER - DEBUG - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinomega/ethernet_shield/debug/====="
334 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=debug" "PLATFORM=arduinomega" "ARDUINOWIFI=0"
336 ###############################################################################
337 #### TB Examples - Arduino Mega Only - WiFi Only ####
338 ###############################################################################
340 arduinomega_samples_wifi: arduinomega_samples_wifi_release
342 arduinomega_samples_wifi_all: arduinomega_samples_wifi_release arduinomega_samples_wifi_debug
344 arduinomega_samples_wifi_release: arduinomega_stack_wifi_release
345 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO ATMEGA 2560 - RELEASE - WIFI SHIELD====="
346 @echo "=====BUILD OCSERVER - RELEASE - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinomega/wifi_shield/release/====="
347 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=release" "PLATFORM=arduinomega" "ARDUINOWIFI=1"
349 arduinomega_samples_wifi_debug: arduinomega_stack_wifi_debug
350 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO ATMEGA 2560 - DEBUG - WIFI SHIELD====="
351 @echo "=====BUILD OCSERVER - DEBUG - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinomega/wifi_shield/debug/====="
352 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=debug" "PLATFORM=arduinomega" "ARDUINOWIFI=1"
355 ###############################################################################
356 #TB Stack, TB Unit Tests, & TB Examples - Arduino Due Only - Ethernet & WiFi ##
357 ###############################################################################
359 arduinodue: arduinodue_release
361 arduinodue_all: arduinodue_release arduinodue_debug
363 arduinodue_all_dev: arduinodue_release_dev arduinodue_debug_dev
365 arduinodue_release: arduinodue_ethernet_release
367 arduinodue_debug: arduinodue_ethernet_debug
369 arduinodue_release_dev: arduinodue_ethernet_release arduinodue_wifi_release
371 arduinodue_debug_dev: arduinodue_ethernet_debug arduinodue_wifi_debug
373 ###############################################################################
374 ## TB Stack, TB Unit Tests, & TB Examples - Arduino Due Only - Ethernet Only ##
375 ###############################################################################
377 arduinodue_ethernet: arduinodue_ethernet_release
379 arduinodue_ethernet_all: arduinodue_ethernet_release arduinodue_ethernet_debug
381 arduinodue_ethernet_release: arduinodue_stack_ethernet_release arduinodue_samples_ethernet_release
383 arduinodue_ethernet_debug: arduinodue_stack_ethernet_debug arduinodue_samples_ethernet_debug
385 ###############################################################################
386 ## TB Stack, TB Unit Tests, & TB Examples - Arduino Due Only - Ethernet Only ##
387 ###############################################################################
389 arduinodue_wifi: arduinodue_wifi_release
391 arduinodue_wifi_all: arduinodue_wifi_release arduinodue_wifi_debug
393 arduinodue_wifi_release: arduinodue_stack_wifi_release arduinodue_samples_wifi_release
395 arduinodue_wifi_debug: arduinodue_stack_wifi_debug arduinodue_samples_wifi_debug
397 ###############################################################################
398 #### TB Stack - Arduino Due Only - Ethernet Only ####
399 ###############################################################################
401 arduinodue_stack_ethernet: arduinodue_stack_ethernet_release
403 arduinodue_stack_ethernet_all: arduinodue_stack_ethernet_release arduinodue_stack_ethernet_debug
405 arduinodue_stack_ethernet_release:
406 @echo "=====BUILD C STACK FOR ARDUINO DUE - RELEASE - ETHERNET SHIELD======"
407 @echo "=====BUILD LIBCOAP - RELEASE - <oic-resource>/csdk/libcoap/arduinodue/ethernet_shield/release/====="
408 $(MAKE) -C csdk/libcoap "BUILD=release" "PLATFORM=arduinodue" "ARDUINOWIFI=0"
409 @echo "=====BUILD TB STACK - RELEASE - <oic-resource>/csdk/arduinodue/ethernet_shield/release/====="
410 $(MAKE) -C csdk "buildScript_all" "BUILD=release" "PLATFORM=arduinodue" "ARDUINOWIFI=0"
412 arduinodue_stack_ethernet_debug:
413 @echo "=====BUILD C STACK FOR ARDUINO DUE - DEBUG - ETHERNET SHIELD======"
414 @echo "=====BUILD LIBCOAP - DEBUG - <oic-resource>/csdk/libcoap/arduinodue/ethernet_shield/debug/====="
415 $(MAKE) -C csdk/libcoap "BUILD=debug" "PLATFORM=arduinodue" "ARDUINOWIFI=0"
416 @echo "=====BUILD TB STACK - DEBUG - <oic-resource>/csdk/arduinodue/ethernet_shield/debug/====="
417 $(MAKE) -C csdk "buildScript_all" "BUILD=debug" "PLATFORM=arduinodue" "ARDUINOWIFI=0"
419 ###############################################################################
420 #### TB Stack - Arduino Due Only - WiFi Only ####
421 ###############################################################################
423 arduinodue_stack_wifi: arduinodue_stack_wifi_release
425 arduinodue_stack_wifi_all: arduinodue_stack_wifi_release arduinodue_stack_wifi_debug
427 arduinodue_stack_wifi_release:
428 @echo "=====BUILD C STACK FOR ARDUINO DUE - RELEASE - WiFi SHIELD======"
429 @echo "=====BUILD LIBCOAP - RELEASE - <oic-resource>/csdk/libcoap/arduinodue/wifi_shield/release/====="
430 $(MAKE) -C csdk/libcoap "BUILD=release" "PLATFORM=arduinodue" "ARDUINOWIFI=1"
431 @echo "=====BUILD TB STACK - RELEASE - <oic-resource>/csdk/arduinodue/wifi_shield/release/====="
432 $(MAKE) -C csdk "buildScript_all" "BUILD=release" "PLATFORM=arduinodue" "ARDUINOWIFI=1"
434 arduinodue_stack_wifi_debug:
435 @echo "=====BUILD C STACK FOR ARDUINO DUE - DEBUG - WiFi SHIELD======"
436 @echo "=====BUILD LIBCOAP - DEBUG - <oic-resource>/csdk/libcoap/arduinodue/wifi_shield/debug/====="
437 $(MAKE) -C csdk/libcoap "BUILD=debug" "PLATFORM=arduinodue" "ARDUINOWIFI=1"
438 @echo "=====BUILD TB STACK - DEBUG - <oic-resource>/csdk/arduinodue/wifi_shield/debug/====="
439 $(MAKE) -C csdk "buildScript_all" "BUILD=debug" "PLATFORM=arduinodue" "ARDUINOWIFI=1"
441 ###############################################################################
442 #### TB Examples - Arduino Due Only - Ethernet Only ####
443 ###############################################################################
445 arduinodue_samples_ethernet: arduinodue_samples_ethernet_release
447 arduinodue_samples_ethernet_all: arduinodue_samples_ethernet_release arduinodue_samples_ethernet_debug
449 arduinodue_samples_ethernet_release: arduinodue_stack_ethernet_release
450 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO DUE - RELEASE - ETHERNET SHIELD====="
451 @echo "=====BUILD OCSERVER - RELEASE - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinodue/ethernet_shield/release/====="
452 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=release" "PLATFORM=arduinodue" "ARDUINOWIFI=0"
454 arduinodue_samples_ethernet_debug: arduinodue_stack_ethernet_debug
455 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO DUE - DEBUG - ETHERNET SHIELD====="
456 @echo "=====BUILD OCSERVER - DEBUG - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinodue/ethernet_shield/debug/====="
457 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=debug" "PLATFORM=arduinodue" "ARDUINOWIFI=0"
459 ###############################################################################
460 #### TB Examples - Arduino Due Only - WiFi Only ####
461 ###############################################################################
463 arduinodue_samples_wifi: arduinodue_samples_wifi_release
465 arduinodue_samples_wifi_all: arduinodue_samples_wifi_release arduinodue_samples_wifi_debug
467 arduinodue_samples_wifi_release: arduinodue_stack_wifi_release
468 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO DUE - RELEASE - WIFI SHIELD====="
469 @echo "=====BUILD OCSERVER - RELEASE - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinodue/wifi_shield/release/====="
470 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=release" "PLATFORM=arduinodue" "ARDUINOWIFI=1"
472 arduinodue_samples_wifi_debug: arduinodue_stack_wifi_debug
473 @echo "=====BUILD TB SAMPLE APPS FOR ARDUINO DUE - DEBUG - WIFI SHIELD====="
474 @echo "=====BUILD OCSERVER - DEBUG - <oic-resource>/csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinodue/wifi_shield/debug/====="
475 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "BUILD=debug" "PLATFORM=arduinodue" "ARDUINOWIFI=1"
477 ###############################################################################
478 #### Clean All - Linux Only - Ethernet Only ####
479 ###############################################################################
482 -rm -rf -C csdk/libcoap/linux
483 -rm -rf -C csdk/linux
484 $(MAKE) -C csdk/stack/test/linux "clean"
485 $(MAKE) -C csdk/stack/samples/linux/SimpleClientServer "clean"
488 ###############################################################################
489 #### Clean All - Arduino Mega Only - Ethernet & WiFi ####
490 ###############################################################################
493 -rm -rf csdk/libcoap/arduinomega
494 -rm -rf csdk/arduinomega
495 -rm -rf csdk/stack/test/arduino/arduinomega
496 -rm -rf csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinomega
498 ###############################################################################
499 #### Clean All - Arduino Due Only - Ethernet & WiFi ####
500 ###############################################################################
503 -rm -rf csdk/libcoap/arduinodue
504 -rm -rf csdk/arduinodue
505 -rm -rf csdk/stack/test/arduino/arduinodue
506 -rm -rf csdk/stack/samples/arduino/SimpleClientServer/ocserver/arduinodue
509 ###############################################################################
510 #### Clean All - Linux, Arduino Mega & Arduino Due - Ethernet & WiFi ####
511 ###############################################################################
513 $(MAKE) -C csdk "clean" "deepclean"
514 $(MAKE) -C csdk/stack/test/linux "clean"
515 $(MAKE) -C csdk/stack/samples/linux/SimpleClientServer "clean"
516 $(MAKE) -C csdk/stack/samples/arduino/SimpleClientServer/ocserver "clean"
518 $(MAKE) -C unittests/ "clean"
519 $(MAKE) -C examples/ "clean"
520 $(MAKE) -C oc_logger/ "clean"
522 ###############################################################################
523 ### You must specify arduinomega or arduinodue when using an arduino target.###
524 ###############################################################################
526 $(error "You must specify "arduinomega" or "arduinodue" when trying to\
527 build arduino targets.")