diff options
author | mrm <mrm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-08 20:29:45 +0000 |
---|---|---|
committer | mrm <mrm@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-08 20:29:45 +0000 |
commit | f08b94a47c3de253f486f254abf220448d16db75 (patch) | |
tree | bec6e4310baf81f37b5199a34531dc5b11eaa7de /ASNMP/agent | |
parent | a31508aac04d7402d8f3057948267509972ded97 (diff) | |
download | ATCD-f08b94a47c3de253f486f254abf220448d16db75.tar.gz |
Eric Newton fixes
Diffstat (limited to 'ASNMP/agent')
-rw-r--r-- | ASNMP/agent/Makefile | 11 | ||||
-rw-r--r-- | ASNMP/agent/agent_impl.cpp | 2 |
2 files changed, 9 insertions, 4 deletions
diff --git a/ASNMP/agent/Makefile b/ASNMP/agent/Makefile index e3d1e009596..043ccfa45e0 100644 --- a/ASNMP/agent/Makefile +++ b/ASNMP/agent/Makefile @@ -1,10 +1,15 @@ +# Sample SNMPv1 Agent +# Makefile for Solaris 2.x +# $Id$ + OBJS = main.o snmp_agent.o agent_impl.o -CC=g++ INCL = -I$(ACE_ROOT) -I$(ACE_ROOT)/ASNMP -DEBUG = -g +CC=CC +SOL_FLAGS=-mt -R $(ACE_ROOT)/ASNMP/asnmp:$(ACE_ROOT)/ace +DEBUG = -g $(SOL_FLAGS) CFLAGS =$(INCL) $(DEBUG) RUNPATH = -LIBS = -L $(ACE_ROOT)/ASNMP/asnmp -lasnmp -L $(ACE_ROOT)/ace -lACE -ldl -lefence +LIBS = -L $(ACE_ROOT)/ASNMP/asnmp -lasnmp -L $(ACE_ROOT)/ace -lACE -ldl agent: $(OBJS) $(CC) -o agent $(DEBUG) $(OBJS) $(LIBS) $(RUNPATH) diff --git a/ASNMP/agent/agent_impl.cpp b/ASNMP/agent/agent_impl.cpp index 4a2a04062a5..2f456cc2d91 100644 --- a/ASNMP/agent/agent_impl.cpp +++ b/ASNMP/agent/agent_impl.cpp @@ -4,8 +4,8 @@ #include <ace/Reactor.h> #include <ace/SOCK_Dgram.h> #include <ace/INET_Addr.h> -#include "agent_impl.h" +#include "agent_impl.h" agent_impl::agent_impl(unsigned short port, const char *rd, const char *wr) : sagent(port) |