]> git.stg.codes - stg.git/blob - projects/stargazer/plugins/other/snmp/Makefile
Fix error with undefined CC and CXX
[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         sensors.cpp \
13         asn1/DisplayString.c    \
14         asn1/PhysAddress.c      \
15         asn1/IfEntry.c  \
16         asn1/AtEntry.c  \
17         asn1/IpAddrEntry.c      \
18         asn1/IpRouteEntry.c     \
19         asn1/IpNetToMediaEntry.c        \
20         asn1/TcpConnEntry.c     \
21         asn1/UdpEntry.c \
22         asn1/EgpNeighEntry.c    \
23         asn1/ObjectName.c       \
24         asn1/ObjectSyntax.c     \
25         asn1/SimpleSyntax.c     \
26         asn1/ApplicationSyntax.c        \
27         asn1/NetworkAddress.c   \
28         asn1/IpAddress.c        \
29         asn1/Counter.c  \
30         asn1/Gauge.c    \
31         asn1/TimeTicks.c        \
32         asn1/Opaque.c   \
33         asn1/Message.c  \
34         asn1/PDUs.c     \
35         asn1/GetRequest-PDU.c   \
36         asn1/GetNextRequest-PDU.c       \
37         asn1/GetResponse-PDU.c  \
38         asn1/SetRequest-PDU.c   \
39         asn1/PDU.c      \
40         asn1/Trap-PDU.c \
41         asn1/VarBind.c  \
42         asn1/VarBindList.c      \
43         asn1/SMUX-PDUs.c        \
44         asn1/OpenPDU.c  \
45         asn1/SimpleOpen.c       \
46         asn1/ClosePDU.c \
47         asn1/RReqPDU.c  \
48         asn1/RRspPDU.c  \
49         asn1/SOutPDU.c \
50         asn1/ANY.c \
51         asn1/BOOLEAN.c \
52         asn1/INTEGER.c \
53         asn1/NULL.c \
54         asn1/NativeEnumerated.c \
55         asn1/NativeInteger.c \
56         asn1/OBJECT_IDENTIFIER.c \
57         asn1/asn_SEQUENCE_OF.c \
58         asn1/asn_SET_OF.c \
59         asn1/constr_CHOICE.c \
60         asn1/constr_SEQUENCE.c \
61         asn1/constr_SEQUENCE_OF.c \
62         asn1/constr_SET_OF.c \
63         asn1/OCTET_STRING.c \
64         asn1/BIT_STRING.c \
65         asn1/asn_codecs_prim.c \
66         asn1/ber_tlv_length.c \
67         asn1/ber_tlv_tag.c \
68         asn1/ber_decoder.c \
69         asn1/der_encoder.c \
70         asn1/constr_TYPE.c \
71         asn1/constraints.c \
72         asn1/xer_support.c \
73         asn1/xer_decoder.c \
74         asn1/xer_encoder.c \
75         asn1/per_support.c \
76         asn1/per_decoder.c \
77         asn1/per_encoder.c
78
79 STGLIBS = -lstgcommon
80
81 CXXFLAGS += -Iasn1
82
83 include ../../Makefile.in
84
85 .PHONY: asn1
86
87 asn1:
88         $(MAKE) -C asn1 asn1