-XCOMM On Linux once you link against a C++ library the whole program
-XCOMM has to be linked with the C++ linker
-#if defined(LinuxDistribution)
-CCLINK = $(CXX)
-EXTRA_DEFINES = -I/usr/include/freetype2
+#if defined(LinuxArchitecture)
+EXTRA_INCLUDES = -I/usr/include/freetype2
+EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
+#endif
+
+#if defined(BSDArchitecture)
+EXTRA_INCLUDES = -I$(XPROJECTROOT)/include/freetype2
+EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE