(file) Return to Makefile CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Handler / snmpIndicationHandler

 1 martin 1.18 #//%LICENSE////////////////////////////////////////////////////////////////
 2 martin 1.12 #// 
 3 martin 1.18 #// Licensed to The Open Group (TOG) under one or more contributor license
 4             #// agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
 5             #// this work for additional information regarding copyright ownership.
 6             #// Each contributor licenses this file to you under the OpenPegasus Open
 7             #// Source License; you may not use this file except in compliance with the
 8             #// License.
 9             #// 
10             #// Permission is hereby granted, free of charge, to any person obtaining a
11             #// copy of this software and associated documentation files (the "Software"),
12             #// to deal in the Software without restriction, including without limitation
13             #// the rights to use, copy, modify, merge, publish, distribute, sublicense,
14             #// and/or sell copies of the Software, and to permit persons to whom the
15             #// Software is furnished to do so, subject to the following conditions:
16             #// 
17             #// The above copyright notice and this permission notice shall be included
18             #// in all copies or substantial portions of the Software.
19             #// 
20             #// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21             #// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
22             #// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23             #// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24 martin 1.18 #// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25             #// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26             #// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27             #// 
28             #//////////////////////////////////////////////////////////////////////////
29 mike   1.2  ROOT = ../../../..
30             
31             DIR = Pegasus/Handler/snmpIndicationHandler
32             
33             include $(ROOT)/mak/config.mak
34             
35 gs.keenan 1.15 ifeq ($(OS_TYPE),vms)
36                 VMS_VECTOR = PegasusCreateHandler
37                endif
38                
39 kumpf     1.7  LOCAL_DEFINES = -DPEGASUS_HANDLER_INTERNAL -DPEGASUS_INTERNALONLY
40 mike      1.2  
41 kumpf     1.6  LIBRARIES = \
42 marek     1.17     peggetoopt \
43                    pegrepository \
44                    pegclient \
45 kumpf     1.6      pegconfig \
46 marek     1.17     pegcommon
47 mike      1.2  
48                SOURCES = snmpIndicationHandler.cpp
49                
50 kumpf     1.9  ifdef PEGASUS_USE_EMANATE
51 denise.eckstein 1.16     ifdef PEGASUS_EMANATE_LIB_DIR
52                              EXTRA_LIBRARIES += -L$(PEGASUS_EMANATE_LIB_DIR)
53                          endif 
54                          EXTRA_LIBRARIES += -lsubagent -lpack -lagent -lemanate \
55                                  -lmibtable -lsnmp
56                      
57                          ifdef PEGASUS_EMANATE_INCLUDE_DIR
58                              EXTRA_INCLUDES += -I$(PEGASUS_EMANATE_INCLUDE_DIR) \ 
59                                      -I$(PEGASUS_EMANATE_INCLUDE_DIR)/snmpd 
60                          endif
61                          EXTRA_INCLUDES += $(SYS_INCLUDES) $(ACE_INCLUDES)
62                      
63                          LOCAL_DEFINES += -DSETS -DSR_SNMPv1 -DSR_SNMPv2c -DSR_SNMPv2 \
64                                  -DEMANATE -DSR_ANSI_PROTOTYPES -DSUBAGENT -DSR_USER_AP_SERVICE \
65                                  -DSR_UDS_IPC -DSR_MIB_TABLE_HASHING -DSR_IP
66 kumpf           1.4  
67 denise.eckstein 1.16     SOURCES += snmpDeliverTrap_emanate.cpp
68 mike            1.2  else
69 denise.eckstein 1.16     # Controls snmp indication handler to use NET-SNMP to deliver trap
70                          ifdef PEGASUS_USE_NET_SNMP
71                              ifdef PEGASUS_NET_SNMP_LIB_DIR
72                                  EXTRA_LIBRARIES += -L$(PEGASUS_NET_SNMP_LIB_DIR)
73                              endif
74                              EXTRA_LIBRARIES += -lnetsnmp
75                      
76                              ifdef PEGASUS_NET_SNMP_INCLUDE_DIR
77                                  EXTRA_INCLUDES = -I$(PEGASUS_NET_SNMP_INCLUDE_DIR)
78                              endif
79                      
80                              SOURCES += snmpDeliverTrap_netsnmp.cpp
81                          else
82                              SOURCES += snmpDeliverTrap_stub.cpp
83                          endif
84 mike            1.2  endif
85                      
86                      LIBRARY = snmpIndicationHandler
87                       
88 gs.keenan       1.15 include $(ROOT)/mak/dynamic-library.mak
89 mike            1.2  
90                      tests:

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2