[opensm] Reduce the time needed to build opensm.
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 26 Nov 2008 08:59:38 +0000 (08:59 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 26 Nov 2008 08:59:38 +0000 (08:59 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1769 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/opensm/user/opensm/SOURCES
ulp/opensm/user/opensm/osm_files.c [new file with mode: 0644]

index 607d9a7..dd38a9b 100644 (file)
@@ -18,109 +18,11 @@ USE_MSVCRT=1
 SOURCES=\\r
         osm.mc \\r
         opensm.rc \\r
-        osm_db_files.c \\r
-        osm_db_pack.c \\r
-        osm_drop_mgr.c \\r
-        osm_fwd_tbl.c \\r
-        osm_inform.c \\r
-        osm_lid_mgr.c \\r
-        osm_lin_fwd_rcv.c \\r
-        osm_lin_fwd_rcv_ctrl.c \\r
-        osm_lin_fwd_tbl.c \\r
-        osm_link_mgr.c \\r
-        osm_matrix.c \\r
-        osm_mcast_fwd_rcv.c \\r
-        osm_mcast_fwd_rcv_ctrl.c \\r
-        osm_mcast_mgr.c \\r
-        osm_mcast_tbl.c \\r
-        osm_mcm_info.c \\r
-        osm_mcm_port.c \\r
-        osm_mtree.c \\r
-        osm_multicast.c \\r
-        osm_node.c \\r
-        osm_node_desc_rcv.c \\r
-        osm_node_desc_rcv_ctrl.c \\r
-        osm_node_info_rcv.c \\r
-        osm_node_info_rcv_ctrl.c \\r
-        osm_opensm.c \\r
-        osm_pkey.c \\r
-        osm_pkey_mgr.c \\r
-        osm_prtn.c \\r
-        osm_prtn_config.c \\r
-        osm_pkey_rcv.c \\r
-        osm_pkey_rcv_ctrl.c \\r
-        osm_qos.c \\r
-        osm_port.c \\r
-        osm_port_info_rcv.c \\r
-        osm_port_info_rcv_ctrl.c \\r
-        osm_remote_sm.c \\r
-        osm_req.c \\r
-        osm_req_ctrl.c \\r
-        osm_resp.c \\r
-        osm_sa.c \\r
-        osm_router.c \\r
-        osm_sa_class_port_info.c \\r
-        osm_sa_class_port_info_ctrl.c \\r
-        osm_sa_guidinfo_record.c \\r
-        osm_sa_guidinfo_record_ctrl.c \\r
-        osm_sa_informinfo.c \\r
-        osm_sa_informinfo_ctrl.c \\r
-        osm_sa_lft_record.c \\r
-        osm_sa_lft_record_ctrl.c \\r
-        osm_sa_link_record.c \\r
-        osm_sa_link_record_ctrl.c \\r
-        osm_sa_mad_ctrl.c \\r
-        osm_sa_mcmember_record.c \\r
-        osm_sa_mcmember_record_ctrl.c \\r
-        osm_sa_mft_record.c \\r
-        osm_sa_mft_record_ctrl.c \\r
-        osm_sa_node_record.c \\r
-        osm_sa_node_record_ctrl.c \\r
-        osm_sa_path_record.c \\r
-        osm_sa_path_record_ctrl.c \\r
-        osm_sa_pkey_record.c \\r
-        osm_sa_pkey_record_ctrl.c \\r
-        osm_sa_portinfo_record.c \\r
-        osm_sa_portinfo_record_ctrl.c \\r
-        osm_sa_response.c \\r
-        osm_sa_service_record.c \\r
-        osm_sa_service_record_ctrl.c \\r
-        osm_sa_slvl_record.c \\r
-        osm_sa_slvl_record_ctrl.c \\r
-        osm_sa_sminfo_record.c \\r
-        osm_sa_sminfo_record_ctrl.c \\r
-        osm_sa_sw_info_record.c \\r
-        osm_sa_sw_info_record_ctrl.c \\r
-        osm_sa_vlarb_record.c \\r
-        osm_sa_vlarb_record_ctrl.c \\r
-        osm_service.c \\r
-        osm_slvl_map_rcv.c \\r
-        osm_slvl_map_rcv_ctrl.c \\r
-        osm_sm.c \\r
-        osm_sminfo_rcv.c \\r
-        osm_sminfo_rcv_ctrl.c \\r
-        osm_sm_mad_ctrl.c \\r
-        osm_sm_state_mgr.c \\r
-        osm_state_mgr.c \\r
-        osm_state_mgr_ctrl.c \\r
-        osm_subnet.c \\r
-        osm_sweep_fail_ctrl.c \\r
-        osm_sw_info_rcv.c \\r
-        osm_sw_info_rcv_ctrl.c \\r
-        osm_switch.c \\r
-        osm_trap_rcv.c \\r
-        osm_trap_rcv_ctrl.c \\r
-        osm_ucast_mgr.c \\r
-        osm_ucast_updn.c \\r
-        osm_ucast_file.c \\r
-        osm_ucast_ftree.c \\r
-        osm_vl15intf.c \\r
-        osm_vl_arb_rcv.c \\r
-        osm_vl_arb_rcv_ctrl.c \\r
-        st.c \\r
-        main.c \\r
-        cl_event_wheel.c \\r
-        cl_dispatcher.c\r
+       osm_files.c\\r
+       osm_drop_mgr.c\\r
+        osm_prtn_config.c\\r
+        osm_sa_mcmember_record.c\\r
+        osm_sa_path_record.c\\r
 \r
 OSM_HOME=..\r
 \r
diff --git a/ulp/opensm/user/opensm/osm_files.c b/ulp/opensm/user/opensm/osm_files.c
new file mode 100644 (file)
index 0000000..c7f6fbf
--- /dev/null
@@ -0,0 +1,99 @@
+#include <osm_db_files.c>\r
+#include <osm_db_pack.c>\r
+#include <osm_fwd_tbl.c>\r
+#include <osm_inform.c>\r
+#include <osm_lid_mgr.c>\r
+#include <osm_lin_fwd_rcv.c>\r
+#include <osm_lin_fwd_rcv_ctrl.c>\r
+#include <osm_lin_fwd_tbl.c>\r
+\r#include <osm_link_mgr.c>\r
+#include <osm_matrix.c>\r
+#include <osm_mcast_fwd_rcv.c>\r
+#include <osm_mcast_fwd_rcv_ctrl.c>\r
+#include <osm_mcast_mgr.c>\r
+#include <osm_mcast_tbl.c>\r
+#include <osm_mcm_info.c>\r
+#include <osm_mcm_port.c>\r
+#include <osm_mtree.c>\r
+#include <osm_multicast.c>\r
+#include <osm_node.c>\r
+#include <osm_node_desc_rcv.c>\r
+#include <osm_node_desc_rcv_ctrl.c>\r
+#include <osm_node_info_rcv.c>\r
+#include <osm_node_info_rcv_ctrl.c>\r
+#include <osm_opensm.c>\r
+#include <osm_pkey.c>\r
+#include <osm_pkey_mgr.c>\r
+#include <osm_prtn.c>\r
+#include <osm_pkey_rcv.c>\r
+#include <osm_pkey_rcv_ctrl.c>\r
+#include <osm_qos.c>\r
+#include <osm_port.c>\r
+#include <osm_port_info_rcv.c>\r
+#include <osm_port_info_rcv_ctrl.c>\r
+#include <osm_remote_sm.c>\r
+#include <osm_req.c>\r
+#include <osm_req_ctrl.c>\r
+#include <osm_resp.c>\r
+#include <osm_sa.c>\r
+#include <osm_router.c>\r
+#include <osm_sa_class_port_info.c>\r
+#include <osm_sa_class_port_info_ctrl.c>\r
+#include <osm_sa_guidinfo_record.c>\r
+#include <osm_sa_guidinfo_record_ctrl.c>\r
+#include <osm_sa_informinfo.c>\r
+#include <osm_sa_informinfo_ctrl.c>\r
+#include <osm_sa_lft_record.c>\r
+#include <osm_sa_lft_record_ctrl.c>\r
+#include <osm_sa_link_record.c>\r
+#include <osm_sa_link_record_ctrl.c>\r
+\r#include <osm_sa_mad_ctrl.c>\r
+\r#include <osm_sa_mcmember_record_ctrl.c>\r
+\r#include <osm_sa_mft_record.c>\r
+\r#include <osm_sa_mft_record_ctrl.c>\r
+\r#include <osm_sa_node_record.c>\r
+\r#include <osm_sa_node_record_ctrl.c>\r
+\r#include <osm_sa_path_record_ctrl.c>\r
+\r#include <osm_sa_pkey_record.c>\r
+\r#include <osm_sa_pkey_record_ctrl.c>\r
+\r#include <osm_sa_portinfo_record.c>\r
+\r#include <osm_sa_portinfo_record_ctrl.c>\r
+\r#include <osm_sa_response.c>\r
+\r#include <osm_sa_service_record.c>\r
+\r#include <osm_sa_service_record_ctrl.c>\r
+\r#include <osm_sa_slvl_record.c>\r
+\r#include <osm_sa_slvl_record_ctrl.c>\r
+\r#include <osm_sa_sminfo_record.c>\r
+\r#include <osm_sa_sminfo_record_ctrl.c>\r
+\r#include <osm_sa_sw_info_record.c>\r
+\r#include <osm_sa_sw_info_record_ctrl.c>\r
+\r#include <osm_sa_vlarb_record.c>\r
+\r#include <osm_sa_vlarb_record_ctrl.c>\r
+\r#include <osm_service.c>\r
+\r#include <osm_slvl_map_rcv.c>\r
+\r#include <osm_slvl_map_rcv_ctrl.c>\r
+\r#include <osm_sm.c>\r
+#include <osm_sminfo_rcv.c>\r
+#include <osm_sminfo_rcv_ctrl.c>\r
+#include <osm_sm_mad_ctrl.c>\r
+#include <osm_sm_state_mgr.c>\r
+#include <osm_state_mgr.c>\r
+#include <osm_state_mgr_ctrl.c>\r
+#include <osm_subnet.c>\r
+#include <osm_sweep_fail_ctrl.c>\r
+#include <osm_sw_info_rcv.c>\r
+#include <osm_sw_info_rcv_ctrl.c>\r
+#include <osm_switch.c>\r
+#include <osm_trap_rcv.c>\r
+#include <osm_trap_rcv_ctrl.c>\r
+#include <osm_ucast_mgr.c>\r
+#include <osm_ucast_updn.c>\r
+#include <osm_ucast_file.c>\r
+#include <osm_ucast_ftree.c>\r
+#include <osm_vl15intf.c>\r
+#include <osm_vl_arb_rcv.c>\r
+#include <osm_vl_arb_rcv_ctrl.c>\r
+#include <st.c>\r
+#include <main.c>\r
+#include <cl_event_wheel.c>\r
+#include <cl_dispatcher.c>\r