Return to Makefile CVS log | Up to [Pegasus] / pegasus / src / Pegasus / Handler / snmpIndicationHandler |
File: [Pegasus] / pegasus / src / Pegasus / Handler / snmpIndicationHandler / Makefile
(download)
Revision: 1.16, Wed Aug 1 19:49:31 2007 UTC (16 years, 11 months ago) by denise.eckstein Branch: MAIN CVS Tags: TASK-PEP305_VXWORKS-root, TASK-PEP305_VXWORKS-branch-pre-solaris-port, TASK-PEP305_VXWORKS-branch-post-solaris-port, TASK-PEP305_VXWORKS-branch-beta2, TASK-PEP305_VXWORKS-branch, TASK-PEP305_VXWORKS-2008-10-23, TASK-BUG7146_SqlRepositoryPrototype-root, TASK-BUG7146_SqlRepositoryPrototype-merged_out_to_branch, TASK-BUG7146_SqlRepositoryPrototype-merged_out_from_trunk, TASK-BUG7146_SqlRepositoryPrototype-merged_in_to_trunk, TASK-BUG7146_SqlRepositoryPrototype-merged_in_from_branch, TASK-BUG7146_SqlRepositoryPrototype-branch, RELEASE_2_7_3-RC1, RELEASE_2_7_3, RELEASE_2_7_2-RC1, RELEASE_2_7_2, RELEASE_2_7_1-RC1, RELEASE_2_7_1, RELEASE_2_7_0-RC1, RELEASE_2_7_0-BETA, RELEASE_2_7_0, RELEASE_2_7-root, RELEASE_2_7-branch Changes since 1.15: +31 -18 lines BUG#:6730 TITLE: Use of -L/usr/lib option used to build snmpIndicationHandler is incorrect for x86_64 Linux 64-bit builds DESCRIPTION: By default, the NET-SNMP include files and libraries are expected to be installed in directories that are searched by default (e.g., /usr/bin, /usr/lib(64), and /usr/include). For platforms where this isn't true, the PEGASUS_NET_SNMP_LIB_DIR and PEGASUS_NET_SNMP_INCLUDE_DIR environment variables can be used to define an alternative paths. |
#//%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 = ../../../.. DIR = Pegasus/Handler/snmpIndicationHandler include $(ROOT)/mak/config.mak ifeq ($(OS_TYPE),vms) VMS_VECTOR = PegasusCreateHandler endif LOCAL_DEFINES = -DPEGASUS_HANDLER_INTERNAL -DPEGASUS_INTERNALONLY LIBRARIES = \ pegcommon \ pegconfig \ peggetoopt \ pegclient SOURCES = snmpIndicationHandler.cpp ifdef PEGASUS_USE_EMANATE ifdef PEGASUS_EMANATE_LIB_DIR EXTRA_LIBRARIES += -L$(PEGASUS_EMANATE_LIB_DIR) endif EXTRA_LIBRARIES += -lsubagent -lpack -lagent -lemanate \ -lmibtable -lsnmp ifdef PEGASUS_EMANATE_INCLUDE_DIR EXTRA_INCLUDES += -I$(PEGASUS_EMANATE_INCLUDE_DIR) \ -I$(PEGASUS_EMANATE_INCLUDE_DIR)/snmpd endif EXTRA_INCLUDES += $(SYS_INCLUDES) $(ACE_INCLUDES) LOCAL_DEFINES += -DSETS -DSR_SNMPv1 -DSR_SNMPv2c -DSR_SNMPv2 \ -DEMANATE -DSR_ANSI_PROTOTYPES -DSUBAGENT -DSR_USER_AP_SERVICE \ -DSR_UDS_IPC -DSR_MIB_TABLE_HASHING -DSR_IP SOURCES += snmpDeliverTrap_emanate.cpp else # Controls snmp indication handler to use NET-SNMP to deliver trap ifdef PEGASUS_USE_NET_SNMP ifdef PEGASUS_NET_SNMP_LIB_DIR EXTRA_LIBRARIES += -L$(PEGASUS_NET_SNMP_LIB_DIR) endif EXTRA_LIBRARIES += -lnetsnmp ifdef PEGASUS_NET_SNMP_INCLUDE_DIR EXTRA_INCLUDES = -I$(PEGASUS_NET_SNMP_INCLUDE_DIR) endif SOURCES += snmpDeliverTrap_netsnmp.cpp else SOURCES += snmpDeliverTrap_stub.cpp endif endif LIBRARY = snmpIndicationHandler include $(ROOT)/mak/dynamic-library.mak tests:
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |