uiaccelerator_plat/alf_extension_api/group/bld.inf
changeset 60 5dafecb0892a
parent 0 15bf7259bb7c
--- a/uiaccelerator_plat/alf_extension_api/group/bld.inf	Tue Sep 28 14:40:28 2010 +0300
+++ b/uiaccelerator_plat/alf_extension_api/group/bld.inf	Thu Oct 14 18:35:08 2010 +0300
@@ -17,20 +17,43 @@
 */
 
 
+// The new Symbian Build System (SBS, Raptor) gives warnings from ##
+// concatenation. Use __GNUC__ >= 3 to check the SBS version!
+#ifndef __SERIES60_30__
+#include <platform_paths.hrh>
+#if __GNUC__ >= 3
+#define CORETOOLKIT_EXPORT_FOLDER(P) ../P
+#define INTERNAL_UIACCEL_EXPORT_PATH(S) |../../../inc/S
 
-#include <platform_paths.hrh>
+#else
+#define CORETOOLKIT_EXPORT_FOLDER(P) ../##P
+#define INTERNAL_UIACCEL_EXPORT_PATH(S) |../../../inc/##S
+
+#endif
+#else
+#if __GNUC__ >= 3
+#define MW_LAYER_PLATFORM_EXPORT_PATH(S) /epoc32/include/oem/S
+#define CORETOOLKIT_EXPORT_FOLDER(P) ../alf_core_toolkit_api/P
+#define INTERNAL_UIACCEL_EXPORT_PATH(S) |../../../inc/S
+#else
+#define MW_LAYER_PLATFORM_EXPORT_PATH(S) /epoc32/include/oem/##S
+#define CORETOOLKIT_EXPORT_FOLDER(P) ../alf_core_toolkit_api/##P
+#define INTERNAL_UIACCEL_EXPORT_PATH(S)	|../../../inc/##S
+
+#endif
+#endif
 
 PRJ_PLATFORMS
 DEFAULT
 
 PRJ_EXPORTS
 
-../inc/alf/alfserverutils.h     MW_LAYER_PLATFORM_EXPORT_PATH(alf/alfserverutils.h)
-../inc/alf/alfred.hrh     MW_LAYER_PLATFORM_EXPORT_PATH(alf/alfred.hrh)
-../inc/alf/alfextensionfactory.h     MW_LAYER_PLATFORM_EXPORT_PATH(alf/alfextensionfactory.h)
-../inc/alf/ftokenclient.h     MW_LAYER_PLATFORM_EXPORT_PATH(alf/ftokenclient.h)
-../inc/alf/alflayouthandlers.h     MW_LAYER_PLATFORM_EXPORT_PATH(alf/alflayouthandlers.h)
-../inc/alf/alfvisualhandlers.h     MW_LAYER_PLATFORM_EXPORT_PATH(alf/alfvisualhandlers.h)
-../inc/alf/alfconstants.h     MW_LAYER_PLATFORM_EXPORT_PATH(alf/alfconstants.h)
-../inc/alf/alfbrushhandlers.h     MW_LAYER_PLATFORM_EXPORT_PATH(alf/alfbrushhandlers.h)
-../inc/alf/alfhintplugin.h     MW_LAYER_PLATFORM_EXPORT_PATH(alf/alfhintplugin.h)
\ No newline at end of file
+../inc/alf/alfserverutils.h     INTERNAL_UIACCEL_EXPORT_PATH(alf/alfserverutils.h)
+../inc/alf/alfred.hrh     INTERNAL_UIACCEL_EXPORT_PATH(alf/alfred.hrh)
+../inc/alf/alfextensionfactory.h     INTERNAL_UIACCEL_EXPORT_PATH(alf/alfextensionfactory.h)
+../inc/alf/ftokenclient.h     INTERNAL_UIACCEL_EXPORT_PATH(alf/ftokenclient.h)
+../inc/alf/alflayouthandlers.h     INTERNAL_UIACCEL_EXPORT_PATH(alf/alflayouthandlers.h)
+../inc/alf/alfvisualhandlers.h     INTERNAL_UIACCEL_EXPORT_PATH(alf/alfvisualhandlers.h)
+../inc/alf/alfconstants.h     INTERNAL_UIACCEL_EXPORT_PATH(alf/alfconstants.h)
+../inc/alf/alfbrushhandlers.h     INTERNAL_UIACCEL_EXPORT_PATH(alf/alfbrushhandlers.h)
+../inc/alf/alfhintplugin.h     INTERNAL_UIACCEL_EXPORT_PATH(alf/alfhintplugin.h)
\ No newline at end of file