]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
tweaking CMake files after merge
authorJosh <jrosenba@cisco.com>
Wed, 7 May 2014 15:53:58 +0000 (11:53 -0400)
committerJosh <jrosenba@cisco.com>
Wed, 7 May 2014 15:53:58 +0000 (11:53 -0400)
src/CMakeLists.txt
src/file_api/CMakeLists.txt
src/service_inspectors/CMakeLists.txt
src/service_inspectors/nhttp_inspect/CMakeLists.txt [new file with mode: 0644]

index 9603a1615ec179f9f656e1d957f071b9995083d1..f8b5417a4cbc87c9091a9c727fa74aafa541adf5 100644 (file)
@@ -59,6 +59,7 @@ target_link_libraries(snort
     perf_monitor
     stream
     http_inspect
+    nhttp_inspect
     flow
     parser
     file_api
index 3da1a7b6060677acd35a4101fd3d25c4807b2357..cbf7211689ff9f2196d5b38e2b4d950b2784537e 100644 (file)
@@ -1,5 +1,5 @@
 
-add_subdirectory("libs")
+add_subdirectory(libs)
 
 add_library ( file_api STATIC
     file_api.h 
index 90da5c64012ee3086c9aa06ffeff96deb1d6d93e..147e7b6305eeefdc2e091c73c173655e5423504b 100644 (file)
@@ -2,6 +2,7 @@
 add_subdirectory(back_orifice)
 add_subdirectory(ftp_telnet)
 add_subdirectory(http_inspect)
+add_subdirectory(nhttp_inspect)
 add_subdirectory(rpc_decode)
 
 add_library( service_inspectors STATIC
@@ -13,5 +14,6 @@ target_link_libraries( service_inspectors
     back_orifice
     ftp_telnet
     http_inspect
+    nhttp_inspect
     rpc_decode
 )
diff --git a/src/service_inspectors/nhttp_inspect/CMakeLists.txt b/src/service_inspectors/nhttp_inspect/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3c62e9b
--- /dev/null
@@ -0,0 +1,28 @@
+
+set (FILE_LIST
+    nhttp_inspect.cc
+    nhttp_inspect.h
+    nhttp_msgheader.cc
+    nhttp_msgheader.h
+    nhttp_headnorm.cc
+    nhttp_headnorm.h
+    nhttp_strtocode.cc
+    nhttp_strtocode.h
+    nhttp_api.cc
+    nhttp_api.h
+    nhttp_tables.cc
+    nhttp_module.cc
+    nhttp_module.h
+    nhttp_testinput.cc
+    nhttp_testinput.h
+    nhttp_flowdata.cc
+    nhttp_flowdata.h
+    nhttp_scratchpad.h
+    nhttp_enum.h
+)
+
+#if (STATIC_INSPECTORS)
+    add_library(nhttp_inspect STATIC ${FILE_LIST})
+#else()
+#    add_shared_library(nhttp_inspect inspectors ${FILE_LIST})
+#endif()