summaryrefslogtreecommitdiffstats
path: root/Makefile.Release
diff options
context:
space:
mode:
authoryi.zhou <yi.zhou>2007-01-23 19:52:50 +0000
committeryi.zhou <yi.zhou>2007-01-23 19:52:50 +0000
commit5c4d3a471c7beb962ab30d186e25a3ad0a027e07 (patch)
tree6c062674bc3f0166e33fbd702e2a94e556d2cc26 /Makefile.Release
parent785c365779357a3a982dd08cf062113b51f1dbe2 (diff)
downloadtog-pegasus-5c4d3a471c7beb962ab30d186e25a3ad0a027e07.zip
tog-pegasus-5c4d3a471c7beb962ab30d186e25a3ad0a027e07.tar.gz
tog-pegasus-5c4d3a471c7beb962ab30d186e25a3ad0a027e07.tar.xz
BUG#: 5940
TITLE: Include Snmp Indication Handler in Linux package DESCRIPTION: Include the Snmp Indication Handler in the Linux RPM. Also, include the test TestSnmpHandler in the Linux Test RPM.
Diffstat (limited to 'Makefile.Release')
-rw-r--r--Makefile.Release35
1 files changed, 35 insertions, 0 deletions
diff --git a/Makefile.Release b/Makefile.Release
index f46c2f5..a9868e3 100644
--- a/Makefile.Release
+++ b/Makefile.Release
@@ -124,6 +124,11 @@ PEGASUS_LIBRARIES += \
libcmpiCppImpl
endif
+ifdef PEGASUS_USE_NET_SNMP
+ PEGASUS_LIBRARIES += \
+ libsnmpIndicationHandler
+endif
+
ifeq ($(OS),HPUX)
PEGASUS_LIBRARIES += \
libNTPProviderSecurity
@@ -141,6 +146,11 @@ PEGASUS_LIBRARY_LINKS += \
libCMPIProviderManager
endif
+ifdef PEGASUS_USE_NET_SNMP
+PEGASUS_LIBRARY_LINKS += \
+ libsnmpIndicationHandler
+endif
+
PEGASUS_PROVIDERS = \
libComputerSystemProvider \
libOSProvider \
@@ -1045,6 +1055,31 @@ _append_PreambleToSpecFile: FORCE
@$(CAT) $(ROOT)/rpm/tog-specfiles/tog-pegasus-intro.spec \
>> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(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
+ @$(ECHO-E) "BuildRequires: net-snmp-devel" \
+ >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+endif
+ @$(ECHO-E) "#" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "# End of section " \
+ "pegasus/rpm/tog-specfiles/tog-pegasus-buildRequires.spec" \
+ >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(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
+ @$(ECHO-E) "Requires: net-snmp" \
+ >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+endif
+ @$(ECHO-E) "#" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "# End of section " \
+ "pegasus/rpm/tog-specfiles/tog-pegasus-requires.spec" \
+ >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(CAT) $(ROOT)/rpm/tog-specfiles/tog-pegasus-desc.spec \
+ >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(CAT) $(ROOT)/rpm/tog-specfiles/tog-pegasus-arch.spec \
>> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)