4 #include "../backend.h"
5 #include "modulehandler.h"
7 class MingwModuleHandlerList
: public std::vector
<MingwModuleHandler
*>
10 MingwModuleHandlerList()
13 ~MingwModuleHandlerList()
15 for ( size_t i
= 0; i
< size(); i
++ )
21 // disable copy semantics
22 MingwModuleHandlerList ( const MingwModuleHandlerList
& );
23 MingwModuleHandlerList
& operator = ( const MingwModuleHandlerList
& );
27 class MingwBackend
: public Backend
30 MingwBackend ( Project
& project
);
31 virtual void Process ();
33 void ProcessModule ( Module
& module
);
34 void GetModuleHandlers ( MingwModuleHandlerList
& moduleHandlers
) const;
35 void CreateMakefile ();
36 void CloseMakefile ();
37 void GenerateHeader ();
38 void GenerateGlobalVariables ();
39 void GenerateAllTarget ();
43 std::string
FixupTargetFilename ( const std::string
& targetFilename
);