- HEADER_SEARCH_PATH += /usr/include/X11 /usr/X11R6/include /usr/include/g++
- LIBRARY_SEARCH_PATH += /usr/X11R6/lib
+ HEADER_SEARCH_PATH += /usr/include/X11 /usr/X11R6/include /usr/include/g++
+ LIBRARY_SEARCH_PATH += /usr/X11R6/lib
+ endif
+
+ ifneq "$(USE_SSL)" ""
+ LIBS_USED += ssl crypto
+ endif
+
+ ifneq "$(USE_WXWIDGETS)" ""
+ DEFINITIONS += __WXWIDGETS__
+ use_unicode =
+ ifneq "$(findstring UNICODE, $(DEFINITIONS))" ""
+ use_unicode = true
+ endif
+
+ # decide whether to turn on the unicode flag or not.
+ ifneq "$(use_unicode)" ""
+ DEFINITIONS += wxUSE_UNICODE
+ UNICODE_FLAG_ADD = --unicode=yes
+ else
+ UNICODE_FLAG_ADD = --unicode=no