projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more mods to support windows, but for gnu compilation this time under cygwin.
[feisty_meow.git]
/
scripts
/
clam
/
cpp
/
variables.def
diff --git
a/scripts/clam/cpp/variables.def
b/scripts/clam/cpp/variables.def
index 1581e075c94022527ed095927981c579776651e7..fc161193e0a4108a947d81d8cb45c99cb3358140 100644
(file)
--- a/
scripts/clam/cpp/variables.def
+++ b/
scripts/clam/cpp/variables.def
@@
-72,8
+72,8
@@
ifeq "$(COMPILER)" ""
endif
endif
ifeq "$(OP_SYSTEM)" "WIN32"
endif
endif
ifeq "$(OP_SYSTEM)" "WIN32"
-
#
COMPILER := GNU_WINDOWS
- COMPILER := VISUAL_CPP
+ COMPILER := GNU_WINDOWS
+
#
COMPILER := VISUAL_CPP
endif
ifeq "$(COMPILER)" ""
# if we get into this case, we have no idea how to set the default
endif
ifeq "$(COMPILER)" ""
# if we get into this case, we have no idea how to set the default
@@
-456,6
+456,10
@@
ifneq "$(OMIT_VERSIONS)" ""
DEFINITIONS += NO_VERSION
endif
DEFINITIONS += NO_VERSION
endif
+############################################################################
+# compiler specific section below.
+############################################################################
+
ifeq "$(COMPILER)" "GNU_LINUX"
# Unix GNU compiler...
CC = g++
ifeq "$(COMPILER)" "GNU_LINUX"
# Unix GNU compiler...
CC = g++
@@
-538,6
+542,8
@@
ifeq "$(COMPILER)" "GNU_LINUX"
endif
endif
+############################################################################
+
ifeq "$(COMPILER)" "GNU_ARM_LINUX"
# ARM-linux GNU compiler...
COMPILER_ROOT_DIR = /usr/local/arm-linux
ifeq "$(COMPILER)" "GNU_ARM_LINUX"
# ARM-linux GNU compiler...
COMPILER_ROOT_DIR = /usr/local/arm-linux
@@
-582,6
+588,8
@@
ifeq "$(COMPILER)" "GNU_ARM_LINUX"
endif
endif
+############################################################################
+
ifeq "$(COMPILER)" "GNU_WINDOWS"
# GNU compiler for MS Windoze...
CC = g++
ifeq "$(COMPILER)" "GNU_WINDOWS"
# GNU compiler for MS Windoze...
CC = g++
@@
-606,6
+614,7
@@
ifeq "$(COMPILER)" "GNU_WINDOWS"
LIBRARY_TOOL = ar
LIBRARY_PATH_FLAG = -L
LIB_PREFIX = lib
LIBRARY_TOOL = ar
LIBRARY_PATH_FLAG = -L
LIB_PREFIX = lib
+ LIB_ENDING = .a
# LOAD_FLAG_PREFIX += -lpthread
LOAD_FLAG_PREFIX += -mwindows
CREATE_LIBRARY_FLAG += -r
# LOAD_FLAG_PREFIX += -lpthread
LOAD_FLAG_PREFIX += -mwindows
CREATE_LIBRARY_FLAG += -r
@@
-619,6
+628,8
@@
ifeq "$(COMPILER)" "GNU_WINDOWS"
endif
endif
+############################################################################
+
ifeq "$(COMPILER)" "VISUAL_CPP"
# microsoft visual c++ 4.x, 5.x or 6.x.
ifeq "$(COMPILER)" "VISUAL_CPP"
# microsoft visual c++ 4.x, 5.x or 6.x.
@@
-898,6
+909,8
@@
ifeq "$(COMPILER)" "VISUAL_CPP"
endif
endif
+############################################################################
+
ifeq "$(COMPILER)" "GNU_DARWIN"
# Darwin kernel GNU compiler...
CC = g++
ifeq "$(COMPILER)" "GNU_DARWIN"
# Darwin kernel GNU compiler...
CC = g++