]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/Makefile
More clear plugin API
[stg.git] / projects / stargazer / plugins / other / smux / Makefile
index ca358f9c5e8b8cca0ca48cc164fe3ff8c0d01a3f..feaef9ee1d0772228810b62f6df685440faee2e6 100644 (file)
@@ -6,75 +6,14 @@ PROG = mod_smux.so
 
 SRCS =  smux.cpp \
        sensors.cpp \
-       asn1/DisplayString.c \
-       asn1/PhysAddress.c \
-       asn1/IfEntry.c \
-       asn1/AtEntry.c \
-       asn1/IpAddrEntry.c \
-       asn1/IpRouteEntry.c \
-       asn1/IpNetToMediaEntry.c \
-       asn1/TcpConnEntry.c \
-       asn1/UdpEntry.c \
-       asn1/EgpNeighEntry.c \
-       asn1/ObjectName.c \
-       asn1/ObjectSyntax.c \
-       asn1/SimpleSyntax.c \
-       asn1/ApplicationSyntax.c \
-       asn1/NetworkAddress.c \
-       asn1/IpAddress.c \
-       asn1/Counter.c \
-       asn1/Gauge.c \
-       asn1/TimeTicks.c \
-       asn1/Opaque.c \
-       asn1/Message.c \
-       asn1/PDUs.c \
-       asn1/GetRequest-PDU.c \
-       asn1/GetNextRequest-PDU.c \
-       asn1/GetResponse-PDU.c \
-       asn1/SetRequest-PDU.c \
-       asn1/PDU.c \
-       asn1/Trap-PDU.c \
-       asn1/VarBind.c \
-       asn1/VarBindList.c \
-       asn1/SMUX-PDUs.c \
-       asn1/OpenPDU.c \
-       asn1/SimpleOpen.c \
-       asn1/ClosePDU.c \
-       asn1/RReqPDU.c \
-       asn1/RRspPDU.c \
-       asn1/SOutPDU.c \
-       asn1/ANY.c \
-       asn1/BOOLEAN.c \
-       asn1/INTEGER.c \
-       asn1/NULL.c \
-       asn1/NativeEnumerated.c \
-       asn1/NativeInteger.c \
-       asn1/OBJECT_IDENTIFIER.c \
-       asn1/asn_SEQUENCE_OF.c \
-       asn1/asn_SET_OF.c \
-       asn1/constr_CHOICE.c \
-       asn1/constr_SEQUENCE.c \
-       asn1/constr_SEQUENCE_OF.c \
-       asn1/constr_SET_OF.c \
-       asn1/OCTET_STRING.c \
-       asn1/BIT_STRING.c \
-       asn1/asn_codecs_prim.c \
-       asn1/ber_tlv_length.c \
-       asn1/ber_tlv_tag.c \
-       asn1/ber_decoder.c \
-       asn1/der_encoder.c \
-       asn1/constr_TYPE.c \
-       asn1/constraints.c \
-       asn1/xer_support.c \
-       asn1/xer_decoder.c \
-       asn1/xer_encoder.c \
-       asn1/per_support.c \
-       asn1/per_decoder.c \
-       asn1/per_encoder.c
+       tables.cpp \
+       handlers.cpp \
+       utils.cpp \
+       types.cpp
 
-STGLIBS = -lstgcommon
+STGLIBS = -lstgcommon -lstgsmux
 
-CXXFLAGS += -Iasn1
+CXXFLAGS += -I$(DIR_INCLUDE)/stg
 
 include ../../Makefile.in