- makensis should now compile on any POSIX compliment platform (Linux, *BSD, Mac OS X, etc.)

- improved makefiles so nothing is compiled when it's already up-to-date
- Added SW_HIDE to ExecShell's accepted show modes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3518 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-03-29 20:21:00 +00:00
parent 8567625b0e
commit 4c5f8a30eb
46 changed files with 2054 additions and 679 deletions

View file

@ -1,7 +1,7 @@
#ifndef _BUILD_H_
#define _BUILD_H_
#include <StdExcept>
#include <stdexcept>
using namespace std;
@ -18,9 +18,8 @@ using namespace std;
#ifdef NSIS_SUPPORT_STANDARD_PREDEFINES
// Added by Sunil Kamath 11 June 2003
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
# include <time.h>
# include <sys/stat.h>
#endif
#ifdef NSIS_CONFIG_COMPRESSION_SUPPORT
@ -33,7 +32,7 @@ using namespace std;
#endif//NSIS_CONFIG_COMPRESSION_SUPPORT
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
#include "Plugins.h"
# include "Plugins.h"
#endif //NSIS_CONFIG_PLUGIN_SUPPORT
#ifdef NSIS_CONFIG_CRC_SUPPORT
@ -48,7 +47,7 @@ extern "C"
#define PS_ERROR 50
#define PS_WARNING 100
enum {
enum notify_e {
MAKENSIS_NOTIFY_SCRIPT,
MAKENSIS_NOTIFY_WARNING,
MAKENSIS_NOTIFY_ERROR,
@ -66,6 +65,7 @@ enum {
class CEXEBuild {
public:
CEXEBuild();
void CEXEBuild::setdirs(char *argv0);
~CEXEBuild();
// to add a warning to the compiler's warning list.
@ -104,8 +104,12 @@ class CEXEBuild {
char *curfilename;
FILE *fp;
#ifdef _WIN32
HWND notify_hwnd;
void notify(int code, char *data);
void notify(notify_e code, char *data);
#else
void notify(notify_e code, char *data) { }
#endif
private:
// tokens.cpp