X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fclam%2Fcpp%2Fvariables.def;h=24b8148c514168a404dba2bd26170eddde881489;hb=49620656530053aec1cc10157d63cd52bf7e8168;hp=4668e33cc11dce717e0686668491528a4849ab3b;hpb=01f505e120ff3d2e0088e385652bee4d1834c42b;p=feisty_meow.git diff --git a/scripts/clam/cpp/variables.def b/scripts/clam/cpp/variables.def index 4668e33c..24b8148c 100644 --- a/scripts/clam/cpp/variables.def +++ b/scripts/clam/cpp/variables.def @@ -382,7 +382,7 @@ LIBRARY_PATH_FLAG = -L #LIBRARY_TOOL = # the root name of the version file. This is currently irrelevant on -# non-win32 platforms. +# non-windoze platforms. VERSION_RC_ROOT = $(shell $(SHELL) $(CLAM_SCRIPTS)/cpp/rc_name.sh) ifneq "$(CONSOLE_MODE)" "" @@ -395,20 +395,10 @@ endif ############################################################################### # Operating system dependent flags. +# (not so OS dependent with move to only gnu compilation...) -ifeq "$(OP_SYSTEM)" "UNIX" - LIB_ENDING = .a - DYNLIB_ENDING = .so -endif -ifeq "$(OP_SYSTEM)" "WIN32" -#hmmm: question here about what we build for dynamic, which is currently broken. -# LIB_ENDING = .lib -# DYNLIB_ENDING = .dll -# else - LIB_ENDING = .a - DYNLIB_ENDING = .so -# endif -endif +LIB_ENDING = .a +DYNLIB_ENDING = .so ############################################################################### @@ -573,13 +563,14 @@ endif ifeq "$(COMPILER)" "GNU_WINDOWS" # GNU compiler for MS Windoze... CC = g++ - ifeq "$(COMPILER_ROOT_DIR)" "" - COMPILER_ROOT_DIR = $(CYGROOT) - endif + COMPILER_ROOT_DIR = / + ARCHITECTURE = $(shell machine 2>/dev/null || arch 2>/dev/null || echo i686) +#hmmm: below fixes nothing! argh! +# ARCHITECTURE = i386 export COMPILER_VERSION = $(shell $(SHELL) $(CLAM_SCRIPTS)/cpp/get_version.sh $(COMPILER) $(COMPILER_ROOT_DIR) ) - RC := $(COMPILER_ROOT_DIR)/bin/windres +# RC := $(COMPILER_ROOT_DIR)/bin/windres PLATFORM_ADD_IN = w32_ COMPILER_HEADER_DIR = $(COMPILER_ROOT_DIR)/include $(COMPILER_ROOT_DIR)/include/c++/3.4.2