- # finds the crypto code on macos.
- HEADER_SEARCH_PATH += /usr/local/opt/openssl/include
- LIBRARY_SEARCH_PATH += /usr/local/opt/openssl/lib/
-
- ifneq "$(USE_XWIN)" ""
- DEFINITIONS += __XWINDOWS__ __X__
- LIBS_USED +=
-#Xm Xt X11 Xft Xp
-#need to separate out with a USE_MOTIF kind of thing.
-#LIBS_USED += Xmu
- HEADER_SEARCH_PATH += /usr/include/X11 /usr/X11R6/include /usr/include/g++
- LIBRARY_SEARCH_PATH += /usr/X11R6/lib
- endif
-
- ifneq "$(USE_SSL)" ""
- LIBS_USED += crypto ssl
- 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 "$(findstring UNICODE, $(DEFINITIONS))" ""
- ifneq "$(use_unicode)" ""
- UNICODE_FLAG_ADD = --unicode=yes
- DEFINITIONS += wxUSE_UNICODE
- else
- UNICODE_FLAG_ADD = --unicode=no
- endif
-
- COMPILER_FLAGS += $(shell wx-config --cxxflags $(UNICODE_FLAG_ADD) )
- LOAD_FLAG_PREFIX += $(shell wx-config --libs $(UNICODE_FLAG_ADD) )
- endif
-
- ifneq "$(USE_CURL)" ""
- COMPILER_FLAGS += `curl-config --cflags`
- LOAD_FLAG_SUFFIX += `curl-config --libs`
- endif