geom_gate userland utility improvements
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

55 lines
1.0 KiB

  1. # Tweak these for your system
  2. !if "$(OPENSSLINC)" == ""
  3. OPENSSLINC=..\openssl-0.9.8zc\inc32
  4. !endif
  5. !if "$(OPENSSLLIB)" == ""
  6. OPENSSLLIB=..\openssl-0.9.8zc\out32dll
  7. !endif
  8. !if "$(ZLIBINC)" == ""
  9. ZLIBINC=..\zlib-1.2.8
  10. !endif
  11. !if "$(ZLIBLIB)" == ""
  12. ZLIBLIB=..\zlib-1.2.8
  13. !endif
  14. !if "$(TARGET)" == ""
  15. TARGET=Release
  16. !endif
  17. !if "$(TARGET)" == "Debug"
  18. SUFFIX=_debug
  19. CPPFLAGS=/Od /MDd
  20. DLLFLAGS=/DEBUG /LDd
  21. !else
  22. CPPFLAGS=/Oi /O2 /Oy /GF /Y- /MD /DNDEBUG
  23. DLLFLAGS=/DEBUG /LD
  24. !endif
  25. CPPFLAGS=/nologo /GL /Zi /EHsc $(CPPFLAGS) /Iwin32 /Iinclude
  26. !if "$(WITH_WINCNG)" == "1"
  27. CPPFLAGS=$(CPPFLAGS) /DLIBSSH2_WINCNG
  28. # LIBS=bcrypt.lib crypt32.lib
  29. !else
  30. CPPFLAGS=$(CPPFLAGS) /DLIBSSH2_OPENSSL /I$(OPENSSLINC)
  31. LIBS=$(LIBS) $(OPENSSLLIB)\libeay32.lib $(OPENSSLLIB)\ssleay32.lib
  32. !endif
  33. !if "$(WITH_ZLIB)" == "1"
  34. CPPFLAGS=$(CPPFLAGS) /DLIBSSH2_HAVE_ZLIB /I$(ZLIBINC)
  35. LIBS=$(LIBS) $(ZLIBLIB)\zlib.lib
  36. !endif
  37. CFLAGS=$(CPPFLAGS)
  38. RCFLAGS=/Iinclude
  39. DLLFLAGS=$(CFLAGS) $(DLLFLAGS)
  40. LIBS=$(LIBS) ws2_32.lib user32.lib advapi32.lib gdi32.lib
  41. INTDIR=$(TARGET)\$(SUBDIR)