\r
string module_type = GetExtension(module.GetTargetName());\r
bool lib = (module_type == ".lib") || (module_type == ".a");\r
- bool dll = (module_type == ".dll");\r
+ bool dll = (module_type == ".dll") || (module_type == ".cpl");\r
bool exe = (module_type == ".exe");\r
// TODO FIXME - need more checks here for 'sys' and possibly 'drv'?\r
\r
if ( !strncmp(incs[i]->directory.c_str(), "w32api", 6 ) )\r
continue;\r
\r
+ // explicitly omit include/wine directories\r
+ if ( !strncmp(incs[i]->directory.c_str(), "include\\wine", 12 ) )\r
+ continue;\r
+\r
string path = Path::RelativeFromDirectory (\r
incs[i]->directory,\r
module.GetBasePath() );\r
\r
fprintf ( OUT, "\t\t\t\tAdditionalIncludeDirectories=\"" );\r
bool multiple_includes = false;\r
+ fprintf ( OUT, "/.;" );\r
for ( i = 0; i < includes.size(); i++ )\r
{\r
const string& include = includes[i];\r