-
-# additions for gnu x86 and arm compilers.
-ifneq "$(OP_SYSTEM)" "WIN32"
- # is the freetds library support available on this host.
- ifneq "$(ENABLE_FREETDS)" ""
- # establish the headers if freetds is enabled. that just means things
- # can be compiled against it. to link in the db-lib, the makefile should
- # have a "USE_FREETDS = true" statement.
-
- # is this particular library or app using freetds?
- ifneq "$(USE_FREETDS)" ""
- DEFINITIONS += ENABLE_FREETDS _FREETDS_LIBRARY_SOURCE
- LIBS_USED += rt sybdb
- endif
- endif
-endif
-
-## win32 compiler additions.
-##ifeq "$(OP_SYSTEM)" "WIN32"
-#ifeq "$(COMPILER)" "VISUAL_CPP"
-# # processes the def file for linkage, if one has been specified.
-# ifneq "$(DEF_FILE)" ""
-# LOAD_FLAG_PREFIX += -def:$(DEF_FILE)
-# endif
-#
-# ifneq "$(TYPE)" "library"
-# ifneq "$(USE_MFC)" ""
-# ifneq "$(findstring UNICODE, $(DEFINITIONS))" ""
-# # specify the winmain type for unicode explicitly.
-# LOAD_FLAG_PREFIX += -entry:wWinMainCRTStartup
-# endif
-# endif
-# endif
-#
-# # these are loaded after any special debugging libs.
-# ifneq "$(VCPP_USE_BASE)" ""
-# # the first set will be included in almost any old program. we include
-# # winmm for multimedia in the base support since we make heavy use of the
-# # more accurate uptime function.
-# LOAD_FLAG_PREFIX += kernel32.lib user32.lib advapi32.lib shell32.lib \
-# version.lib winmm.lib shlwapi.lib
-# endif
-#
-# ifneq "$(USE_WXWIDGETS)" ""
-# DEFINITIONS += __WXWIDGETS__ __WXMSW__
-# LOCAL_HEADERS += $(THIRD_PARTY_DIR)/wxwidgets/include
-# LIBRARY_SEARCH_PATH += $(THIRD_PARTY_DIR)/wxwidgets/lib
-## ifeq "$(findstring UNICODE, $(DEFINITIONS))" ""
-# LIBS_USED += wxmsw28_core.lib
-# LOCAL_HEADERS += $(THIRD_PARTY_DIR)/wxwidgets/lib/msw
-## else
-## DEFINITIONS += wxUSE_UNICODE
-## LIBS_USED += wxmsw28u_core.lib
-## LOCAL_HEADERS += $(THIRD_PARTY_DIR)/wxwidgets/lib/mswu
-## endif
-#
-### LOAD_FLAG_PREFIX += comctl32.lib shell32.lib
-# VCPP_USE_GUI = t
-# VCPP_USE_OLE = t
-# endif
-#
-# ifneq "$(USE_CURL)" ""
-## # curl wants this win32 flag?
-# DEFINITIONS += WIN32
-# LOCAL_HEADERS += $(THIRD_PARTY_DIR)/curl/include
-# LIBRARY_SEARCH_PATH += $(THIRD_PARTY_DIR)/curl/lib
-## LIBS_USED += libcurl.dll.a
-# LIBS_USED += libcurl.lib
-# endif
-#
-# ifneq "$(VCPP_USE_GUI)" ""
-# LOAD_FLAG_PREFIX += comctl32.lib comdlg32.lib gdi32.lib winspool.lib
-# endif
-#
-# ifneq "$(VCPP_USE_OLE)" ""
-# LOAD_FLAG_PREFIX += ole32.lib oleaut32.lib uuid.lib
-# VCPP_USE_RPC = t
-# endif
-# ifneq "$(VCPP_USE_RPC)" ""
-# ifeq "$(COMPILER_VERSION)" "8"
-# LOAD_FLAG_PREFIX += rpcndr.lib rpcns4.lib rpcrt4.lib
-# endi#f
-# ifeq "$(COMPILER_VERSION)" "10"
-# LOAD_FLAG_PREFIX += rpcrt4.lib
-# endif
-# VCPP_USE_SOCK = t
-# endif
-# ifneq "$(VCPP_USE_SOCK)" ""
-# LOAD_FLAG_PREFIX += netapi32.lib ws2_32.lib
-# endif
-# ifneq "$(VCPP_USE_CLR)" ""
-# LOAD_FLAG_PREFIX += -noentry -include:"__DllMainCRTStartup@12"
-# COMPILER_FLAGS += -EHa -clr -AI "$(FRAMEWORK_DIR)" -AI "$(DYNAMIC_LIBRARY_DIR)" -FU "mscorlib.dll" -FU "System.dll" -FU "System.Data.dll" -FU "System.Windows.Forms.dll" -FU "System.Drawing.dll"
-# endif
-#
-# ifneq "$(USE_SSL)" ""
-# LOCAL_HEADERS += $(THIRD_PARTY_DIR)/openssl/include
-# LIBRARY_SEARCH_PATH += $(THIRD_PARTY_DIR)/openssl/lib
-# LIBS_USED += libcrypto.lib libssl.lib
-##no, yuck. $(shell cp $(THIRD_PARTY_DIR)/openssl/lib/*dll $(EXECUTABLE_DIR) )
-# endif
-#
-#endif
-
-#ifeq "$(COMPILER)" "VISUAL_CPP"
-# # prep the actual source variable so that certain file names are translated.
-# ACTUAL_RESX = $(RESX:%.resx=$(OBJECT_DIR)/%.resources)
-# ACTUAL_RESX_FLAGS = $(ACTUAL_RESX:%=-ASSEMBLYLINKRESOURCE:%)
-#else
- ACTUAL_RESX =
- ACTUAL_RESX_FLAGS =
-#endif
-