version 1.9, 2003/10/09 16:43:23
|
version 1.15, 2006/08/15 17:42:16
|
|
|
|
#//%2006//////////////////////////////////////////////////////////////////////// |
|
#// |
|
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
|
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
#// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
#// IBM Corp.; EMC Corporation, The Open Group. |
|
#// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
#// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
#// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
#// EMC Corporation; Symantec Corporation; The Open Group. |
|
#// |
|
#// Permission is hereby granted, free of charge, to any person obtaining a copy |
|
#// of this software and associated documentation files (the "Software"), to |
|
#// deal in the Software without restriction, including without limitation the |
|
#// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
|
#// sell copies of the Software, and to permit persons to whom the Software is |
|
#// furnished to do so, subject to the following conditions: |
|
#// |
|
#// THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN |
|
#// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED |
|
#// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT |
|
#// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
|
#// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
#// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
|
#// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
|
#// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
#// |
|
#//============================================================================== |
ROOT = ../../../.. | ROOT = ../../../.. |
| |
DIR = Pegasus/Handler/snmpIndicationHandler | DIR = Pegasus/Handler/snmpIndicationHandler |
| |
include $(ROOT)/mak/config.mak | include $(ROOT)/mak/config.mak |
| |
|
ifeq ($(OS_TYPE),vms) |
|
VMS_VECTOR = PegasusCreateHandler |
|
endif |
|
|
LOCAL_DEFINES = -DPEGASUS_HANDLER_INTERNAL -DPEGASUS_INTERNALONLY | LOCAL_DEFINES = -DPEGASUS_HANDLER_INTERNAL -DPEGASUS_INTERNALONLY |
| |
LIBRARIES = \ | LIBRARIES = \ |
|
|
| |
SOURCES += snmpDeliverTrap_emanate.cpp | SOURCES += snmpDeliverTrap_emanate.cpp |
else | else |
|
# Controls snmp indication handler to use NET-SNMP to deliver trap |
|
ifdef PEGASUS_USE_NET_SNMP |
|
EXTRA_LIBRARIES += -L$(PEGASUS_NET_SNMP_LIB_DIR) -lnetsnmp |
|
|
|
EXTRA_INCLUDES = -I$(PEGASUS_NET_SNMP_INCLUDE_DIR) |
|
|
|
SOURCES += snmpDeliverTrap_netsnmp.cpp |
|
else |
SOURCES += snmpDeliverTrap_stub.cpp | SOURCES += snmpDeliverTrap_stub.cpp |
endif | endif |
|
endif |
| |
LIBRARY = snmpIndicationHandler | LIBRARY = snmpIndicationHandler |
| |
include $(ROOT)/mak/library.mak |
include $(ROOT)/mak/dynamic-library.mak |
| |
tests: | tests: |