Look for REQUIRESSL instead of HAVE_LIBSSL when deciding which modules to skip

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@459 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-09-06 22:40:40 +00:00
parent b0a61b8890
commit e8fc75eb5a
+4 -4
View File
@@ -11,10 +11,10 @@ endif
VPATH=.:..
ifeq "@NOSSL@" "1"
TARGETS=$(foreach file, $(wildcard *.cpp), $(if $(shell grep HAVE_LIBSSL $(file)),, $(addsuffix .so, $(basename $(file)))))
INSTALL_TARGS=$(foreach file, $(wildcard *.cpp), $(if $(shell grep HAVE_LIBSSL $(file)),, install_$(addsuffix .so, $(basename $(file)))))
OBJS=$(foreach file, $(wildcard *.cpp), $(if $(shell grep HAVE_LIBSSL $(file)),, $(addsuffix .o, $(basename $(file)))))
SRCS=$(wildcard ../*.cpp) $(foreach file, $(wildcard *.cpp), $(if $(shell grep HAVE_LIBSSL $(file)),,$(file)))
TARGETS=$(foreach file, $(wildcard *.cpp), $(if $(shell grep REQUIRESSL $(file)),, $(addsuffix .so, $(basename $(file)))))
INSTALL_TARGS=$(foreach file, $(wildcard *.cpp), $(if $(shell grep REQUIRESSL $(file)),, install_$(addsuffix .so, $(basename $(file)))))
OBJS=$(foreach file, $(wildcard *.cpp), $(if $(shell grep REQUIRESSL $(file)),, $(addsuffix .o, $(basename $(file)))))
SRCS=$(wildcard ../*.cpp) $(foreach file, $(wildcard *.cpp), $(if $(shell grep REQUIRESSL $(file)),,$(file)))
else
TARGETS=$(addsuffix .so, $(basename $(wildcard *.cpp)))
INSTALL_TARGS=$(foreach file, $(addsuffix .so, $(basename $(wildcard *.cpp))), install_$(file))