summaryrefslogtreecommitdiffstats
path: root/Makefile.Release
diff options
context:
space:
mode:
authorrahul.kumar.singh <rahul.kumar.singh>2013-07-01 10:55:50 +0000
committerrahul.kumar.singh <rahul.kumar.singh>2013-07-01 10:55:50 +0000
commit3d90957111a8fc90d4d9b705bf5b69e03d5bf5bb (patch)
tree7f08ab8c42df76cc94a8227173ee385262340206 /Makefile.Release
parent45aa996080ad0f14cde2b3bee5e1ec344b3b77bf (diff)
downloadtog-pegasus-3d90957111a8fc90d4d9b705bf5b69e03d5bf5bb.zip
tog-pegasus-3d90957111a8fc90d4d9b705bf5b69e03d5bf5bb.tar.gz
tog-pegasus-3d90957111a8fc90d4d9b705bf5b69e03d5bf5bb.tar.xz
BUG#: 9412
TITLE:SNMP related code needs to have conditional compiling.
Diffstat (limited to 'Makefile.Release')
-rw-r--r--Makefile.Release8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.Release b/Makefile.Release
index efcc5c9..ff4fa71 100644
--- a/Makefile.Release
+++ b/Makefile.Release
@@ -143,7 +143,7 @@ PEGASUS_LIBRARIES += \
libInteropProvider
endif
-ifdef PEGASUS_USE_NET_SNMP
+ifeq ($(PEGASUS_USE_NET_SNMP),true)
PEGASUS_LIBRARIES += \
libsnmpIndicationHandler
endif
@@ -176,7 +176,7 @@ ifeq ($(PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER), true)
libJMPIProviderManager
endif
-ifdef PEGASUS_USE_NET_SNMP
+ifeq ($(PEGASUS_USE_NET_SNMP),true)
PEGASUS_LIBRARY_LINKS += \
libsnmpIndicationHandler
endif
@@ -814,7 +814,7 @@ _append_PreambleToSpecFile: FORCE
@$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(CAT) $(ROOT)/rpm/tog-specfiles/tog-pegasus-buildRequires.spec \
>> $(PEGASUS_RPM_SPEC_FILE_PATH)
-ifdef PEGASUS_USE_NET_SNMP
+ifeq ($(PEGASUS_USE_NET_SNMP),true)
@$(ECHO-E) "BuildRequires: net-snmp-devel" \
>> $(PEGASUS_RPM_SPEC_FILE_PATH)
endif
@@ -825,7 +825,7 @@ endif
@$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(CAT) $(ROOT)/rpm/tog-specfiles/tog-pegasus-requires.spec \
>> $(PEGASUS_RPM_SPEC_FILE_PATH)
-ifdef PEGASUS_USE_NET_SNMP
+ifeq ($(PEGASUS_USE_NET_SNMP),true)
@$(ECHO-E) "Requires: net-snmp" \
>> $(PEGASUS_RPM_SPEC_FILE_PATH)
endif