]> git.stg.codes - stg.git/blob - projects/stargazer/plugins/other/snmp/Makefile
SNMP Agent plugin added
[stg.git] / projects / stargazer / plugins / other / snmp / Makefile
1 ###############################################################################
2 # $Id: Makefile,v 1.11 2008/12/04 17:21:14 faust Exp $
3 ###############################################################################
4
5 include ../../../../../Makefile.conf
6
7 LIBS += $(LIB_THREAD)
8
9 PROG = mod_snmp_agent.so
10
11 SRCS =  snmp.cpp \
12         asn1/DisplayString.c    \
13         asn1/PhysAddress.c      \
14         asn1/IfEntry.c  \
15         asn1/AtEntry.c  \
16         asn1/IpAddrEntry.c      \
17         asn1/IpRouteEntry.c     \
18         asn1/IpNetToMediaEntry.c        \
19         asn1/TcpConnEntry.c     \
20         asn1/UdpEntry.c \
21         asn1/EgpNeighEntry.c    \
22         asn1/ObjectName.c       \
23         asn1/ObjectSyntax.c     \
24         asn1/SimpleSyntax.c     \
25         asn1/ApplicationSyntax.c        \
26         asn1/NetworkAddress.c   \
27         asn1/IpAddress.c        \
28         asn1/Counter.c  \
29         asn1/Gauge.c    \
30         asn1/TimeTicks.c        \
31         asn1/Opaque.c   \
32         asn1/Message.c  \
33         asn1/PDUs.c     \
34         asn1/GetRequest-PDU.c   \
35         asn1/GetNextRequest-PDU.c       \
36         asn1/GetResponse-PDU.c  \
37         asn1/SetRequest-PDU.c   \
38         asn1/PDU.c      \
39         asn1/Trap-PDU.c \
40         asn1/VarBind.c  \
41         asn1/VarBindList.c      \
42         asn1/SMUX-PDUs.c        \
43         asn1/OpenPDU.c  \
44         asn1/SimpleOpen.c       \
45         asn1/ClosePDU.c \
46         asn1/RReqPDU.c  \
47         asn1/RRspPDU.c  \
48         asn1/SOutPDU.c
49
50 STGLIBS = -lstgcommon
51
52 CXXFLAGS += -Iasn1
53
54 include ../../Makefile.in
55
56 .PHONY: asn1
57
58 asn1:
59         $(MAKE) -C asn1 asn1