323 /epoc32/include/platform/mw/loc \ |
329 /epoc32/include/platform/mw/loc \ |
324 /epoc32/include/platform/app/loc \ |
330 /epoc32/include/platform/app/loc \ |
325 /epoc32/include/platform/loc/sc \ |
331 /epoc32/include/platform/loc/sc \ |
326 /epoc32/include/platform/mw/loc/sc \ |
332 /epoc32/include/platform/mw/loc/sc \ |
327 /epoc32/include/platform/app/loc/sc |
333 /epoc32/include/platform/app/loc/sc |
|
334 |
|
335 #ifdef SYMBIAN_OLD_EXPORT_LOCATION |
|
336 #define APP_LAYER_SYSTEMINCLUDE_SYMBIAN SYSTEMINCLUDE \ |
|
337 /epoc32/include \ |
|
338 /epoc32/include/platform |
|
339 #else |
|
340 #define APP_LAYER_SYSTEMINCLUDE_SYMBIAN SYSTEMINCLUDE \ |
|
341 /epoc32/include \ |
|
342 /epoc32/include/mw \ |
|
343 /epoc32/include/platform/mw \ |
|
344 /epoc32/include/platform \ |
|
345 /epoc32/include/app \ |
|
346 /epoc32/include/platform/app |
|
347 #endif |
|
348 /* |
|
349 /epoc32/include/platform/loc \ |
|
350 /epoc32/include/platform/mw/loc \ |
|
351 /epoc32/include/platform/app/loc \ |
|
352 /epoc32/include/platform/loc/sc \ |
|
353 /epoc32/include/platform/mw/loc/sc \ |
|
354 /epoc32/include/platform/app/loc/sc |
|
355 */ |
328 |
356 |
329 /** |
357 /** |
330 * This define statements defines the SYSTEMINCLUDE-line, which is intended to be |
358 * This define statements defines the SYSTEMINCLUDE-line, which is intended to be |
331 * used in the mmp-files that are part of the middleware-layer. It includes all |
359 * used in the mmp-files that are part of the middleware-layer. It includes all |
332 * the needed directories from the /epoc32/include, that are valid ones for the |
360 * the needed directories from the /epoc32/include, that are valid ones for the |
340 /epoc32/include/platform/loc \ |
368 /epoc32/include/platform/loc \ |
341 /epoc32/include/platform/mw/loc \ |
369 /epoc32/include/platform/mw/loc \ |
342 /epoc32/include/platform/loc/sc \ |
370 /epoc32/include/platform/loc/sc \ |
343 /epoc32/include/platform/mw/loc/sc |
371 /epoc32/include/platform/mw/loc/sc |
344 |
372 |
|
373 #ifdef SYMBIAN_OLD_EXPORT_LOCATION |
|
374 #define MW_LAYER_SYSTEMINCLUDE_SYMBIAN SYSTEMINCLUDE \ |
|
375 /epoc32/include \ |
|
376 /epoc32/include/platform |
|
377 #else |
|
378 #define MW_LAYER_SYSTEMINCLUDE_SYMBIAN SYSTEMINCLUDE \ |
|
379 /epoc32/include \ |
|
380 /epoc32/include/mw \ |
|
381 /epoc32/include/platform/mw \ |
|
382 /epoc32/include/platform |
|
383 #endif |
|
384 /* |
|
385 /epoc32/include/platform/loc \ |
|
386 /epoc32/include/platform/mw/loc \ |
|
387 /epoc32/include/platform/loc/sc \ |
|
388 /epoc32/include/platform/mw/loc/sc |
|
389 */ |
|
390 |
345 /** |
391 /** |
346 * This define statements defines the SYSTEMINCLUDE-line, which is intended to be |
392 * This define statements defines the SYSTEMINCLUDE-line, which is intended to be |
347 * used in the mmp-files that are part of the osextensions-layer. It includes all |
393 * used in the mmp-files that are part of the osextensions-layer. It includes all |
348 * the needed directories from the /epoc32/include, that are valid ones for the |
394 * the needed directories from the /epoc32/include, that are valid ones for the |
349 * os-layer components. |
395 * os-layer components. |
351 #define OS_LAYER_SYSTEMINCLUDE SYSTEMINCLUDE \ |
397 #define OS_LAYER_SYSTEMINCLUDE SYSTEMINCLUDE \ |
352 /epoc32/include \ |
398 /epoc32/include \ |
353 /epoc32/include/platform \ |
399 /epoc32/include/platform \ |
354 /epoc32/include/platform/loc \ |
400 /epoc32/include/platform/loc \ |
355 /epoc32/include/platform/loc/sc |
401 /epoc32/include/platform/loc/sc |
|
402 |
|
403 #ifdef SYMBIAN_OLD_EXPORT_LOCATION |
|
404 #define OS_LAYER_SYSTEMINCLUDE_SYMBIAN SYSTEMINCLUDE \ |
|
405 /epoc32/include \ |
|
406 /epoc32/include/platform |
|
407 #else |
|
408 #define OS_LAYER_SYSTEMINCLUDE_SYMBIAN SYSTEMINCLUDE \ |
|
409 /epoc32/include \ |
|
410 /epoc32/include/platform |
|
411 #endif |
|
412 /* |
|
413 /epoc32/include/platform/loc \ |
|
414 /epoc32/include/platform/loc/sc |
|
415 */ |
356 |
416 |
357 // Below statement is Deprecated and the OS_LAYER_SYSTEMINCLUDE-macro has to be |
417 // Below statement is Deprecated and the OS_LAYER_SYSTEMINCLUDE-macro has to be |
358 // used. |
418 // used. |
359 // Removed, use teh OS_LAYER_SYSTEMINCLUDE instead. |
419 // Removed, use teh OS_LAYER_SYSTEMINCLUDE instead. |
360 // #define OSEXT_LAYER_SYSTEMINCLUDE OS_LAYER_SYSTEMINCLUDE |
420 // #define OSEXT_LAYER_SYSTEMINCLUDE OS_LAYER_SYSTEMINCLUDE |
549 * (Configuration Markup Language) and crml (Central Repository Markup Language) |
619 * (Configuration Markup Language) and crml (Central Repository Markup Language) |
550 * files should be exported. |
620 * files should be exported. |
551 * --------------------------------------- |
621 * --------------------------------------- |
552 */ |
622 */ |
553 #if __GNUC__ >= 3 |
623 #if __GNUC__ >= 3 |
554 #define CONFML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/category/file |
624 #define CONFML_EXPORT_PATH(file,category) /epoc32/rom/config/assets/category/confml/file |
555 #define CRML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/category/file |
625 #define CRML_EXPORT_PATH(file,category) /epoc32/rom/config/assets/category/implml/file |
556 #define GCFML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/category/file |
626 #define GCFML_EXPORT_PATH(file,category) /epoc32/rom/config/assets/category/implml/file |
557 #define CONFML_CONFIG_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/category/config/file |
627 #define CONFML_CONFIG_EXPORT_PATH(file,category) /epoc32/rom/config/assets/category/confml/file |
558 #else |
628 #else |
559 #define CONFML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/##category##/##file |
629 #define CONFML_EXPORT_PATH(file,category) /epoc32/rom/config/assets/##category##/confml/##file |
560 #define CRML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/##category##/##file |
630 #define CRML_EXPORT_PATH(file,category) /epoc32/rom/config/assets/##category##/implml/##file |
561 #define GCFML_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/##category##/##file |
631 #define GCFML_EXPORT_PATH(file,category) /epoc32/rom/config/assets/##category##/implml/##file |
562 #define CONFML_CONFIG_EXPORT_PATH(file,category) /epoc32/rom/config/confml_data/##category##/config/##file |
632 #define CONFML_CONFIG_EXPORT_PATH(file,category) /epoc32/rom/config/assets/##category##/confml/##file |
563 #endif |
633 #endif |
564 |
634 |
565 #define APP_LAYER_CONFML(exported) CONFML_EXPORT_PATH(exported,s60) |
635 #define APP_LAYER_CONFML(exported) CONFML_EXPORT_PATH(exported,s60) |
566 #define APP_LAYER_CRML(exported) CRML_EXPORT_PATH(exported,s60) |
636 #define APP_LAYER_CRML(exported) CRML_EXPORT_PATH(exported,s60) |
567 #define APP_LAYER_GCFML(exported) GCFML_EXPORT_PATH(exported,s60) |
637 #define APP_LAYER_GCFML(exported) GCFML_EXPORT_PATH(exported,s60) |
580 #define OS_LAYER_CONFML(exported) CONFML_EXPORT_PATH(exported,s60) |
650 #define OS_LAYER_CONFML(exported) CONFML_EXPORT_PATH(exported,s60) |
581 #define OS_LAYER_CRML(exported) CRML_EXPORT_PATH(exported,s60) |
651 #define OS_LAYER_CRML(exported) CRML_EXPORT_PATH(exported,s60) |
582 #define OS_LAYER_GCFML(exported) GCFML_EXPORT_PATH(exported,s60) |
652 #define OS_LAYER_GCFML(exported) GCFML_EXPORT_PATH(exported,s60) |
583 #define OS_LAYER_CONFML_CONFIG(exported) CONFML_CONFIG_EXPORT_PATH(exported,s60) |
653 #define OS_LAYER_CONFML_CONFIG(exported) CONFML_CONFIG_EXPORT_PATH(exported,s60) |
584 |
654 |
|
655 #define APP_LAYER_EXPORTS_CONFML(exported) CONFML_EXPORT_PATH(exported,symbianos) |
|
656 #define APP_LAYER_EXPORTS_CRML(exported) CRML_EXPORT_PATH(exported,symbianos) |
|
657 #define APP_LAYER_EXPORTS_GCFML(exported) GCFML_EXPORT_PATH(exported,symbianos) |
|
658 |
|
659 #define MW_LAYER_EXPORTS_CONFML(exported) CONFML_EXPORT_PATH(exported,symbianos) |
|
660 #define MW_LAYER_EXPORTS_CRML(exported) CRML_EXPORT_PATH(exported,symbianos) |
|
661 #define MW_LAYER_EXPORTS_GCFML(exported) GCFML_EXPORT_PATH(exported,symbianos) |
|
662 |
|
663 // Deprecate: Use the OS_LAYER_* macros instead of OSEXT_LAYER_* |
|
664 #define OSEXT_LAYER_CONFML(exported) do not use intentionally generates error |
|
665 #define OSEXT_LAYER_CRML(exported) do not use intentionally generates error |
|
666 #define OSEXT_LAYER_GCFML(exported) do not use intentionally generates error |
|
667 #define OSEXT_LAYER_CONFML_CONFIG(exported) do not use intentionally generates error |
|
668 #define OS_LAYER_EXPORTS_CONFML(exported) CONFML_EXPORT_PATH(exported,symbianos) |
|
669 #define OS_LAYER_EXPORTS_CRML(exported) CRML_EXPORT_PATH(exported,symbianos) |
|
670 #define OS_LAYER_EXPORTS_GCFML(exported) GCFML_EXPORT_PATH(exported,symbianos) |
|
671 |
|
672 /** |
|
673 * Macros to be used in kernel and BSP files to specify systeminclude locations. These macros are necessary |
|
674 * because in some case, the systeminclude location changes based on, e.g., hardware platform. |
|
675 */ |
|
676 #if __GNUC__ >= 3 |
|
677 #define SYMBIAN_BASE_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(included) |
|
678 #define SYMBIAN_NE1_TB_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ne1_tb/included) |
|
679 #define SYMBIAN_TIOMAP3_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(tiomap3/included) |
|
680 #define SYMBIAN_H2_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(h2/included) |
|
681 #define SYMBIAN_ASSP_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(assp/included) |
|
682 #define SYMBIAN_OMAP_HRP_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(omap_hrp/included) |
|
683 #define SYMBIAN_WINS_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(wins/included) |
|
684 #define SYMBIAN_8500ED_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(included) |
|
685 #define SYMBIAN_8500_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(included) |
|
686 #define SYMBIAN_INTERNAL_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(internal/included) |
|
687 #define SYMBIAN_CONFIG_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(included) |
|
688 #define SYMBIAN_NDKX_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(included) |
|
689 #else |
|
690 #define SYMBIAN_BASE_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(##included) |
|
691 #define SYMBIAN_NE1_TB_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(ne1_tb/##included) |
|
692 #define SYMBIAN_TIOMAP3_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(tiomap3/##included) |
|
693 #define SYMBIAN_H2_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(h2/##included) |
|
694 #define SYMBIAN_ASSP_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(assp/##included) |
|
695 #define SYMBIAN_OMAP_HRP_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(omap_hrp/##included) |
|
696 #define SYMBIAN_WINS_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(wins/##included) |
|
697 #define SYMBIAN_8500ED_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(##included) |
|
698 #define SYMBIAN_8500_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(##included) |
|
699 #define SYMBIAN_INTERNAL_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(internal/##included) |
|
700 #define SYMBIAN_CONFIG_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(##included) |
|
701 #define SYMBIAN_NDKX_SYSTEMINCLUDE(included) SYSTEMINCLUDE SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(##included) |
|
702 #endif |
|
703 |
|
704 |
|
705 /** |
|
706 * Temporary macros for Symbian exports. |
|
707 */ |
|
708 #ifdef SYMBIAN_OLD_EXPORT_LOCATION |
|
709 #if __GNUC__ >= 3 |
|
710 #define SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(exported) |
|
711 #define SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(exported) |
|
712 #define SYMBIAN_MW_LAYER_PUBLIC_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(exported) |
|
713 #define SYMBIAN_MW_LAYER_PLATFORM_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(exported) |
|
714 #define SYMBIAN_APP_LAYER_PUBLIC_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(exported) |
|
715 #define SYMBIAN_APP_LAYER_PLATFORM_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(exported) |
|
716 #else |
|
717 #define SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(##exported) |
|
718 #define SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(##exported) |
|
719 #define SYMBIAN_MW_LAYER_PUBLIC_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(##exported) |
|
720 #define SYMBIAN_MW_LAYER_PLATFORM_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(##exported) |
|
721 #define SYMBIAN_APP_LAYER_PUBLIC_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(##exported) |
|
722 #define SYMBIAN_APP_LAYER_PLATFORM_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(##exported) |
|
723 #endif |
|
724 #else // not SYMBIAN_OLD_EXPORT_LOCATION |
|
725 #if __GNUC__ >= 3 |
|
726 #define SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(exported) |
|
727 #define SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(exported) OS_LAYER_PLATFORM_EXPORT_PATH(exported) |
|
728 #define SYMBIAN_MW_LAYER_PUBLIC_EXPORT_PATH(exported) MW_LAYER_PUBLIC_EXPORT_PATH(exported) |
|
729 #define SYMBIAN_MW_LAYER_PLATFORM_EXPORT_PATH(exported) MW_LAYER_PLATFORM_EXPORT_PATH(exported) |
|
730 #define SYMBIAN_APP_LAYER_PUBLIC_EXPORT_PATH(exported) APP_LAYER_PUBLIC_EXPORT_PATH(exported) |
|
731 #define SYMBIAN_APP_LAYER_PLATFORM_EXPORT_PATH(exported) APP_LAYER_PLATFORM_EXPORT_PATH(exported) |
|
732 #else |
|
733 #define SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(exported) OS_LAYER_PUBLIC_EXPORT_PATH(##exported) |
|
734 #define SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(exported) OS_LAYER_PLATFORM_EXPORT_PATH(##exported) |
|
735 #define SYMBIAN_MW_LAYER_PUBLIC_EXPORT_PATH(exported) MW_LAYER_PUBLIC_EXPORT_PATH(##exported) |
|
736 #define SYMBIAN_MW_LAYER_PLATFORM_EXPORT_PATH(exported) MW_LAYER_PLATFORM_EXPORT_PATH(##exported) |
|
737 #define SYMBIAN_APP_LAYER_PUBLIC_EXPORT_PATH(exported) APP_LAYER_PUBLIC_EXPORT_PATH(##exported) |
|
738 #define SYMBIAN_APP_LAYER_PLATFORM_EXPORT_PATH(exported) APP_LAYER_PLATFORM_EXPORT_PATH(##exported) |
|
739 #endif |
|
740 #endif |
|
741 |
585 #endif // end of PLATFORM_PATHS_HRH |
742 #endif // end of PLATFORM_PATHS_HRH |
|
743 |