version 1.12, 2005/05/12 15:29:57
|
version 1.15, 2006/08/15 17:42:16
|
|
|
#//%2005//////////////////////////////////////////////////////////////////////// |
#//%2006//////////////////////////////////////////////////////////////////////// |
#// | #// |
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
#// EMC Corporation; VERITAS Software Corporation; The Open Group. | #// 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 | #// Permission is hereby granted, free of charge, to any person obtaining a copy |
#// of this software and associated documentation files (the "Software"), to | #// of this software and associated documentation files (the "Software"), to |
|
|
| |
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: |