-## export CLAM_COMPILER_VERSION = $(shell $(SHELL) $(CLAM_SCRIPTS)/cpp/get_version.sh $(CLAM_COMPILER) $(CLAM_COMPILER_ROOT_DIR) )
-
- DEFINITIONS += _FILE_OFFSET_BITS=64
-
- DEPENDENCY_DEFINITIONS += NO_VERSION
-# DEPENDENCY_ADDITIONS = -X/usr/include -X/usr/include/c++/$(CLAM_COMPILER_VERSION) -X/usr/include/c++/$(CLAM_COMPILER_VERSION)/tr1 -X/usr/local/include -X/usr/include/linux -X/usr/include/wx-2.8 -X/usr/lib/gcc/i586-suse-linux/$(CLAM_COMPILER_VERSION)/include -X/usr/lib/gcc/i486-linux-gnu/$(CLAM_COMPILER_VERSION)/include
- DEPENDENCY_ADDITIONS = -X/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include
-
- COMPILER_HEADER_DIR := /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include
-#/usr/local/include /usr/include
-#old /System/Library/Frameworks/Foundation.framework/Versions/C/Headers
-#/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include
-#/Library/Developer/CommandLineTools/usr/include
-
- # "USE_XWIN" specifies that this project needs X window system support.
- #USE_XWIN =
-
- ifeq "x86_64" "$(CLAM_BASE_CPU)"
- COMPILER_LIBRARY_DIR = /lib64 /usr/lib64 /usr/local/lib64
- else
- COMPILER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib
-#/usr/lib /usr/local/lib
- endif
-
-# DEFINITIONS += __LINUX__ linux __linux__ UNIX unix __UNIX__ __USE_GNU
- DEFINITIONS += UNIX unix __UNIX__ __USE_GNU
- # X Window System not enabled by default.
- #DEFINITIONS += __XWINDOWS__
-
- LIBRARY_TOOL = ar
- LIB_PREFIX = lib
-# LOAD_FLAG_PREFIX += -Xlinker
-#mac has no o3???
-#-O3
- # special flags for getting rid of warnings on fd_set.
- LOAD_FLAG_PREFIX=-Wl,-U,___darwin_check_fd_set_overflow
-
-# -Xlinker --print-map : shows what went in and why.
-# -Xlinker -O3 : linker optimization
- CREATE_LIBRARY_FLAG += -r
- # space on end is significant.
- LINKER_OUTPUT_FLAG = -o
- LINK_TOOL = g++
-# COMPILER_FLAGS += -shared-libgcc -fPIC
-#old: -Wl,-export-dynamic
-# ifeq "$(DEBUG)" ""
-# COMPILER_FLAGS += -finline-functions
-# endif
-# ifneq "$(STRICT_WARNINGS)" ""
-# COMPILER_FLAGS += -Wall -Werror -Wextra -pedantic-errors -Wno-long-long
-# endif
-# LIBS_USED += dl pthread rt
-#mac no like these libs
- # dl=dynamic library.
- # pthread=thread libraries.
- # rt=real time libraries for shared memory.
-
- # mac specific flags
- COMPILER_FLAGS += -Wno-nullability-completeness
-#trying this one again, which had been turned off.
- COMPILER_FLAGS += -fgnu-runtime
-
- ifneq "$(DEBUG)" ""
- # add in debugging flags.
-# COMPILER_FLAGS += -g3 -O0
- endif