add_executable(snortmatcher snortflowmatcher.cpp unified2reader.cpp)
target_link_libraries(snortmatcher trace flowmanager traceannotation)

add_executable(snortportscanmatcher snortportscanmatcher.cpp unified2reader.cpp )
target_link_libraries(snortportscanmatcher trace flowmanager traceannotation)


add_executable(bromatcher broflowmatcher.cpp brologreader.cpp )
target_link_libraries(bromatcher trace flowmanager traceannotation)

add_executable(lofmatcher lofflowmatcher.cpp  )
target_link_libraries(lofmatcher trace flowmanager traceannotation)

add_executable(darpamatcher darpaflowmatcher.cpp darpatruthreader.cpp )
target_link_libraries(darpamatcher trace flowmanager traceannotation)


add_executable(darpa1999matcher darpa1999flowmatcher.cpp darpatruthreader.cpp )
target_link_libraries(darpa1999matcher trace flowmanager traceannotation)

add_executable(phadmatcher phadmatcher.cpp phadoutputreader.cpp )
target_link_libraries(phadmatcher trace flowmanager traceannotation)

add_executable(packetdumper unified2packetdumper.c unified2reader.cpp)
target_link_libraries(packetdumper trace flowmanager traceannotation)


add_executable(annotationorganiser annotationorganiser.cpp )
target_link_libraries(annotationorganiser  traceannotation)

add_executable(annotationlevelchanger annotationlevelchanger.cpp )
target_link_libraries(annotationlevelchanger  traceannotation)

add_executable(annotationverifier annotationorderverifier.cpp )
target_link_libraries(annotationverifier traceannotation)

add_executable(annotationmerger annotationmerger.cpp )
target_link_libraries(annotationmerger traceannotation)

add_executable(annotationprinter annotationprinter.cpp )
target_link_libraries(annotationprinter traceannotation)

#This requires parts of WDCAP which is available from WAND
#add_executable(annotationanonymiser annotationanonymiser.cpp panon.c
#panon_v6.c rijndael.c splay.c )
#target_link_libraries(annotationanonymiser traceannotation)

add_executable(anonkeygen anonkeygen.cpp)


add_executable(hitcounter hitcounter.cpp unified2reader.cpp )
target_link_libraries(hitcounter trace flowmanager traceannotation)

add_executable(hitcounter2 hitcounter2.cpp)
target_link_libraries(hitcounter2 trace flowmanager traceannotation)

add_executable(hitcounter3 hitcounter3.cpp)
target_link_libraries(hitcounter3 trace flowmanager traceannotation)

add_executable(tracepacketprinter tracepacketprinter.cpp)
target_link_libraries(tracepacketprinter trace flowmanager)

add_executable(unified2splitter unifiedsplitter.cpp unified2writer.c unified2reader.c)
target_link_libraries(unified2splitter trace)

#brologreader: brologreader.cpp
#	$(CC) $(CFLAGS) -o $@ $+

#darpatruthreader: darpatruthreader.cpp
#	$(CC) $(CFLAGS) -o $@ $+


