initial addition of normCast example
parent
e566d86b02
commit
d2e1391ef3
|
|
@ -1,15 +1,27 @@
|
|||
# protolib
|
||||
# protolib source tree
|
||||
protolib/
|
||||
|
||||
# build executables
|
||||
build/
|
||||
lib/
|
||||
bin/
|
||||
makefiles/norm
|
||||
makefiles/normMsgr
|
||||
makefiles/normStreamer
|
||||
makefiles/normCast
|
||||
makefiles/normClient
|
||||
makefiles/normServer
|
||||
makefiles/npc
|
||||
makefiles/raft
|
||||
|
||||
# build object files
|
||||
*.o
|
||||
*.a
|
||||
|
||||
# waf cruft
|
||||
.waf*
|
||||
.lock-waf*
|
||||
|
||||
# OS generated files #
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ normMsgr: $(MSGR_OBJ) libnorm.a $(LIBPROTO)
|
|||
mkdir -p ../bin
|
||||
cp $@ ../bin/$@
|
||||
|
||||
# (normStreamer) message sender/receiver
|
||||
# (normStreamer) stream sender/receiver
|
||||
STREAMER_SRC = $(EXAMPLE)/normStreamer.cpp
|
||||
STREAMER_OBJ = $(STREAMER_SRC:.cpp=.o)
|
||||
|
||||
|
|
@ -187,6 +187,15 @@ normStreamer: $(STREAMER_OBJ) libnorm.a $(LIBPROTO)
|
|||
mkdir -p ../bin
|
||||
cp $@ ../bin/$@
|
||||
|
||||
# (nocmCast) file sender/receiver
|
||||
CAST_SRC = $(EXAMPLE)/normCast.cpp
|
||||
CAST_OBJ = $(CAST_SRC:.cpp=.o)
|
||||
|
||||
normCast: $(CAST_OBJ) libnorm.a $(LIBPROTO)
|
||||
$(CC) $(CFLAGS) -o $@ $(CAST_OBJ) $(LDFLAGS) libnorm.a $(LIBPROTO) $(LIBS)
|
||||
mkdir -p ../bin
|
||||
cp $@ ../bin/$@
|
||||
|
||||
# (pcap2norm) - parses pcap (e.g. tcpdump) file and prints NORM trace
|
||||
PCAP_SRC = $(COMMON)/pcap2norm.cpp
|
||||
PCAP_OBJ = $(PCAP_SRC:.cpp=.o)
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ SYSTEM_SRC = ../protolib/src/unix/bpfCap.cpp
|
|||
SYSTEM = macosx
|
||||
|
||||
CC = g++
|
||||
SYSTEM_CFLAGS = -Wall -Wcast-align -fPIC -arch x86_64 -arch i386
|
||||
SYSTEM_CFLAGS = -Wall -Wcast-align -fPIC -arch x86_64
|
||||
SYSTEM_SOFLAGS = -dynamiclib
|
||||
SYSTEM_SOEXT = dylib
|
||||
RANLIB = ranlib
|
||||
|
|
|
|||
|
|
@ -1983,7 +1983,7 @@ void NormApp::Notify(NormController::Event event,
|
|||
PLOG(PL_INFO, "%02d:%02d:%02d.%06u completed rx object>%hu ",
|
||||
(int)timePtr->tm_hour, (int)timePtr->tm_min, (int)timePtr->tm_sec, (unsigned int)currentTime.tv_usec,
|
||||
(UINT16)object->GetId());
|
||||
TRACE("sender>%lu\n", sender->GetId());
|
||||
//TRACE("sender>%lu\n", sender->GetId());
|
||||
}
|
||||
switch(object->GetType())
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue