First functional monitoring server - can return the trust router version
[trust_router.git] / CMakeLists.txt
index 5d30c36..c970f02 100644 (file)
@@ -29,7 +29,7 @@ set(SOURCE_FILES
     common/tr_debug.c
     common/tr_dh.c
     common/tr_filter.c
-    common/tr_gss.c
+        common/tr_gss_names.c
     common/tr_idp.c
     common/tr_mq.c
     common/tr_msg.c
@@ -57,7 +57,7 @@ set(SOURCE_FILES
     include/tr_debug.h
     include/tr_event.h
     include/tr_filter.h
-    include/tr_gss.h
+        include/tr_gss_names.h
     include/tr_idp.h
     include/tr_mq.h
     include/tr_msg.h
@@ -91,11 +91,13 @@ set(SOURCE_FILES
     trp/trp_upd.c
     trp/trpc.c
     trp/trps.c include/tr_name_internal.h mon/mon_req.c mon/mon_req_encode.c mon/mon_req_decode.c
-        mon/mon_resp.c mon/mon_common.c mon/mon_resp_encode.c)
+        mon/mon_resp.c mon/mon_common.c mon/mon_resp_encode.c mon/mon_resp_decode.c tr/tr_mon.c mon/mons.c include/tr_socket.h common/tr_gss.c include/tr_gss.h common/tr_config_internal.c mon/mons_handlers.c mon/mons_handlers.h mon/mons_handlers_show.c)
 
 # Does not actually build!
 add_executable(trust_router ${SOURCE_FILES})
 
+add_executable(trmon mon/monc.c tr/trmon_main.c common/tr_gss_client.c include/tr_gss_client.h)
+
 # Test build targets - for debugging
 add_executable(test_mon_req_encode mon/mon_common.c mon/mon_req.c mon/tests/test_mon_req_encode.c mon/mon_req_encode.c)
 target_link_libraries(test_mon_req_encode jansson talloc glib-2.0)