- # 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)" ""
- DEFINITIONS += _WIN32
- LOCAL_HEADERS += $(THIRD_PARTY_DIR)/curl/include
- LIBRARY_SEARCH_PATH += $(THIRD_PARTY_DIR)/curl/lib
-# ifeq "$(findstring libcurl, $(LIBS_USED))" ""
- LIBS_USED += libcurl.dll.a
-# endif
- endif
-
- ifneq "$(VCPP_USE_GUI)" ""
- LOAD_FLAG_PREFIX += comctl32.lib comdlg32.lib gdi32.lib winspool.lib
- endif