diff options
author | marha <marha@users.sourceforge.net> | 2010-10-22 14:00:01 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-10-22 14:00:01 +0000 |
commit | d74d9f4e60e48260ff1fad3ff00aaf000f111a66 (patch) | |
tree | fcf6ceee3ec04dc8521bbf12453d95cbe187dc40 /tools/mhmake/src/util.h | |
parent | 5a05343a8071f769d092d5bb6bdea9adf65eda9c (diff) | |
download | vcxsrv-d74d9f4e60e48260ff1fad3ff00aaf000f111a66.tar.gz vcxsrv-d74d9f4e60e48260ff1fad3ff00aaf000f111a66.tar.bz2 vcxsrv-d74d9f4e60e48260ff1fad3ff00aaf000f111a66.zip |
Increased gnu make compatibility
Optimised
Diffstat (limited to 'tools/mhmake/src/util.h')
-rw-r--r-- | tools/mhmake/src/util.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tools/mhmake/src/util.h b/tools/mhmake/src/util.h index 9b49cf489..ff1fac9aa 100644 --- a/tools/mhmake/src/util.h +++ b/tools/mhmake/src/util.h @@ -1,6 +1,6 @@ /* This file is part of mhmake.
*
- * Copyright (C) 2001-2009 Marc Haesen
+ * Copyright (C) 2001-2010 marha@sourceforge.net
*
* Mhmake is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -50,7 +50,7 @@ #define PLATFORM "linux"
#endif
-#define MHMAKEVER "2.2.5"
+#define MHMAKEVER "2.2.9"
class makecommand
{
@@ -150,6 +150,7 @@ struct matchres };
bool PercentMatch(const string &String,const string &Expr,matchres *pRes=NULL,const char Char='%');
+bool PercentMatchNoCase(const string &String,const string &Expr,matchres *pRes=NULL,const char Char='%');
bool PercentMatchList(const string &String,const string &ExprList,matchres *pRes=NULL);
string ReplaceWithStem(const string &String,const string &Stem);
@@ -158,20 +159,20 @@ struct loadedmakefile : public refbase struct loadedmakefile_statics
{
map<string,string> m_GlobalCommandLineVars;
- refptr<fileinfo> m_MhMakeConf;
+ fileinfo *m_MhMakeConf;
loadedmakefile_statics();
};
static loadedmakefile_statics sm_Statics;
- refptr<fileinfo> m_Makefile;
- refptr<fileinfo> m_MakeDir;
+ fileinfo *m_Makefile;
+ const fileinfo *m_MakeDir;
map<string,string> m_CommandLineVars;
vector<string> m_CommandLineTargets;
refptr<mhmakeparser> m_pParser;
- loadedmakefile(const refptr<fileinfo> &pDir, vector<string> &Args,const string &Makefile=g_EmptyString);
+ loadedmakefile(const fileinfo *pDir, vector<string> &Args,const string &Makefile=g_EmptyString);
void LoadMakefile();
void AddCommandLineVarsToEnvironment()
|