SubDir TOP src updater ; if $(CURL.AVAILABLE) = "yes" { Application updater : [ Wildcard *.cpp *.h ] ; ExternalLibs updater : CRYSTAL CURL ; CompileGroups updater : client ; LinkWith updater : paws psnet psengine psutil psrpgrules ; if $(HAVE_STATIC_PLUGINS) = "yes" { SubVariant static ; Application updater_static : [ Wildcard *.cpp *.h ] : independent noinstall nohelp ; CFlags updater_static : [ FDefines CS_STATIC_LINKED ] ; LFlags updater_static : -lcrystalspace_staticplugins -lcurl ; MsvcDefine updater_static : CS_STATIC_LINKED ; LinkWith updater_static : paws psnet psengine psutil psrpgrules ; STATIC.PLUGINLIST = csddsimg cspngimg cssynldr engine freefnt2 gl3d imgplex rendstep_std shadermgr vfs xmlshader xmltiny ; STATIC.OPTIONALPLUGINLIST = ; if $(TARGET.OS) != "WIN32" { if $(X11.AVAILABLE) = "yes" { STATIC.PLUGINLIST += xwin ; } if $(XFREE86VM.AVAILABLE) = "yes" { STATIC.PLUGINLIST += xext86vm ; } STATIC.OPTIONALPLUGINLIST += glx2d ; } if $(TARGET.OS) = "WIN32" { STATIC.PLUGINLIST += glwin32 ; } if $(TARGET.OS) = "MACOS_X" { STATIC.PLUGINLIST += glosx2d ; } LinkStaticPlugins updater_static : $(STATIC.PLUGINLIST) : $(STATIC.OPTIONALPLUGINLIST) : CRYSTAL ; ExternalLibs updater_static : CRYSTAL CURL ; CompileGroups updater_static : client_static ; SubVariant ; } }