network arplab finished

This commit is contained in:
2025-11-17 22:22:52 +08:00
parent ecb6ef0a65
commit 8d9c3ed7f6
411 changed files with 42460 additions and 1 deletions

1
network/start/xnet_tiny/.idea/.name generated Normal file
View File

@@ -0,0 +1 @@
xnet

7
network/start/xnet_tiny/.idea/misc.xml generated Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
</project>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/xnet_core_c101.iml" filepath="$PROJECT_DIR$/.idea/xnet_core_c101.iml" />
</modules>
</component>
</project>

6
network/start/xnet_tiny/.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

View File

@@ -0,0 +1,563 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CMakeRunConfigurationManager" shouldGenerate="true" shouldDeleteObsolete="true">
<generated>
<config projectName="xnet" targetName="xnet" />
<config projectName="xnet" targetName="xnet_app" />
<config projectName="xnet" targetName="xnet_tiny" />
</generated>
</component>
<component name="CMakeSettings" AUTO_RELOAD="true">
<configurations>
<configuration PROFILE_NAME="Debug" CONFIG_NAME="Debug" />
</configurations>
</component>
<component name="ChangeListManager">
<list default="true" id="bdd61832-a7d3-4e22-a9cc-36a2b885a7f4" name="Default Changelist" comment="" />
<ignored path="$PROJECT_DIR$/cmake-build-debug/" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="ClangdSettings">
<option name="formatViaClangd" value="false" />
</component>
<component name="ExecutionTargetManager" SELECTED_TARGET="CMakeBuildProfile:Debug" />
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/xnet_tiny/xnet_tiny.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-40">
<caret line="42" column="15" lean-forward="true" selection-start-line="42" selection-start-column="15" selection-end-line="42" selection-end-column="15" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file:///Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="690">
<caret line="46" selection-start-line="46" selection-end-line="46" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/xnet_tiny/xnet_tiny.c">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="292">
<caret line="140" selection-start-line="140" selection-end-line="140" />
<folding>
<element signature="e#463#482#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/xnet_app/port_pcap.c">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="405">
<caret line="27" column="22" selection-start-line="27" selection-start-column="11" selection-end-line="27" selection-end-column="22" />
<folding>
<element signature="e#208#227#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/app.c">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="345">
<caret line="23" column="8" selection-start-line="23" selection-start-column="8" selection-end-line="23" selection-end-column="8" />
<folding>
<element signature="e#310#328#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/../lib/xnet/pcap_device.c">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="5610">
<caret line="374" selection-start-line="374" selection-end-line="374" />
<folding>
<element signature="e#3062#3085#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FindInProjectRecents">
<findStrings>
<find>opt_len</find>
<find>data_size</find>
<find>response_packet</find>
<find>hdr_size</find>
<find>pcap</find>
<find>ip_packet_id</find>
<find>ether_broadcast</find>
<find>tcp_send_reset</find>
<find>xip_in</find>
<find>xicmp_in</find>
<find>xudp_in</find>
<find>err</find>
<find>xnet_ntohs</find>
<find>netif_mac</find>
<find>xipaddr_is_equal_buf</find>
<find>xipaddr_is_equal</find>
<find>XNET_IPV4_ADDR_SIZE</find>
<find>PSH</find>
<find>http_send</find>
<find>XHTTP_RTX_SIZE</find>
<find>tx_buffer</find>
<find>get_line</find>
<find>XTCP_STATE_FIN_WAIT_1</find>
<find>ip_hdr_size</find>
<find>tcp_hdr</find>
<find>size</find>
<find>XTCP_STATE_LAST_ACK</find>
<find>tcp</find>
<find>ip</find>
<find>min</find>
</findStrings>
<replaceStrings>
<replace>memcpy</replace>
<replace>uint8_t</replace>
<replace>uint16_t</replace>
<replace>dest_packet-&gt;hdr.t</replace>
<replace>packet-&gt;</replace>
<replace>swap_order32</replace>
<replace>swap_order16</replace>
</replaceStrings>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/src/xnet_core/inc/xnet_cfg.h" />
<option value="$PROJECT_DIR$/src/xnet_core/CMakeLists.txt" />
<option value="$PROJECT_DIR$/src/xnet_port/CMakeLists.txt" />
<option value="$PROJECT_DIR$/src/xnet_test/CMakeLists.txt" />
<option value="$PROJECT_DIR$/src/xnet_core/inc/xdbg.h" />
<option value="$PROJECT_DIR$/src/xnet_port/pc/xnet_plat.h" />
<option value="$PROJECT_DIR$/src/xnet_test/pc/xnet_test.c" />
<option value="$PROJECT_DIR$/src/xnet_app/CMakeLists.txt" />
<option value="$PROJECT_DIR$/src/xnet_tiny/CMakeLists.txt" />
<option value="$PROJECT_DIR$/../lib/xnet/pcap_device.h" />
<option value="$PROJECT_DIR$/src/xnet_test.c" />
<option value="$PROJECT_DIR$/src/xnet_app/arp_scan.c" />
<option value="$PROJECT_DIR$/CMakeLists.txt" />
<option value="$PROJECT_DIR$/src/xnet_app/xarp_scan.c" />
<option value="$PROJECT_DIR$/src/xnet_app/xecho_server_cb.c" />
<option value="$PROJECT_DIR$/src/xnet_app/xserver_echo.c" />
<option value="$PROJECT_DIR$/src/xnet_app/xarp_scan.h" />
<option value="$PROJECT_DIR$/src/xnet_app/xserver_echo.h" />
<option value="$PROJECT_DIR$/src/xnet_app/xnet_appcfg.h" />
<option value="$PROJECT_DIR$/../lib/xnet/pcap_device.c" />
<option value="$PROJECT_DIR$/src/xnet_tiny/xnet_appcfg.h" />
<option value="$PROJECT_DIR$/src/xnet_app/xserver_datetime.c" />
<option value="$PROJECT_DIR$/src/xnet_app/xserver_datetime.h" />
<option value="$PROJECT_DIR$/src/xnet_app/xserver_http.h" />
<option value="$PROJECT_DIR$/src/xnet_app/xserver_http.c" />
<option value="$PROJECT_DIR$/src/xnet_app/port_pcap.c" />
<option value="$PROJECT_DIR$/src/app.c" />
<option value="$PROJECT_DIR$/src/xnet_tiny/xnet_tiny.c" />
<option value="$PROJECT_DIR$/src/xnet_tiny/xnet_tiny.h" />
</list>
</option>
</component>
<component name="OCFindUsagesOptions" text="true" ivars="false" properties="true" derivedClasses="false" />
<component name="OCResolveContextSettings">
<option name="configuration" value="0-xnet_app" />
</component>
<component name="ProjectFrameBounds" extendedState="6" fullScreen="true">
<option name="y" value="23" />
<option name="width" value="1280" />
<option name="height" value="777" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
<ConfirmationsSetting value="2" id="Add" />
</component>
<component name="ProjectView">
<navigator proportions="" version="1">
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="ProjectPane">
<subPane>
<expand>
<path>
<item name="xnet" type="b2602c69:ProjectViewProjectNode" />
<item name="xnet_core_c101" type="47feb1d3:ProjectViewModuleNode" />
</path>
<path>
<item name="xnet" type="b2602c69:ProjectViewProjectNode" />
<item name="xnet_core_c101" type="47feb1d3:ProjectViewModuleNode" />
<item name="xnet_tiny_c0102" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="xnet" type="b2602c69:ProjectViewProjectNode" />
<item name="xnet_core_c101" type="47feb1d3:ProjectViewModuleNode" />
<item name="xnet_tiny_c0102" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="xnet" type="b2602c69:ProjectViewProjectNode" />
<item name="xnet_core_c101" type="47feb1d3:ProjectViewModuleNode" />
<item name="xnet_tiny_c0102" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="xnet_tiny" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/src/xnet_app" />
<recent name="$PROJECT_DIR$/src" />
<recent name="$PROJECT_DIR$/src/xnet_tiny" />
</key>
<key name="MoveFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/src" />
<recent name="$PROJECT_DIR$/src/xnet_app" />
</key>
</component>
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>
<component name="RunManager" selected="CMake Application.xnet">
<configuration name="xnet" type="CMakeRunConfiguration" factoryName="Application" PASS_PARENT_ENVS_2="true" PROJECT_NAME="xnet" TARGET_NAME="xnet" CONFIG_NAME="Debug" RUN_TARGET_PROJECT_NAME="xnet" RUN_TARGET_NAME="xnet">
<method v="2">
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" />
</method>
</configuration>
<configuration name="xnet_app" type="CMakeRunConfiguration" factoryName="Application" PASS_PARENT_ENVS_2="true" PROJECT_NAME="xnet" TARGET_NAME="xnet_app" CONFIG_NAME="Debug">
<method v="2">
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" />
</method>
</configuration>
<configuration name="xnet_tiny" type="CMakeRunConfiguration" factoryName="Application" PASS_PARENT_ENVS_2="true" PROJECT_NAME="xnet" TARGET_NAME="xnet_tiny" CONFIG_NAME="Debug">
<method v="2">
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" />
</method>
</configuration>
<list>
<item itemvalue="CMake Application.xnet" />
<item itemvalue="CMake Application.xnet_app" />
<item itemvalue="CMake Application.xnet_tiny" />
</list>
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="bdd61832-a7d3-4e22-a9cc-36a2b885a7f4" name="Default Changelist" comment="" />
<created>1587874975599</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1587874975599</updated>
<workItem from="1587874976891" duration="548000" />
<workItem from="1587875552485" duration="1502000" />
<workItem from="1587877241195" duration="70000" />
<workItem from="1587881196535" duration="199000" />
<workItem from="1587881776062" duration="61000" />
<workItem from="1587881864636" duration="91000" />
<workItem from="1588461243548" duration="186000" />
<workItem from="1588461455269" duration="1783000" />
<workItem from="1588463285949" duration="1777000" />
<workItem from="1588465107497" duration="1775000" />
<workItem from="1588466924183" duration="1777000" />
<workItem from="1588468733655" duration="1225000" />
<workItem from="1588477100442" duration="1777000" />
<workItem from="1588478909756" duration="1763000" />
<workItem from="1588480730897" duration="1691000" />
<workItem from="1588482546766" duration="1223000" />
<workItem from="1588488758890" duration="1687000" />
<workItem from="1588490513288" duration="1778000" />
<workItem from="1588492323778" duration="984000" />
<workItem from="1588500057066" duration="900000" />
<workItem from="1588509151330" duration="1780000" />
<workItem from="1588510970710" duration="1775000" />
<workItem from="1588512784381" duration="1635000" />
<workItem from="1588514637357" duration="673000" />
<workItem from="1588517054610" duration="1776000" />
<workItem from="1588518865053" duration="484000" />
<workItem from="1588547668331" duration="1559000" />
<workItem from="1588563042064" duration="1431000" />
<workItem from="1588564638620" duration="1585000" />
<workItem from="1588566524474" duration="1543000" />
<workItem from="1588579234164" duration="67000" />
<workItem from="1588581045511" duration="1166000" />
<workItem from="1588826176629" duration="1535000" />
<workItem from="1588827973668" duration="1776000" />
<workItem from="1588829790146" duration="1766000" />
<workItem from="1588831598994" duration="481000" />
<workItem from="1588839745736" duration="1723000" />
<workItem from="1588892720697" duration="1781000" />
<workItem from="1588894530453" duration="1443000" />
<workItem from="1588899380541" duration="1966000" />
<workItem from="1588903350535" duration="1776000" />
<workItem from="1588905207839" duration="1995000" />
<workItem from="1588910913395" duration="1631000" />
<workItem from="1588912725080" duration="793000" />
<workItem from="1588937245590" duration="2768000" />
<workItem from="1588943429705" duration="5881000" />
<workItem from="1588977300909" duration="3790000" />
<workItem from="1588981201017" duration="1212000" />
<workItem from="1588996024486" duration="5641000" />
<workItem from="1589014577825" duration="11602000" />
<workItem from="1589035379874" duration="2763000" />
<workItem from="1589095850532" duration="280000" />
<workItem from="1589110773537" duration="1044000" />
<workItem from="1589112327510" duration="49000" />
<workItem from="1589114648546" duration="141000" />
<workItem from="1589115032190" duration="44000" />
<workItem from="1589115352403" duration="410000" />
<workItem from="1589116278669" duration="31000" />
<workItem from="1589116588106" duration="48000" />
<workItem from="1589117201109" duration="1240000" />
<workItem from="1589152320943" duration="646000" />
<workItem from="1589153050685" duration="105000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="95536000" />
</component>
<component name="ToolWindowManager">
<frame x="0" y="0" width="1280" height="800" extended-state="6" />
<layout>
<window_info content_ui="combo" id="Project" order="0" sideWeight="0.7013699" visible="true" weight="0.28432956" />
<window_info id="Structure" order="1" sideWeight="0.29863015" side_tool="true" visible="true" weight="0.28432956" />
<window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" weight="0.14109589" />
<window_info anchor="bottom" id="Run" order="2" weight="0.33013698" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.269863" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Database Changes" order="7" />
<window_info anchor="bottom" id="Messages" order="8" weight="0.24931507" />
<window_info anchor="bottom" id="Terminal" order="9" weight="0.27542374" />
<window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
<window_info anchor="bottom" id="Version Control" order="11" />
<window_info anchor="bottom" id="CMake" order="12" weight="0.19452055" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
<window_info anchor="right" id="Database" order="3" />
</layout>
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
<breakpoints>
<line-breakpoint enabled="true" type="com.jetbrains.cidr.execution.debugger.OCBreakpointType">
<url>file://$PROJECT_DIR$/src/xnet_app/xserver_http.h</url>
<line>21</line>
<option name="timeStamp" value="37" />
</line-breakpoint>
<line-breakpoint enabled="true" type="com.jetbrains.cidr.execution.debugger.OCBreakpointType">
<url>file://$PROJECT_DIR$/src/xnet_tiny/xnet_tiny.c</url>
<line>143</line>
<option name="timeStamp" value="38" />
</line-breakpoint>
<line-breakpoint enabled="true" type="com.jetbrains.cidr.execution.debugger.OCBreakpointType">
<url>file://$PROJECT_DIR$/src/xnet_tiny/xnet_tiny.c</url>
<line>140</line>
<option name="timeStamp" value="39" />
</line-breakpoint>
</breakpoints>
</breakpoint-manager>
<watches-manager>
<configuration name="CMakeRunConfiguration">
<watch expression="mac_addr" />
</configuration>
</watches-manager>
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/hello.c" />
<entry file="file://$PROJECT_DIR$/src/xnet_test/pc/xnet_test.c" />
<entry file="file://$PROJECT_DIR$/src/xnet_test/pc/xnet_appcfg.h" />
<entry file="file://$PROJECT_DIR$/src/xnet_core/inc/xdbg.h" />
<entry file="file://$PROJECT_DIR$/src/xnet_core/inc/xnet_cfg.h" />
<entry file="file://$PROJECT_DIR$/src/xnet_port/pc/xnet_plat.h" />
<entry file="file://$PROJECT_DIR$/src/xnet_port/CMakeLists.txt" />
<entry file="file:///Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_string.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="148">
<caret line="61" selection-start-line="61" selection-end-line="61" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/xnet_tiny/CMakeLists.txt">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="15">
<caret line="1" column="21" selection-start-line="1" selection-start-column="21" selection-end-line="1" selection-end-column="21" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/CMakeLists.txt">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="150">
<caret line="10" column="66" selection-start-line="10" selection-start-column="66" selection-end-line="10" selection-end-column="66" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/xnet_tiny/xnet_cfg.h" />
<entry file="file://$PROJECT_DIR$/src/xnet_app/xnet_appcfg.h" />
<entry file="file://$PROJECT_DIR$/src/xnet_app/CMakeLists.txt">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret column="22" selection-start-column="22" selection-end-column="22" />
</state>
</provider>
</entry>
<entry file="file:///Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/__clang_cuda_device_functions.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-193">
<caret line="1549" column="18" selection-start-line="1549" selection-start-column="18" selection-end-line="1549" selection-end-column="18" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/xnet_app/xarp_scan.c" />
<entry file="file://$PROJECT_DIR$/src/xnet_app/xarp_scan.h" />
<entry file="file://$PROJECT_DIR$/src/xnet_app/xserver_echo.h" />
<entry file="file://$PROJECT_DIR$/src/xnet_app/xserver_echo.c" />
<entry file="file://$PROJECT_DIR$/src/xnet_tiny/xnet_appcfg.h" />
<entry file="file:///Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2445">
<caret line="163" column="9" selection-start-line="163" selection-start-column="9" selection-end-line="163" selection-end-column="9" />
</state>
</provider>
</entry>
<entry file="file:///Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/opencl-c.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="15">
<caret line="11549" selection-start-line="11549" selection-end-line="11549" />
</state>
</provider>
</entry>
<entry file="file:///Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/strings.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1155">
<caret line="77" column="5" selection-start-line="77" selection-start-column="5" selection-end-line="77" selection-end-column="5" />
</state>
</provider>
</entry>
<entry file="file:///Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/pcap/pcap.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="5790">
<caret line="386" column="16" selection-start-line="386" selection-start-column="16" selection-end-line="386" selection-end-column="16" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/xnet_app/xserver_http.c" />
<entry file="file://$PROJECT_DIR$/src/xnet_app/xserver_http.h" />
<entry file="file://$PROJECT_DIR$/src/xnet_app/xserver_datetime.h" />
<entry file="file://$PROJECT_DIR$/src/xnet_app/xserver_datetime.c" />
<entry file="file://$PROJECT_DIR$/../lib/xnet/pcap_device.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="135">
<caret line="9" column="5" selection-start-line="9" selection-start-column="5" selection-end-line="9" selection-end-column="5" />
</state>
</provider>
</entry>
<entry file="file:///Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/stdio.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="471">
<caret line="157" column="9" selection-start-line="157" selection-start-column="9" selection-end-line="157" selection-end-column="9" />
</state>
</provider>
</entry>
<entry file="file:///Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="690">
<caret line="46" selection-start-line="46" selection-end-line="46" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/xnet_app/port_pcap.c">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="405">
<caret line="27" column="22" selection-start-line="27" selection-start-column="11" selection-end-line="27" selection-end-column="22" />
<folding>
<element signature="e#208#227#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/app.c">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="345">
<caret line="23" column="8" selection-start-line="23" selection-start-column="8" selection-end-line="23" selection-end-column="8" />
<folding>
<element signature="e#310#328#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../lib/xnet/pcap_device.c">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="5610">
<caret line="374" selection-start-line="374" selection-end-line="374" />
<folding>
<element signature="e#3062#3085#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/xnet_tiny/xnet_tiny.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-40">
<caret line="42" column="15" lean-forward="true" selection-start-line="42" selection-start-column="15" selection-end-line="42" selection-end-column="15" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/xnet_tiny/xnet_tiny.c">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="292">
<caret line="140" selection-start-line="140" selection-end-line="140" />
<folding>
<element signature="e#463#482#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</component>
</project>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<module classpath="CMake" type="CPP_MODULE" version="4" />

View File

@@ -0,0 +1,24 @@
cmake_minimum_required(VERSION 3.7)
project(xnet)
# Enable GCC debug
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
add_compile_options(-g)
include_directories(
${PROJECT_SOURCE_DIR}
${PROJECT_SOURCE_DIR}/../lib/npcap/Include
${PROJECT_SOURCE_DIR}/src/xnet_app
${PROJECT_SOURCE_DIR}/src/xnet_tiny
${PROJECT_SOURCE_DIR}/../lib/xnet
)
add_executable(${PROJECT_NAME} ../lib/xnet/pcap_device.c src/app.c)
add_subdirectory(src/xnet_tiny)
add_subdirectory(src/xnet_app)
add_definitions(-DNET_DRIVER_PCAP) # use pcap
target_link_libraries(${PROJECT_NAME} xnet_tiny xnet_app pcap)

View File

@@ -0,0 +1,384 @@
# This is the CMakeCache file.
# For build in directory: /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar
//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/lib/ccache/bin/c++
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//C compiler
CMAKE_C_COMPILER:FILEPATH=/usr/lib/ccache/bin/cc
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib
//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=
//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g
//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles/pkgRedirects
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm
//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
//Value Computed by CMake
CMAKE_PROJECT_COMPAT_VERSION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=xnet
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the archiver during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=
//Flags used by the archiver during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the archiver during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the archiver during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the archiver during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip
//Path to a program.
CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Value Computed by CMake
xnet_BINARY_DIR:STATIC=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build
//Value Computed by CMake
xnet_IS_TOP_LEVEL:STATIC=ON
//Value Computed by CMake
xnet_SOURCE_DIR:STATIC=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny
########################
# INTERNAL cache entries
########################
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=4
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=1
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//Name of CMakeLists files to read
CMAKE_LIST_FILE_NAME:INTERNAL=CMakeLists.txt
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=3
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TAPI
CMAKE_TAPI-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1

View File

@@ -0,0 +1,84 @@
set(CMAKE_C_COMPILER "/usr/lib/ccache/bin/cc")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "GNU")
set(CMAKE_C_COMPILER_VERSION "15.2.1")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "23")
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON")
set(CMAKE_C_STANDARD_LATEST "23")
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17;c_std_23")
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
set(CMAKE_C17_COMPILE_FEATURES "c_std_17")
set(CMAKE_C23_COMPILE_FEATURES "c_std_23")
set(CMAKE_C_PLATFORM_ID "Linux")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU")
set(CMAKE_C_COMPILER_APPLE_SYSROOT "")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_C_COMPILER_ARCHITECTURE_ID "x86_64")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_LINKER_LINK "")
set(CMAKE_LINKER_LLD "")
set(CMAKE_C_COMPILER_LINKER "/usr/bin/ld")
set(CMAKE_C_COMPILER_LINKER_ID "GNU")
set(CMAKE_C_COMPILER_LINKER_VERSION 2.45.1)
set(CMAKE_C_COMPILER_LINKER_FRONTEND_VARIANT GNU)
set(CMAKE_MT "")
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
set(CMAKE_COMPILER_IS_GNUCC 1)
set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE)
set(CMAKE_C_ABI_COMPILED TRUE)
set(CMAKE_C_COMPILER_ENV_VAR "CC")
set(CMAKE_C_COMPILER_ID_RUN 1)
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_C_LINKER_PREFERENCE 10)
set(CMAKE_C_LINKER_DEPFILE_SUPPORTED TRUE)
set(CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED TRUE)
set(CMAKE_C_LINKER_PUSHPOP_STATE_SUPPORTED TRUE)
# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "8")
set(CMAKE_C_COMPILER_ABI "ELF")
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN")
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
if(CMAKE_C_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_C_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
endif()
if(CMAKE_C_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "")
endif()
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include-fixed;/usr/include")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1;/usr/lib;/lib")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

View File

@@ -0,0 +1,108 @@
set(CMAKE_CXX_COMPILER "/usr/lib/ccache/bin/c++")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "GNU")
set(CMAKE_CXX_COMPILER_VERSION "15.2.1")
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17")
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
set(CMAKE_CXX_STANDARD_LATEST "26")
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23;cxx_std_26")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23")
set(CMAKE_CXX26_COMPILE_FEATURES "cxx_std_26")
set(CMAKE_CXX_PLATFORM_ID "Linux")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "GNU")
set(CMAKE_CXX_COMPILER_APPLE_SYSROOT "")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID "x86_64")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_LINKER_LINK "")
set(CMAKE_LINKER_LLD "")
set(CMAKE_CXX_COMPILER_LINKER "/usr/bin/ld")
set(CMAKE_CXX_COMPILER_LINKER_ID "GNU")
set(CMAKE_CXX_COMPILER_LINKER_VERSION 2.45.1)
set(CMAKE_CXX_COMPILER_LINKER_FRONTEND_VARIANT GNU)
set(CMAKE_MT "")
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
set(CMAKE_COMPILER_IS_GNUCXX 1)
set(CMAKE_CXX_COMPILER_LOADED 1)
set(CMAKE_CXX_COMPILER_WORKS TRUE)
set(CMAKE_CXX_ABI_COMPILED TRUE)
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
set(CMAKE_CXX_COMPILER_ID_RUN 1)
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m)
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
foreach (lang IN ITEMS C OBJC OBJCXX)
if (CMAKE_${lang}_COMPILER_ID_RUN)
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
endforeach()
endif()
endforeach()
set(CMAKE_CXX_LINKER_PREFERENCE 30)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED TRUE)
set(CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED TRUE)
set(CMAKE_CXX_LINKER_PUSHPOP_STATE_SUPPORTED TRUE)
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
set(CMAKE_CXX_COMPILER_ABI "ELF")
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
if(CMAKE_CXX_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_CXX_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
endif()
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "")
endif()
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/share/verilator/include;/usr/include/c++/15.2.1;/usr/include/c++/15.2.1/x86_64-pc-linux-gnu;/usr/include/c++/15.2.1/backward;/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include-fixed;/usr/include")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1;/usr/lib;/lib")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
set(CMAKE_CXX_COMPILER_CLANG_RESOURCE_DIR "")
set(CMAKE_CXX_COMPILER_IMPORT_STD "")
### Imported target for C++23 standard library
set(CMAKE_CXX23_COMPILER_IMPORT_STD_NOT_FOUND_MESSAGE "Unsupported generator: Unix Makefiles")
### Imported target for C++26 standard library
set(CMAKE_CXX26_COMPILER_IMPORT_STD_NOT_FOUND_MESSAGE "Unsupported generator: Unix Makefiles")

View File

@@ -0,0 +1,15 @@
set(CMAKE_HOST_SYSTEM "Linux-6.17.8-2-cachyos")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "6.17.8-2-cachyos")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Linux-6.17.8-2-cachyos")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "6.17.8-2-cachyos")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)

View File

@@ -0,0 +1,934 @@
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
#if defined(__CLASSIC_C__)
/* cv-qualifiers did not exist in K&R C */
# define const
# define volatile
#endif
#if !defined(__has_include)
/* If the compiler does not have __has_include, pretend the answer is
always no. */
# define __has_include(x) 0
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
except that a few beta releases use the old format with V=2021. */
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
/* The third version component from --version is an update index,
but no macro is provided for it. */
# define COMPILER_VERSION_PATCH DEC(0)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
# define COMPILER_ID "IntelLLVM"
#if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
#endif
#if defined(__GNUC__)
# define SIMULATE_ID "GNU"
#endif
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
* VVVV is no smaller than the current year when a version is released.
*/
#if __INTEL_LLVM_COMPILER < 1000000L
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
#else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
#endif
#if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
#endif
#if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
#elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
#endif
#if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
#endif
#if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
#endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_C)
# define COMPILER_ID "SunPro"
# if __SUNPRO_C >= 0x5100
/* __SUNPRO_C = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# endif
#elif defined(__HP_cc)
# define COMPILER_ID "HP"
/* __HP_cc = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
#elif defined(__DECC)
# define COMPILER_ID "Compaq"
/* __DECC_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__open_xl__) && defined(__clang__)
# define COMPILER_ID "IBMClang"
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
# define COMPILER_ID "XL"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__NVCOMPILER)
# define COMPILER_ID "NVHPC"
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
# if defined(__NVCOMPILER_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(__clang__) && defined(__cray__)
# define COMPILER_ID "CrayClang"
# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__CLANG_FUJITSU)
# define COMPILER_ID "FujitsuClang"
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__FUJITSU)
# define COMPILER_ID "Fujitsu"
# if defined(__FCC_version__)
# define COMPILER_VERSION __FCC_version__
# elif defined(__FCC_major__)
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# endif
# if defined(__fcc_version)
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
# elif defined(__FCC_VERSION)
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
# endif
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__TASKING__)
# define COMPILER_ID "Tasking"
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
#elif defined(__ORANGEC__)
# define COMPILER_ID "OrangeC"
# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
#elif defined(__RENESAS__)
# define COMPILER_ID "Renesas"
/* __RENESAS_VERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__RENESAS_VERSION__ >> 24 & 0xFF)
# define COMPILER_VERSION_MINOR HEX(__RENESAS_VERSION__ >> 16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__RENESAS_VERSION__ >> 8 & 0xFF)
#elif defined(__TINYC__)
# define COMPILER_ID "TinyCC"
#elif defined(__BCC__)
# define COMPILER_ID "Bruce"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__) && defined(__ti__)
# define COMPILER_ID "TIClang"
# define COMPILER_VERSION_MAJOR DEC(__ti_major__)
# define COMPILER_VERSION_MINOR DEC(__ti_minor__)
# define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__)
# define COMPILER_VERSION_INTERNAL DEC(__ti_version__)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
# define COMPILER_ID "LCC"
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
# if defined(__LCC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
# endif
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
# define SIMULATE_ID "GNU"
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
# endif
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(_ADI_COMPILER)
# define COMPILER_ID "ADSP"
#if defined(__VERSIONNUM__)
/* __VERSIONNUM__ = 0xVVRRPPTT */
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
#elif defined(__DCC__) && defined(_DIAB_TOOL)
# define COMPILER_ID "Diab"
# define COMPILER_VERSION_MAJOR DEC(__VERSION_MAJOR_NUMBER__)
# define COMPILER_VERSION_MINOR DEC(__VERSION_MINOR_NUMBER__)
# define COMPILER_VERSION_PATCH DEC(__VERSION_ARCH_FEATURE_NUMBER__)
# define COMPILER_VERSION_TWEAK DEC(__VERSION_BUG_FIX_NUMBER__)
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
# define COMPILER_ID "SDCC"
# if defined(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
# else
/* SDCC = VRP */
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__MSYS__)
# define PLATFORM_ID "MSYS"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
# elif defined(_ADI_COMPILER)
# define PLATFORM_ID "ADSP"
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_ARM64EC)
# define ARCHITECTURE_ID "ARM64EC"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# elif defined(__ICCSTM8__)
# define ARCHITECTURE_ID "STM8"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__clang__) && defined(__ti__)
# if defined(__ARM_ARCH)
# define ARCHITECTURE_ID "ARM"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
# elif defined(__ADSPSHARC__)
# define ARCHITECTURE_ID "SHARC"
# elif defined(__ADSPBLACKFIN__)
# define ARCHITECTURE_ID "Blackfin"
#elif defined(__TASKING__)
# if defined(__CTC__) || defined(__CPTC__)
# define ARCHITECTURE_ID "TriCore"
# elif defined(__CMCS__)
# define ARCHITECTURE_ID "MCS"
# elif defined(__CARM__) || defined(__CPARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__CARC__)
# define ARCHITECTURE_ID "ARC"
# elif defined(__C51__)
# define ARCHITECTURE_ID "8051"
# elif defined(__CPCP__)
# define ARCHITECTURE_ID "PCP"
# else
# define ARCHITECTURE_ID ""
# endif
#elif defined(__RENESAS__)
# if defined(__CCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__CCRL__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__CCRH__)
# define ARCHITECTURE_ID "RH850"
# else
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number. */
#ifdef COMPILER_VERSION
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
/* Construct a string literal encoding the version number components. */
#elif defined(COMPILER_VERSION_MAJOR)
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#elif defined(COMPILER_VERSION_INTERNAL_STR)
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#define C_STD_99 199901L
#define C_STD_11 201112L
#define C_STD_17 201710L
#define C_STD_23 202311L
#ifdef __STDC_VERSION__
# define C_STD __STDC_VERSION__
#endif
#if !defined(__STDC__) && !defined(__clang__) && !defined(__RENESAS__)
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
# define C_VERSION "90"
# else
# define C_VERSION
# endif
#elif C_STD > C_STD_17
# define C_VERSION "23"
#elif C_STD > C_STD_11
# define C_VERSION "17"
#elif C_STD > C_STD_99
# define C_VERSION "11"
#elif C_STD >= C_STD_99
# define C_VERSION "99"
#else
# define C_VERSION "90"
#endif
const char* info_language_standard_default =
"INFO" ":" "standard_default[" C_VERSION "]";
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
defined(__TI_COMPILER_VERSION__) || defined(__RENESAS__)) && \
!defined(__STRICT_ANSI__)
"ON"
#else
"OFF"
#endif
"]";
/*--------------------------------------------------------------------------*/
#ifdef ID_VOID_MAIN
void main() {}
#else
# if defined(__CLASSIC_C__)
int main(argc, argv) int argc; char *argv[];
# else
int main(int argc, char* argv[])
# endif
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#if defined(COMPILER_VERSION_INTERNAL) || defined(COMPILER_VERSION_INTERNAL_STR)
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
require += info_cray[argc];
#endif
require += info_language_standard_default[argc];
require += info_language_extensions_default[argc];
(void)argv;
return require;
}
#endif

View File

@@ -0,0 +1,949 @@
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
#if !defined(__has_include)
/* If the compiler does not have __has_include, pretend the answer is
always no. */
# define __has_include(x) 0
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
except that a few beta releases use the old format with V=2021. */
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
/* The third version component from --version is an update index,
but no macro is provided for it. */
# define COMPILER_VERSION_PATCH DEC(0)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
# define COMPILER_ID "IntelLLVM"
#if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
#endif
#if defined(__GNUC__)
# define SIMULATE_ID "GNU"
#endif
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
* VVVV is no smaller than the current year when a version is released.
*/
#if __INTEL_LLVM_COMPILER < 1000000L
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
#else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
#endif
#if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
#endif
#if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
#elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
#endif
#if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
#endif
#if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
#endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_CC)
# define COMPILER_ID "SunPro"
# if __SUNPRO_CC >= 0x5100
/* __SUNPRO_CC = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# endif
#elif defined(__HP_aCC)
# define COMPILER_ID "HP"
/* __HP_aCC = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
#elif defined(__DECCXX)
# define COMPILER_ID "Compaq"
/* __DECCXX_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__open_xl__) && defined(__clang__)
# define COMPILER_ID "IBMClang"
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
# define COMPILER_ID "XL"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__NVCOMPILER)
# define COMPILER_ID "NVHPC"
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
# if defined(__NVCOMPILER_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(__clang__) && defined(__cray__)
# define COMPILER_ID "CrayClang"
# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__CLANG_FUJITSU)
# define COMPILER_ID "FujitsuClang"
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__FUJITSU)
# define COMPILER_ID "Fujitsu"
# if defined(__FCC_version__)
# define COMPILER_VERSION __FCC_version__
# elif defined(__FCC_major__)
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# endif
# if defined(__fcc_version)
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
# elif defined(__FCC_VERSION)
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
# endif
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__TASKING__)
# define COMPILER_ID "Tasking"
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
#elif defined(__ORANGEC__)
# define COMPILER_ID "OrangeC"
# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
#elif defined(__RENESAS__)
# define COMPILER_ID "Renesas"
/* __RENESAS_VERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__RENESAS_VERSION__ >> 24 & 0xFF)
# define COMPILER_VERSION_MINOR HEX(__RENESAS_VERSION__ >> 16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__RENESAS_VERSION__ >> 8 & 0xFF)
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__) && defined(__ti__)
# define COMPILER_ID "TIClang"
# define COMPILER_VERSION_MAJOR DEC(__ti_major__)
# define COMPILER_VERSION_MINOR DEC(__ti_minor__)
# define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__)
# define COMPILER_VERSION_INTERNAL DEC(__ti_version__)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
# define COMPILER_ID "LCC"
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
# if defined(__LCC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
# endif
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
# define SIMULATE_ID "GNU"
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
# endif
#elif defined(__GNUC__) || defined(__GNUG__)
# define COMPILER_ID "GNU"
# if defined(__GNUC__)
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# else
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(_ADI_COMPILER)
# define COMPILER_ID "ADSP"
#if defined(__VERSIONNUM__)
/* __VERSIONNUM__ = 0xVVRRPPTT */
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
#elif defined(__DCC__) && defined(_DIAB_TOOL)
# define COMPILER_ID "Diab"
# define COMPILER_VERSION_MAJOR DEC(__VERSION_MAJOR_NUMBER__)
# define COMPILER_VERSION_MINOR DEC(__VERSION_MINOR_NUMBER__)
# define COMPILER_VERSION_PATCH DEC(__VERSION_ARCH_FEATURE_NUMBER__)
# define COMPILER_VERSION_TWEAK DEC(__VERSION_BUG_FIX_NUMBER__)
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__MSYS__)
# define PLATFORM_ID "MSYS"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
# elif defined(_ADI_COMPILER)
# define PLATFORM_ID "ADSP"
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_ARM64EC)
# define ARCHITECTURE_ID "ARM64EC"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# elif defined(__ICCSTM8__)
# define ARCHITECTURE_ID "STM8"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__clang__) && defined(__ti__)
# if defined(__ARM_ARCH)
# define ARCHITECTURE_ID "ARM"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
# elif defined(__ADSPSHARC__)
# define ARCHITECTURE_ID "SHARC"
# elif defined(__ADSPBLACKFIN__)
# define ARCHITECTURE_ID "Blackfin"
#elif defined(__TASKING__)
# if defined(__CTC__) || defined(__CPTC__)
# define ARCHITECTURE_ID "TriCore"
# elif defined(__CMCS__)
# define ARCHITECTURE_ID "MCS"
# elif defined(__CARM__) || defined(__CPARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__CARC__)
# define ARCHITECTURE_ID "ARC"
# elif defined(__C51__)
# define ARCHITECTURE_ID "8051"
# elif defined(__CPCP__)
# define ARCHITECTURE_ID "PCP"
# else
# define ARCHITECTURE_ID ""
# endif
#elif defined(__RENESAS__)
# if defined(__CCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__CCRL__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__CCRH__)
# define ARCHITECTURE_ID "RH850"
# else
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number. */
#ifdef COMPILER_VERSION
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
/* Construct a string literal encoding the version number components. */
#elif defined(COMPILER_VERSION_MAJOR)
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#elif defined(COMPILER_VERSION_INTERNAL_STR)
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#define CXX_STD_98 199711L
#define CXX_STD_11 201103L
#define CXX_STD_14 201402L
#define CXX_STD_17 201703L
#define CXX_STD_20 202002L
#define CXX_STD_23 202302L
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG)
# if _MSVC_LANG > CXX_STD_17
# define CXX_STD _MSVC_LANG
# elif _MSVC_LANG == CXX_STD_17 && defined(__cpp_aggregate_paren_init)
# define CXX_STD CXX_STD_20
# elif _MSVC_LANG > CXX_STD_14 && __cplusplus > CXX_STD_17
# define CXX_STD CXX_STD_20
# elif _MSVC_LANG > CXX_STD_14
# define CXX_STD CXX_STD_17
# elif defined(__INTEL_CXX11_MODE__) && defined(__cpp_aggregate_nsdmi)
# define CXX_STD CXX_STD_14
# elif defined(__INTEL_CXX11_MODE__)
# define CXX_STD CXX_STD_11
# else
# define CXX_STD CXX_STD_98
# endif
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
# if _MSVC_LANG > __cplusplus
# define CXX_STD _MSVC_LANG
# else
# define CXX_STD __cplusplus
# endif
#elif defined(__NVCOMPILER)
# if __cplusplus == CXX_STD_17 && defined(__cpp_aggregate_paren_init)
# define CXX_STD CXX_STD_20
# else
# define CXX_STD __cplusplus
# endif
#elif defined(__INTEL_COMPILER) || defined(__PGI)
# if __cplusplus == CXX_STD_11 && defined(__cpp_namespace_attributes)
# define CXX_STD CXX_STD_17
# elif __cplusplus == CXX_STD_11 && defined(__cpp_aggregate_nsdmi)
# define CXX_STD CXX_STD_14
# else
# define CXX_STD __cplusplus
# endif
#elif (defined(__IBMCPP__) || defined(__ibmxl__)) && defined(__linux__)
# if __cplusplus == CXX_STD_11 && defined(__cpp_aggregate_nsdmi)
# define CXX_STD CXX_STD_14
# else
# define CXX_STD __cplusplus
# endif
#elif __cplusplus == 1 && defined(__GXX_EXPERIMENTAL_CXX0X__)
# define CXX_STD CXX_STD_11
#else
# define CXX_STD __cplusplus
#endif
const char* info_language_standard_default = "INFO" ":" "standard_default["
#if CXX_STD > CXX_STD_23
"26"
#elif CXX_STD > CXX_STD_20
"23"
#elif CXX_STD > CXX_STD_17
"20"
#elif CXX_STD > CXX_STD_14
"17"
#elif CXX_STD > CXX_STD_11
"14"
#elif CXX_STD >= CXX_STD_11
"11"
#else
"98"
#endif
"]";
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
defined(__TI_COMPILER_VERSION__) || defined(__RENESAS__)) && \
!defined(__STRICT_ANSI__)
"ON"
#else
"OFF"
#endif
"]";
/*--------------------------------------------------------------------------*/
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#if defined(COMPILER_VERSION_INTERNAL) || defined(COMPILER_VERSION_INTERNAL_STR)
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
require += info_cray[argc];
#endif
require += info_language_standard_default[argc];
require += info_language_extensions_default[argc];
(void)argv;
return require;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/gh0s7/project/NE_YuR/network/start/xnet_tiny")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@@ -0,0 +1,9 @@
{
"InstallScripts" :
[
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/cmake_install.cmake",
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny/cmake_install.cmake",
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app/cmake_install.cmake"
],
"Parallel" : false
}

View File

@@ -0,0 +1,153 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# The generator used is:
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
# The top level Makefile was generated from the following files:
set(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/CMakeLists.txt"
"CMakeFiles/4.1.2/CMakeCCompiler.cmake"
"CMakeFiles/4.1.2/CMakeCXXCompiler.cmake"
"CMakeFiles/4.1.2/CMakeSystem.cmake"
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/CMakeLists.txt"
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/CMakeLists.txt"
"/usr/share/cmake/Modules/CMakeCCompiler.cmake.in"
"/usr/share/cmake/Modules/CMakeCCompilerABI.c"
"/usr/share/cmake/Modules/CMakeCInformation.cmake"
"/usr/share/cmake/Modules/CMakeCXXCompiler.cmake.in"
"/usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp"
"/usr/share/cmake/Modules/CMakeCXXInformation.cmake"
"/usr/share/cmake/Modules/CMakeCommonLanguageInclude.cmake"
"/usr/share/cmake/Modules/CMakeCompilerIdDetection.cmake"
"/usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake"
"/usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake"
"/usr/share/cmake/Modules/CMakeDetermineCompiler.cmake"
"/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake"
"/usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake"
"/usr/share/cmake/Modules/CMakeDetermineCompilerSupport.cmake"
"/usr/share/cmake/Modules/CMakeDetermineSystem.cmake"
"/usr/share/cmake/Modules/CMakeFindBinUtils.cmake"
"/usr/share/cmake/Modules/CMakeGenericSystem.cmake"
"/usr/share/cmake/Modules/CMakeInitializeConfigs.cmake"
"/usr/share/cmake/Modules/CMakeLanguageInformation.cmake"
"/usr/share/cmake/Modules/CMakeParseImplicitIncludeInfo.cmake"
"/usr/share/cmake/Modules/CMakeParseImplicitLinkInfo.cmake"
"/usr/share/cmake/Modules/CMakeParseLibraryArchitecture.cmake"
"/usr/share/cmake/Modules/CMakeSystem.cmake.in"
"/usr/share/cmake/Modules/CMakeSystemSpecificInformation.cmake"
"/usr/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake"
"/usr/share/cmake/Modules/CMakeTestCCompiler.cmake"
"/usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake"
"/usr/share/cmake/Modules/CMakeTestCompilerCommon.cmake"
"/usr/share/cmake/Modules/CMakeUnixFindMake.cmake"
"/usr/share/cmake/Modules/Compiler/ADSP-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/Borland-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
"/usr/share/cmake/Modules/Compiler/Clang-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
"/usr/share/cmake/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/Cray-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/CrayClang-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/Diab-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/GHS-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/GNU-C.cmake"
"/usr/share/cmake/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/GNU-CXX.cmake"
"/usr/share/cmake/Modules/Compiler/GNU-FindBinUtils.cmake"
"/usr/share/cmake/Modules/Compiler/GNU.cmake"
"/usr/share/cmake/Modules/Compiler/HP-C-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/IAR-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
"/usr/share/cmake/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
"/usr/share/cmake/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/Intel-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/LCC-C-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/MSVC-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/NVHPC-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/OrangeC-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/PGI-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/PathScale-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/Renesas-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/SCO-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/TI-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/TIClang-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/Tasking-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/Watcom-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/XL-C-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
"/usr/share/cmake/Modules/Internal/CMakeCLinkerInformation.cmake"
"/usr/share/cmake/Modules/Internal/CMakeCXXLinkerInformation.cmake"
"/usr/share/cmake/Modules/Internal/CMakeCommonLinkerInformation.cmake"
"/usr/share/cmake/Modules/Internal/CMakeDetermineLinkerId.cmake"
"/usr/share/cmake/Modules/Internal/CMakeInspectCLinker.cmake"
"/usr/share/cmake/Modules/Internal/CMakeInspectCXXLinker.cmake"
"/usr/share/cmake/Modules/Internal/FeatureTesting.cmake"
"/usr/share/cmake/Modules/Linker/GNU-C.cmake"
"/usr/share/cmake/Modules/Linker/GNU-CXX.cmake"
"/usr/share/cmake/Modules/Linker/GNU.cmake"
"/usr/share/cmake/Modules/Platform/Linker/GNU.cmake"
"/usr/share/cmake/Modules/Platform/Linker/Linux-GNU-C.cmake"
"/usr/share/cmake/Modules/Platform/Linker/Linux-GNU-CXX.cmake"
"/usr/share/cmake/Modules/Platform/Linker/Linux-GNU.cmake"
"/usr/share/cmake/Modules/Platform/Linux-Determine-CXX.cmake"
"/usr/share/cmake/Modules/Platform/Linux-GNU-C.cmake"
"/usr/share/cmake/Modules/Platform/Linux-GNU-CXX.cmake"
"/usr/share/cmake/Modules/Platform/Linux-GNU.cmake"
"/usr/share/cmake/Modules/Platform/Linux-Initialize.cmake"
"/usr/share/cmake/Modules/Platform/Linux.cmake"
"/usr/share/cmake/Modules/Platform/UnixPaths.cmake"
)
# The corresponding makefile is:
set(CMAKE_MAKEFILE_OUTPUTS
"Makefile"
"CMakeFiles/cmake.check_cache"
)
# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/4.1.2/CMakeSystem.cmake"
"CMakeFiles/4.1.2/CMakeCCompiler.cmake"
"CMakeFiles/4.1.2/CMakeCXXCompiler.cmake"
"CMakeFiles/4.1.2/CMakeCCompiler.cmake"
"CMakeFiles/4.1.2/CMakeCCompiler.cmake"
"CMakeFiles/4.1.2/CMakeCXXCompiler.cmake"
"CMakeFiles/4.1.2/CMakeCXXCompiler.cmake"
"CMakeFiles/CMakeDirectoryInformation.cmake"
"src/xnet_tiny/CMakeFiles/CMakeDirectoryInformation.cmake"
"src/xnet_app/CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/xnet.dir/DependInfo.cmake"
"src/xnet_tiny/CMakeFiles/xnet_tiny.dir/DependInfo.cmake"
"src/xnet_app/CMakeFiles/xnet_app.dir/DependInfo.cmake"
)

View File

@@ -0,0 +1,232 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build
#=============================================================================
# Directory level rules for the build root directory
# The main recursive "all" target.
all: CMakeFiles/xnet.dir/all
all: src/xnet_tiny/all
all: src/xnet_app/all
.PHONY : all
# The main recursive "codegen" target.
codegen: CMakeFiles/xnet.dir/codegen
codegen: src/xnet_tiny/codegen
codegen: src/xnet_app/codegen
.PHONY : codegen
# The main recursive "preinstall" target.
preinstall: src/xnet_tiny/preinstall
preinstall: src/xnet_app/preinstall
.PHONY : preinstall
# The main recursive "clean" target.
clean: CMakeFiles/xnet.dir/clean
clean: src/xnet_tiny/clean
clean: src/xnet_app/clean
.PHONY : clean
#=============================================================================
# Directory level rules for directory src/xnet_app
# Recursive "all" directory target.
src/xnet_app/all: src/xnet_app/CMakeFiles/xnet_app.dir/all
.PHONY : src/xnet_app/all
# Recursive "codegen" directory target.
src/xnet_app/codegen: src/xnet_app/CMakeFiles/xnet_app.dir/codegen
.PHONY : src/xnet_app/codegen
# Recursive "preinstall" directory target.
src/xnet_app/preinstall:
.PHONY : src/xnet_app/preinstall
# Recursive "clean" directory target.
src/xnet_app/clean: src/xnet_app/CMakeFiles/xnet_app.dir/clean
.PHONY : src/xnet_app/clean
#=============================================================================
# Directory level rules for directory src/xnet_tiny
# Recursive "all" directory target.
src/xnet_tiny/all: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/all
.PHONY : src/xnet_tiny/all
# Recursive "codegen" directory target.
src/xnet_tiny/codegen: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/codegen
.PHONY : src/xnet_tiny/codegen
# Recursive "preinstall" directory target.
src/xnet_tiny/preinstall:
.PHONY : src/xnet_tiny/preinstall
# Recursive "clean" directory target.
src/xnet_tiny/clean: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/clean
.PHONY : src/xnet_tiny/clean
#=============================================================================
# Target rules for target CMakeFiles/xnet.dir
# All Build rule for target.
CMakeFiles/xnet.dir/all: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/all
CMakeFiles/xnet.dir/all: src/xnet_app/CMakeFiles/xnet_app.dir/all
$(MAKE) $(MAKESILENT) -f CMakeFiles/xnet.dir/build.make CMakeFiles/xnet.dir/depend
$(MAKE) $(MAKESILENT) -f CMakeFiles/xnet.dir/build.make CMakeFiles/xnet.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=1,2,3 "Built target xnet"
.PHONY : CMakeFiles/xnet.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/xnet.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles 12
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/xnet.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles 0
.PHONY : CMakeFiles/xnet.dir/rule
# Convenience name for target.
xnet: CMakeFiles/xnet.dir/rule
.PHONY : xnet
# codegen rule for target.
CMakeFiles/xnet.dir/codegen:
$(MAKE) $(MAKESILENT) -f CMakeFiles/xnet.dir/build.make CMakeFiles/xnet.dir/codegen
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=1,2,3 "Finished codegen for target xnet"
.PHONY : CMakeFiles/xnet.dir/codegen
# clean rule for target.
CMakeFiles/xnet.dir/clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/xnet.dir/build.make CMakeFiles/xnet.dir/clean
.PHONY : CMakeFiles/xnet.dir/clean
#=============================================================================
# Target rules for target src/xnet_tiny/CMakeFiles/xnet_tiny.dir
# All Build rule for target.
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/all:
$(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/depend
$(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=8,9,10,11,12 "Built target xnet_tiny"
.PHONY : src/xnet_tiny/CMakeFiles/xnet_tiny.dir/all
# Build rule for subdir invocation for target.
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles 5
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 src/xnet_tiny/CMakeFiles/xnet_tiny.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles 0
.PHONY : src/xnet_tiny/CMakeFiles/xnet_tiny.dir/rule
# Convenience name for target.
xnet_tiny: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/rule
.PHONY : xnet_tiny
# codegen rule for target.
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/codegen:
$(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/codegen
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=8,9,10,11,12 "Finished codegen for target xnet_tiny"
.PHONY : src/xnet_tiny/CMakeFiles/xnet_tiny.dir/codegen
# clean rule for target.
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/clean:
$(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/clean
.PHONY : src/xnet_tiny/CMakeFiles/xnet_tiny.dir/clean
#=============================================================================
# Target rules for target src/xnet_app/CMakeFiles/xnet_app.dir
# All Build rule for target.
src/xnet_app/CMakeFiles/xnet_app.dir/all:
$(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/depend
$(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=4,5,6,7 "Built target xnet_app"
.PHONY : src/xnet_app/CMakeFiles/xnet_app.dir/all
# Build rule for subdir invocation for target.
src/xnet_app/CMakeFiles/xnet_app.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles 4
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 src/xnet_app/CMakeFiles/xnet_app.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles 0
.PHONY : src/xnet_app/CMakeFiles/xnet_app.dir/rule
# Convenience name for target.
xnet_app: src/xnet_app/CMakeFiles/xnet_app.dir/rule
.PHONY : xnet_app
# codegen rule for target.
src/xnet_app/CMakeFiles/xnet_app.dir/codegen:
$(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/codegen
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=4,5,6,7 "Finished codegen for target xnet_app"
.PHONY : src/xnet_app/CMakeFiles/xnet_app.dir/codegen
# clean rule for target.
src/xnet_app/CMakeFiles/xnet_app.dir/clean:
$(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/clean
.PHONY : src/xnet_app/CMakeFiles/xnet_app.dir/clean
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@@ -0,0 +1,9 @@
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles/xnet.dir
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles/edit_cache.dir
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles/rebuild_cache.dir
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny/CMakeFiles/xnet_tiny.dir
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny/CMakeFiles/edit_cache.dir
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny/CMakeFiles/rebuild_cache.dir
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app/CMakeFiles/xnet_app.dir
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app/CMakeFiles/edit_cache.dir
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app/CMakeFiles/rebuild_cache.dir

View File

@@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file

View File

@@ -0,0 +1 @@
12

View File

@@ -0,0 +1,25 @@
# Consider dependencies only in project.
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
)
# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
"/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c" "CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o" "gcc" "CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o.d"
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/app.c" "CMakeFiles/xnet.dir/src/app.c.o" "gcc" "CMakeFiles/xnet.dir/src/app.c.o.d"
"" "xnet" "gcc" "CMakeFiles/xnet.dir/link.d"
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@@ -0,0 +1,132 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build
# Include any dependencies generated for this target.
include CMakeFiles/xnet.dir/depend.make
# Include any dependencies generated by the compiler for this target.
include CMakeFiles/xnet.dir/compiler_depend.make
# Include the progress variables for this target.
include CMakeFiles/xnet.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/xnet.dir/flags.make
CMakeFiles/xnet.dir/codegen:
.PHONY : CMakeFiles/xnet.dir/codegen
CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o: CMakeFiles/xnet.dir/flags.make
CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o: /home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c
CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o: CMakeFiles/xnet.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o"
/usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o -MF CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o.d -o CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o -c /home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c
CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.i"
/usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c > CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.i
CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.s"
/usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c -o CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.s
CMakeFiles/xnet.dir/src/app.c.o: CMakeFiles/xnet.dir/flags.make
CMakeFiles/xnet.dir/src/app.c.o: /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/app.c
CMakeFiles/xnet.dir/src/app.c.o: CMakeFiles/xnet.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object CMakeFiles/xnet.dir/src/app.c.o"
/usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/xnet.dir/src/app.c.o -MF CMakeFiles/xnet.dir/src/app.c.o.d -o CMakeFiles/xnet.dir/src/app.c.o -c /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/app.c
CMakeFiles/xnet.dir/src/app.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/xnet.dir/src/app.c.i"
/usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/app.c > CMakeFiles/xnet.dir/src/app.c.i
CMakeFiles/xnet.dir/src/app.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/xnet.dir/src/app.c.s"
/usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/app.c -o CMakeFiles/xnet.dir/src/app.c.s
# Object files for target xnet
xnet_OBJECTS = \
"CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o" \
"CMakeFiles/xnet.dir/src/app.c.o"
# External object files for target xnet
xnet_EXTERNAL_OBJECTS =
xnet: CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o
xnet: CMakeFiles/xnet.dir/src/app.c.o
xnet: CMakeFiles/xnet.dir/build.make
xnet: CMakeFiles/xnet.dir/compiler_depend.ts
xnet: src/xnet_tiny/libxnet_tiny.a
xnet: src/xnet_app/libxnet_app.a
xnet: CMakeFiles/xnet.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --bold --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking C executable xnet"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/xnet.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/xnet.dir/build: xnet
.PHONY : CMakeFiles/xnet.dir/build
CMakeFiles/xnet.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/xnet.dir/cmake_clean.cmake
.PHONY : CMakeFiles/xnet.dir/clean
CMakeFiles/xnet.dir/depend:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/gh0s7/project/NE_YuR/network/start/xnet_tiny /home/gh0s7/project/NE_YuR/network/start/xnet_tiny /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles/xnet.dir/DependInfo.cmake "--color=$(COLOR)"
.PHONY : CMakeFiles/xnet.dir/depend

View File

@@ -0,0 +1,14 @@
file(REMOVE_RECURSE
"CMakeFiles/xnet.dir/link.d"
"CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o"
"CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o.d"
"CMakeFiles/xnet.dir/src/app.c.o"
"CMakeFiles/xnet.dir/src/app.c.o.d"
"xnet"
"xnet.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang C)
include(CMakeFiles/xnet.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,2 @@
# Empty compiler generated dependencies file for xnet.
# This may be replaced when dependencies are built.

View File

@@ -0,0 +1,2 @@
# CMAKE generated file: DO NOT EDIT!
# Timestamp file for compiler generated dependencies management for xnet.

View File

@@ -0,0 +1,2 @@
# Empty dependencies file for xnet.
# This may be replaced when dependencies are built.

View File

@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# compile C with /usr/lib/ccache/bin/cc
C_DEFINES = -DNET_DRIVER_PCAP -D_CRT_SECURE_NO_WARNINGS
C_INCLUDES = -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/xnet
C_FLAGS = -g

View File

@@ -0,0 +1,59 @@
CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o: \
/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c \
/usr/include/stdc-predef.h /usr/include/memory.h /usr/include/features.h \
/usr/include/features-time64.h /usr/include/bits/wordsize.h \
/usr/include/bits/timesize.h /usr/include/sys/cdefs.h \
/usr/include/bits/long-double.h /usr/include/gnu/stubs.h \
/usr/include/gnu/stubs-64.h /usr/include/string.h \
/usr/include/bits/libc-header-start.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stddef.h \
/usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \
/usr/include/strings.h \
/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/pcap.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/funcattrs.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/compiler-tests.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/pcap-inttypes.h \
/usr/include/inttypes.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stdint.h \
/usr/include/stdint.h /usr/include/bits/types.h \
/usr/include/bits/typesizes.h /usr/include/bits/time64.h \
/usr/include/bits/wchar.h /usr/include/bits/stdint-intn.h \
/usr/include/bits/stdint-uintn.h /usr/include/bits/stdint-least.h \
/usr/include/sys/types.h /usr/include/bits/types/clock_t.h \
/usr/include/bits/types/clockid_t.h /usr/include/bits/types/time_t.h \
/usr/include/bits/types/timer_t.h /usr/include/endian.h \
/usr/include/bits/endian.h /usr/include/bits/endianness.h \
/usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
/usr/include/sys/select.h /usr/include/bits/select.h \
/usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
/usr/include/bits/types/struct_timeval.h \
/usr/include/bits/types/struct_timespec.h \
/usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
/usr/include/bits/pthreadtypes-arch.h \
/usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
/usr/include/bits/struct_rwlock.h /usr/include/sys/time.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/socket.h \
/usr/include/sys/socket.h /usr/include/bits/types/struct_iovec.h \
/usr/include/bits/socket.h /usr/include/bits/socket_type.h \
/usr/include/bits/sockaddr.h /usr/include/asm/socket.h \
/usr/include/asm-generic/socket.h /usr/include/linux/posix_types.h \
/usr/include/linux/stddef.h /usr/include/asm/posix_types.h \
/usr/include/asm/posix_types_64.h /usr/include/asm-generic/posix_types.h \
/usr/include/asm/bitsperlong.h /usr/include/asm-generic/bitsperlong.h \
/usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \
/usr/include/bits/types/struct_osockaddr.h /usr/include/netdb.h \
/usr/include/netinet/in.h /usr/include/bits/in.h \
/usr/include/rpc/netdb.h /usr/include/bits/netdb.h \
/usr/include/arpa/inet.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/bpf.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/dlt.h \
/usr/include/stdio.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stdarg.h \
/usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
/usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
/usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
/usr/include/bits/types/cookie_io_functions_t.h \
/usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
/usr/include/bits/floatn-common.h

View File

@@ -0,0 +1,127 @@
xnet: \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/Scrt1.o \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/crti.o \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/crtbeginS.o \
CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o \
CMakeFiles/xnet.dir/src/app.c.o \
src/xnet_tiny/libxnet_tiny.a \
src/xnet_app/libxnet_app.a \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libpcap.so \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/libgcc.a \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so.1 \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/libgcc.a \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libc.so \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libc.so \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libc.so \
/usr/lib/libc.so.6 \
/usr/lib/libc_nonshared.a \
/usr/lib/ld-linux-x86-64.so.2 \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/libgcc.a \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so.1 \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/libgcc.a \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/crtendS.o \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/crtn.o \
/usr/lib32/libnl-genl-3.so.200 \
/usr/lib/libnl-genl-3.so.200 \
/usr/lib32/libnl-3.so.200 \
/usr/lib/libnl-3.so.200 \
/usr/lib32/libdbus-1.so.3 \
/usr/lib/libdbus-1.so.3 \
/usr/lib/ld-linux-x86-64.so.2 \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so.1 \
/usr/lib32/libsystemd.so.0 \
/usr/lib/libsystemd.so.0 \
/usr/lib32/libcap.so.2 \
/usr/lib/libcap.so.2 \
/usr/lib32/libm.so.6 \
/usr/lib/libm.so.6
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/Scrt1.o:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/crti.o:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/crtbeginS.o:
CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o:
CMakeFiles/xnet.dir/src/app.c.o:
src/xnet_tiny/libxnet_tiny.a:
src/xnet_app/libxnet_app.a:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libpcap.so:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/libgcc.a:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so.1:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/libgcc.a:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libc.so:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libc.so:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libc.so:
/usr/lib/libc.so.6:
/usr/lib/libc_nonshared.a:
/usr/lib/ld-linux-x86-64.so.2:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/libgcc.a:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so.1:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/libgcc.a:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/crtendS.o:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/crtn.o:
/usr/lib32/libnl-genl-3.so.200:
/usr/lib/libnl-genl-3.so.200:
/usr/lib32/libnl-3.so.200:
/usr/lib/libnl-3.so.200:
/usr/lib32/libdbus-1.so.3:
/usr/lib/libdbus-1.so.3:
/usr/lib/ld-linux-x86-64.so.2:
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../lib/libgcc_s.so.1:
/usr/lib32/libsystemd.so.0:
/usr/lib/libsystemd.so.0:
/usr/lib32/libcap.so.2:
/usr/lib/libcap.so.2:
/usr/lib32/libm.so.6:
/usr/lib/libm.so.6:

View File

@@ -0,0 +1 @@
/usr/lib/ccache/bin/cc -Wl,--dependency-file=CMakeFiles/xnet.dir/link.d CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o CMakeFiles/xnet.dir/src/app.c.o -o xnet src/xnet_tiny/libxnet_tiny.a src/xnet_app/libxnet_app.a -lpcap

View File

@@ -0,0 +1,4 @@
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2
CMAKE_PROGRESS_3 = 3

View File

@@ -0,0 +1,23 @@
CMakeFiles/xnet.dir/src/app.c.o: \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/app.c \
/usr/include/stdc-predef.h /usr/include/stdio.h \
/usr/include/bits/libc-header-start.h /usr/include/features.h \
/usr/include/features-time64.h /usr/include/bits/wordsize.h \
/usr/include/bits/timesize.h /usr/include/sys/cdefs.h \
/usr/include/bits/long-double.h /usr/include/gnu/stubs.h \
/usr/include/gnu/stubs-64.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stddef.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stdarg.h \
/usr/include/bits/types.h /usr/include/bits/typesizes.h \
/usr/include/bits/time64.h /usr/include/bits/types/__fpos_t.h \
/usr/include/bits/types/__mbstate_t.h \
/usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
/usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
/usr/include/bits/types/cookie_io_functions_t.h \
/usr/include/bits/stdio_lim.h /usr/include/bits/floatn.h \
/usr/include/bits/floatn-common.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xnet_tiny.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stdint.h \
/usr/include/stdint.h /usr/include/bits/wchar.h \
/usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
/usr/include/bits/stdint-least.h

View File

@@ -0,0 +1,236 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake cache editor..."
/usr/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build//CMakeFiles/progress.marks
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named xnet
# Build rule for target.
xnet: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 xnet
.PHONY : xnet
# fast build rule for target.
xnet/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/xnet.dir/build.make CMakeFiles/xnet.dir/build
.PHONY : xnet/fast
#=============================================================================
# Target rules for targets named xnet_tiny
# Build rule for target.
xnet_tiny: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 xnet_tiny
.PHONY : xnet_tiny
# fast build rule for target.
xnet_tiny/fast:
$(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build
.PHONY : xnet_tiny/fast
#=============================================================================
# Target rules for targets named xnet_app
# Build rule for target.
xnet_app: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 xnet_app
.PHONY : xnet_app
# fast build rule for target.
xnet_app/fast:
$(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/build
.PHONY : xnet_app/fast
home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.o: home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o
.PHONY : home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.o
# target to build an object file
home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/xnet.dir/build.make CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o
.PHONY : home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.o
home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.i: home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.i
.PHONY : home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.i
# target to preprocess a source file
home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/xnet.dir/build.make CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.i
.PHONY : home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.i
home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.s: home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.s
.PHONY : home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.s
# target to generate assembly for a file
home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/xnet.dir/build.make CMakeFiles/xnet.dir/home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.s
.PHONY : home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.c.s
src/app.o: src/app.c.o
.PHONY : src/app.o
# target to build an object file
src/app.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/xnet.dir/build.make CMakeFiles/xnet.dir/src/app.c.o
.PHONY : src/app.c.o
src/app.i: src/app.c.i
.PHONY : src/app.i
# target to preprocess a source file
src/app.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/xnet.dir/build.make CMakeFiles/xnet.dir/src/app.c.i
.PHONY : src/app.c.i
src/app.s: src/app.c.s
.PHONY : src/app.s
# target to generate assembly for a file
src/app.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/xnet.dir/build.make CMakeFiles/xnet.dir/src/app.c.s
.PHONY : src/app.c.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... rebuild_cache"
@echo "... xnet"
@echo "... xnet_app"
@echo "... xnet_tiny"
@echo "... home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.o"
@echo "... home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.i"
@echo "... home/gh0s7/project/NE_YuR/network/start/lib/xnet/pcap_device.s"
@echo "... src/app.o"
@echo "... src/app.i"
@echo "... src/app.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@@ -0,0 +1,73 @@
# Install script for directory: /home/gh0s7/project/NE_YuR/network/start/xnet_tiny
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "0")
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
# Set path to fallback-tool for dependency-resolution.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
# Include the install script for each subdirectory.
include("/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny/cmake_install.cmake")
include("/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app/cmake_install.cmake")
endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
if(CMAKE_INSTALL_LOCAL_ONLY)
file(WRITE "/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/install_local_manifest.txt"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
endif()
if(CMAKE_INSTALL_COMPONENT)
if(CMAKE_INSTALL_COMPONENT MATCHES "^[a-zA-Z0-9_.+-]+$")
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
else()
string(MD5 CMAKE_INST_COMP_HASH "${CMAKE_INSTALL_COMPONENT}")
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INST_COMP_HASH}.txt")
unset(CMAKE_INST_COMP_HASH)
endif()
else()
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
endif()
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
file(WRITE "/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
endif()

View File

@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/gh0s7/project/NE_YuR/network/start/xnet_tiny")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@@ -0,0 +1,25 @@
# Consider dependencies only in project.
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
)
# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/port_pcap.c" "src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.o" "gcc" "src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.o.d"
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/xserver_datetime.c" "src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.o" "gcc" "src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.o.d"
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/xserver_http.c" "src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.o" "gcc" "src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.o.d"
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@@ -0,0 +1,146 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build
# Include any dependencies generated for this target.
include src/xnet_app/CMakeFiles/xnet_app.dir/depend.make
# Include any dependencies generated by the compiler for this target.
include src/xnet_app/CMakeFiles/xnet_app.dir/compiler_depend.make
# Include the progress variables for this target.
include src/xnet_app/CMakeFiles/xnet_app.dir/progress.make
# Include the compile flags for this target's objects.
include src/xnet_app/CMakeFiles/xnet_app.dir/flags.make
src/xnet_app/CMakeFiles/xnet_app.dir/codegen:
.PHONY : src/xnet_app/CMakeFiles/xnet_app.dir/codegen
src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.o: src/xnet_app/CMakeFiles/xnet_app.dir/flags.make
src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.o: /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/port_pcap.c
src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.o: src/xnet_app/CMakeFiles/xnet_app.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.o"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.o -MF CMakeFiles/xnet_app.dir/port_pcap.c.o.d -o CMakeFiles/xnet_app.dir/port_pcap.c.o -c /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/port_pcap.c
src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/xnet_app.dir/port_pcap.c.i"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/port_pcap.c > CMakeFiles/xnet_app.dir/port_pcap.c.i
src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/xnet_app.dir/port_pcap.c.s"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/port_pcap.c -o CMakeFiles/xnet_app.dir/port_pcap.c.s
src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.o: src/xnet_app/CMakeFiles/xnet_app.dir/flags.make
src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.o: /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/xserver_datetime.c
src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.o: src/xnet_app/CMakeFiles/xnet_app.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.o"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.o -MF CMakeFiles/xnet_app.dir/xserver_datetime.c.o.d -o CMakeFiles/xnet_app.dir/xserver_datetime.c.o -c /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/xserver_datetime.c
src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/xnet_app.dir/xserver_datetime.c.i"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/xserver_datetime.c > CMakeFiles/xnet_app.dir/xserver_datetime.c.i
src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/xnet_app.dir/xserver_datetime.c.s"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/xserver_datetime.c -o CMakeFiles/xnet_app.dir/xserver_datetime.c.s
src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.o: src/xnet_app/CMakeFiles/xnet_app.dir/flags.make
src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.o: /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/xserver_http.c
src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.o: src/xnet_app/CMakeFiles/xnet_app.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building C object src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.o"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.o -MF CMakeFiles/xnet_app.dir/xserver_http.c.o.d -o CMakeFiles/xnet_app.dir/xserver_http.c.o -c /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/xserver_http.c
src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/xnet_app.dir/xserver_http.c.i"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/xserver_http.c > CMakeFiles/xnet_app.dir/xserver_http.c.i
src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/xnet_app.dir/xserver_http.c.s"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/xserver_http.c -o CMakeFiles/xnet_app.dir/xserver_http.c.s
# Object files for target xnet_app
xnet_app_OBJECTS = \
"CMakeFiles/xnet_app.dir/port_pcap.c.o" \
"CMakeFiles/xnet_app.dir/xserver_datetime.c.o" \
"CMakeFiles/xnet_app.dir/xserver_http.c.o"
# External object files for target xnet_app
xnet_app_EXTERNAL_OBJECTS =
src/xnet_app/libxnet_app.a: src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.o
src/xnet_app/libxnet_app.a: src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.o
src/xnet_app/libxnet_app.a: src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.o
src/xnet_app/libxnet_app.a: src/xnet_app/CMakeFiles/xnet_app.dir/build.make
src/xnet_app/libxnet_app.a: src/xnet_app/CMakeFiles/xnet_app.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --bold --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Linking C static library libxnet_app.a"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app && $(CMAKE_COMMAND) -P CMakeFiles/xnet_app.dir/cmake_clean_target.cmake
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/xnet_app.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
src/xnet_app/CMakeFiles/xnet_app.dir/build: src/xnet_app/libxnet_app.a
.PHONY : src/xnet_app/CMakeFiles/xnet_app.dir/build
src/xnet_app/CMakeFiles/xnet_app.dir/clean:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app && $(CMAKE_COMMAND) -P CMakeFiles/xnet_app.dir/cmake_clean.cmake
.PHONY : src/xnet_app/CMakeFiles/xnet_app.dir/clean
src/xnet_app/CMakeFiles/xnet_app.dir/depend:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/gh0s7/project/NE_YuR/network/start/xnet_tiny /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app/CMakeFiles/xnet_app.dir/DependInfo.cmake "--color=$(COLOR)"
.PHONY : src/xnet_app/CMakeFiles/xnet_app.dir/depend

View File

@@ -0,0 +1,15 @@
file(REMOVE_RECURSE
"CMakeFiles/xnet_app.dir/port_pcap.c.o"
"CMakeFiles/xnet_app.dir/port_pcap.c.o.d"
"CMakeFiles/xnet_app.dir/xserver_datetime.c.o"
"CMakeFiles/xnet_app.dir/xserver_datetime.c.o.d"
"CMakeFiles/xnet_app.dir/xserver_http.c.o"
"CMakeFiles/xnet_app.dir/xserver_http.c.o.d"
"libxnet_app.a"
"libxnet_app.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang C)
include(CMakeFiles/xnet_app.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,3 @@
file(REMOVE_RECURSE
"libxnet_app.a"
)

View File

@@ -0,0 +1,2 @@
# Empty compiler generated dependencies file for xnet_app.
# This may be replaced when dependencies are built.

View File

@@ -0,0 +1,2 @@
# CMAKE generated file: DO NOT EDIT!
# Timestamp file for compiler generated dependencies management for xnet_app.

View File

@@ -0,0 +1,2 @@
# Empty dependencies file for xnet_app.
# This may be replaced when dependencies are built.

View File

@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# compile C with /usr/lib/ccache/bin/cc
C_DEFINES = -D_CRT_SECURE_NO_WARNINGS
C_INCLUDES = -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/xnet
C_FLAGS = -g

View File

@@ -0,0 +1,2 @@
/usr/bin/ar qc libxnet_app.a CMakeFiles/xnet_app.dir/port_pcap.c.o CMakeFiles/xnet_app.dir/xserver_datetime.c.o CMakeFiles/xnet_app.dir/xserver_http.c.o
/usr/bin/ranlib libxnet_app.a

View File

@@ -0,0 +1,63 @@
src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.o: \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/port_pcap.c \
/usr/include/stdc-predef.h /usr/include/string.h \
/usr/include/bits/libc-header-start.h /usr/include/features.h \
/usr/include/features-time64.h /usr/include/bits/wordsize.h \
/usr/include/bits/timesize.h /usr/include/sys/cdefs.h \
/usr/include/bits/long-double.h /usr/include/gnu/stubs.h \
/usr/include/gnu/stubs-64.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stddef.h \
/usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \
/usr/include/strings.h /usr/include/stdlib.h \
/usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \
/usr/include/bits/floatn.h /usr/include/bits/floatn-common.h \
/usr/include/sys/types.h /usr/include/bits/types.h \
/usr/include/bits/typesizes.h /usr/include/bits/time64.h \
/usr/include/bits/types/clock_t.h /usr/include/bits/types/clockid_t.h \
/usr/include/bits/types/time_t.h /usr/include/bits/types/timer_t.h \
/usr/include/bits/stdint-intn.h /usr/include/endian.h \
/usr/include/bits/endian.h /usr/include/bits/endianness.h \
/usr/include/bits/byteswap.h /usr/include/bits/uintn-identity.h \
/usr/include/sys/select.h /usr/include/bits/select.h \
/usr/include/bits/types/sigset_t.h /usr/include/bits/types/__sigset_t.h \
/usr/include/bits/types/struct_timeval.h \
/usr/include/bits/types/struct_timespec.h \
/usr/include/bits/pthreadtypes.h /usr/include/bits/thread-shared-types.h \
/usr/include/bits/pthreadtypes-arch.h \
/usr/include/bits/atomic_wide_counter.h /usr/include/bits/struct_mutex.h \
/usr/include/bits/struct_rwlock.h /usr/include/alloca.h \
/usr/include/bits/stdlib-float.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/xnet/pcap_device.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/pcap.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/funcattrs.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/compiler-tests.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/pcap-inttypes.h \
/usr/include/inttypes.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stdint.h \
/usr/include/stdint.h /usr/include/bits/wchar.h \
/usr/include/bits/stdint-uintn.h /usr/include/bits/stdint-least.h \
/usr/include/sys/time.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/socket.h \
/usr/include/sys/socket.h /usr/include/bits/types/struct_iovec.h \
/usr/include/bits/socket.h /usr/include/bits/socket_type.h \
/usr/include/bits/sockaddr.h /usr/include/asm/socket.h \
/usr/include/asm-generic/socket.h /usr/include/linux/posix_types.h \
/usr/include/linux/stddef.h /usr/include/asm/posix_types.h \
/usr/include/asm/posix_types_64.h /usr/include/asm-generic/posix_types.h \
/usr/include/asm/bitsperlong.h /usr/include/asm-generic/bitsperlong.h \
/usr/include/asm/sockios.h /usr/include/asm-generic/sockios.h \
/usr/include/bits/types/struct_osockaddr.h /usr/include/netdb.h \
/usr/include/netinet/in.h /usr/include/bits/in.h \
/usr/include/rpc/netdb.h /usr/include/bits/netdb.h \
/usr/include/arpa/inet.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/bpf.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include/pcap/dlt.h \
/usr/include/stdio.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stdarg.h \
/usr/include/bits/types/__fpos_t.h /usr/include/bits/types/__mbstate_t.h \
/usr/include/bits/types/__fpos64_t.h /usr/include/bits/types/__FILE.h \
/usr/include/bits/types/FILE.h /usr/include/bits/types/struct_FILE.h \
/usr/include/bits/types/cookie_io_functions_t.h \
/usr/include/bits/stdio_lim.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xnet_tiny.h

View File

@@ -0,0 +1,5 @@
CMAKE_PROGRESS_1 = 4
CMAKE_PROGRESS_2 = 5
CMAKE_PROGRESS_3 = 6
CMAKE_PROGRESS_4 = 7

View File

@@ -0,0 +1,3 @@
src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.o: \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/xserver_datetime.c \
/usr/include/stdc-predef.h

View File

@@ -0,0 +1,3 @@
src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.o: \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app/xserver_http.c \
/usr/include/stdc-predef.h

View File

@@ -0,0 +1,236 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake cache editor..."
/usr/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# The main all target
all: cmake_check_build_system
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app//CMakeFiles/progress.marks
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 src/xnet_app/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 src/xnet_app/clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 src/xnet_app/preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 src/xnet_app/preinstall
.PHONY : preinstall/fast
# clear depends
depend:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
# Convenience name for target.
src/xnet_app/CMakeFiles/xnet_app.dir/rule:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 src/xnet_app/CMakeFiles/xnet_app.dir/rule
.PHONY : src/xnet_app/CMakeFiles/xnet_app.dir/rule
# Convenience name for target.
xnet_app: src/xnet_app/CMakeFiles/xnet_app.dir/rule
.PHONY : xnet_app
# fast build rule for target.
xnet_app/fast:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/build
.PHONY : xnet_app/fast
port_pcap.o: port_pcap.c.o
.PHONY : port_pcap.o
# target to build an object file
port_pcap.c.o:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.o
.PHONY : port_pcap.c.o
port_pcap.i: port_pcap.c.i
.PHONY : port_pcap.i
# target to preprocess a source file
port_pcap.c.i:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.i
.PHONY : port_pcap.c.i
port_pcap.s: port_pcap.c.s
.PHONY : port_pcap.s
# target to generate assembly for a file
port_pcap.c.s:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/port_pcap.c.s
.PHONY : port_pcap.c.s
xserver_datetime.o: xserver_datetime.c.o
.PHONY : xserver_datetime.o
# target to build an object file
xserver_datetime.c.o:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.o
.PHONY : xserver_datetime.c.o
xserver_datetime.i: xserver_datetime.c.i
.PHONY : xserver_datetime.i
# target to preprocess a source file
xserver_datetime.c.i:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.i
.PHONY : xserver_datetime.c.i
xserver_datetime.s: xserver_datetime.c.s
.PHONY : xserver_datetime.s
# target to generate assembly for a file
xserver_datetime.c.s:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/xserver_datetime.c.s
.PHONY : xserver_datetime.c.s
xserver_http.o: xserver_http.c.o
.PHONY : xserver_http.o
# target to build an object file
xserver_http.c.o:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.o
.PHONY : xserver_http.c.o
xserver_http.i: xserver_http.c.i
.PHONY : xserver_http.i
# target to preprocess a source file
xserver_http.c.i:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.i
.PHONY : xserver_http.c.i
xserver_http.s: xserver_http.c.s
.PHONY : xserver_http.s
# target to generate assembly for a file
xserver_http.c.s:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_app/CMakeFiles/xnet_app.dir/build.make src/xnet_app/CMakeFiles/xnet_app.dir/xserver_http.c.s
.PHONY : xserver_http.c.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... rebuild_cache"
@echo "... xnet_app"
@echo "... port_pcap.o"
@echo "... port_pcap.i"
@echo "... port_pcap.s"
@echo "... xserver_datetime.o"
@echo "... xserver_datetime.i"
@echo "... xserver_datetime.s"
@echo "... xserver_http.o"
@echo "... xserver_http.i"
@echo "... xserver_http.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@@ -0,0 +1,50 @@
# Install script for directory: /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "0")
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
# Set path to fallback-tool for dependency-resolution.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
if(CMAKE_INSTALL_LOCAL_ONLY)
file(WRITE "/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_app/install_local_manifest.txt"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
endif()

View File

@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/gh0s7/project/NE_YuR/network/start/xnet_tiny")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@@ -0,0 +1,26 @@
# Consider dependencies only in project.
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
)
# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xarp.c" "src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.o" "gcc" "src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.o.d"
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xicmp.c" "src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.o" "gcc" "src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.o.d"
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xip.c" "src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.o" "gcc" "src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.o.d"
"/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xnet_tiny.c" "src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o" "gcc" "src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o.d"
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@@ -0,0 +1,162 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build
# Include any dependencies generated for this target.
include src/xnet_tiny/CMakeFiles/xnet_tiny.dir/depend.make
# Include any dependencies generated by the compiler for this target.
include src/xnet_tiny/CMakeFiles/xnet_tiny.dir/compiler_depend.make
# Include the progress variables for this target.
include src/xnet_tiny/CMakeFiles/xnet_tiny.dir/progress.make
# Include the compile flags for this target's objects.
include src/xnet_tiny/CMakeFiles/xnet_tiny.dir/flags.make
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/codegen:
.PHONY : src/xnet_tiny/CMakeFiles/xnet_tiny.dir/codegen
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.o: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/flags.make
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.o: /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xarp.c
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.o: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.o"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.o -MF CMakeFiles/xnet_tiny.dir/xarp.c.o.d -o CMakeFiles/xnet_tiny.dir/xarp.c.o -c /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xarp.c
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/xnet_tiny.dir/xarp.c.i"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xarp.c > CMakeFiles/xnet_tiny.dir/xarp.c.i
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/xnet_tiny.dir/xarp.c.s"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xarp.c -o CMakeFiles/xnet_tiny.dir/xarp.c.s
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.o: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/flags.make
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.o: /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xicmp.c
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.o: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.o"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.o -MF CMakeFiles/xnet_tiny.dir/xicmp.c.o.d -o CMakeFiles/xnet_tiny.dir/xicmp.c.o -c /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xicmp.c
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/xnet_tiny.dir/xicmp.c.i"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xicmp.c > CMakeFiles/xnet_tiny.dir/xicmp.c.i
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/xnet_tiny.dir/xicmp.c.s"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xicmp.c -o CMakeFiles/xnet_tiny.dir/xicmp.c.s
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.o: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/flags.make
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.o: /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xip.c
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.o: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building C object src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.o"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.o -MF CMakeFiles/xnet_tiny.dir/xip.c.o.d -o CMakeFiles/xnet_tiny.dir/xip.c.o -c /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xip.c
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/xnet_tiny.dir/xip.c.i"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xip.c > CMakeFiles/xnet_tiny.dir/xip.c.i
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/xnet_tiny.dir/xip.c.s"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xip.c -o CMakeFiles/xnet_tiny.dir/xip.c.s
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/flags.make
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o: /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xnet_tiny.c
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building C object src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o -MF CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o.d -o CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o -c /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xnet_tiny.c
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing C source to CMakeFiles/xnet_tiny.dir/xnet_tiny.c.i"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xnet_tiny.c > CMakeFiles/xnet_tiny.dir/xnet_tiny.c.i
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling C source to assembly CMakeFiles/xnet_tiny.dir/xnet_tiny.c.s"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && /usr/lib/ccache/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xnet_tiny.c -o CMakeFiles/xnet_tiny.dir/xnet_tiny.c.s
# Object files for target xnet_tiny
xnet_tiny_OBJECTS = \
"CMakeFiles/xnet_tiny.dir/xarp.c.o" \
"CMakeFiles/xnet_tiny.dir/xicmp.c.o" \
"CMakeFiles/xnet_tiny.dir/xip.c.o" \
"CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o"
# External object files for target xnet_tiny
xnet_tiny_EXTERNAL_OBJECTS =
src/xnet_tiny/libxnet_tiny.a: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.o
src/xnet_tiny/libxnet_tiny.a: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.o
src/xnet_tiny/libxnet_tiny.a: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.o
src/xnet_tiny/libxnet_tiny.a: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o
src/xnet_tiny/libxnet_tiny.a: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make
src/xnet_tiny/libxnet_tiny.a: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --bold --progress-dir=/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Linking C static library libxnet_tiny.a"
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && $(CMAKE_COMMAND) -P CMakeFiles/xnet_tiny.dir/cmake_clean_target.cmake
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/xnet_tiny.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build: src/xnet_tiny/libxnet_tiny.a
.PHONY : src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/clean:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny && $(CMAKE_COMMAND) -P CMakeFiles/xnet_tiny.dir/cmake_clean.cmake
.PHONY : src/xnet_tiny/CMakeFiles/xnet_tiny.dir/clean
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/depend:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/gh0s7/project/NE_YuR/network/start/xnet_tiny /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny/CMakeFiles/xnet_tiny.dir/DependInfo.cmake "--color=$(COLOR)"
.PHONY : src/xnet_tiny/CMakeFiles/xnet_tiny.dir/depend

View File

@@ -0,0 +1,17 @@
file(REMOVE_RECURSE
"CMakeFiles/xnet_tiny.dir/xarp.c.o"
"CMakeFiles/xnet_tiny.dir/xarp.c.o.d"
"CMakeFiles/xnet_tiny.dir/xicmp.c.o"
"CMakeFiles/xnet_tiny.dir/xicmp.c.o.d"
"CMakeFiles/xnet_tiny.dir/xip.c.o"
"CMakeFiles/xnet_tiny.dir/xip.c.o.d"
"CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o"
"CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o.d"
"libxnet_tiny.a"
"libxnet_tiny.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang C)
include(CMakeFiles/xnet_tiny.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,3 @@
file(REMOVE_RECURSE
"libxnet_tiny.a"
)

View File

@@ -0,0 +1,2 @@
# Empty compiler generated dependencies file for xnet_tiny.
# This may be replaced when dependencies are built.

View File

@@ -0,0 +1,2 @@
# CMAKE generated file: DO NOT EDIT!
# Timestamp file for compiler generated dependencies management for xnet_tiny.

View File

@@ -0,0 +1,2 @@
# Empty dependencies file for xnet_tiny.
# This may be replaced when dependencies are built.

View File

@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# compile C with /usr/lib/ccache/bin/cc
C_DEFINES = -D_CRT_SECURE_NO_WARNINGS
C_INCLUDES = -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/npcap/Include -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_app -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny -I/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/../lib/xnet
C_FLAGS = -g

View File

@@ -0,0 +1,2 @@
/usr/bin/ar qc libxnet_tiny.a CMakeFiles/xnet_tiny.dir/xarp.c.o CMakeFiles/xnet_tiny.dir/xicmp.c.o CMakeFiles/xnet_tiny.dir/xip.c.o CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o
/usr/bin/ranlib libxnet_tiny.a

View File

@@ -0,0 +1,6 @@
CMAKE_PROGRESS_1 = 8
CMAKE_PROGRESS_2 = 9
CMAKE_PROGRESS_3 = 10
CMAKE_PROGRESS_4 = 11
CMAKE_PROGRESS_5 = 12

View File

@@ -0,0 +1,18 @@
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.o: \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xarp.c \
/usr/include/stdc-predef.h /usr/include/string.h \
/usr/include/bits/libc-header-start.h /usr/include/features.h \
/usr/include/features-time64.h /usr/include/bits/wordsize.h \
/usr/include/bits/timesize.h /usr/include/sys/cdefs.h \
/usr/include/bits/long-double.h /usr/include/gnu/stubs.h \
/usr/include/gnu/stubs-64.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stddef.h \
/usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \
/usr/include/strings.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xarp.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xnet_tiny.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stdint.h \
/usr/include/stdint.h /usr/include/bits/types.h \
/usr/include/bits/typesizes.h /usr/include/bits/time64.h \
/usr/include/bits/wchar.h /usr/include/bits/stdint-intn.h \
/usr/include/bits/stdint-uintn.h /usr/include/bits/stdint-least.h

View File

@@ -0,0 +1,19 @@
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.o: \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xicmp.c \
/usr/include/stdc-predef.h /usr/include/string.h \
/usr/include/bits/libc-header-start.h /usr/include/features.h \
/usr/include/features-time64.h /usr/include/bits/wordsize.h \
/usr/include/bits/timesize.h /usr/include/sys/cdefs.h \
/usr/include/bits/long-double.h /usr/include/gnu/stubs.h \
/usr/include/gnu/stubs-64.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stddef.h \
/usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \
/usr/include/strings.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xicmp.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xnet_tiny.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stdint.h \
/usr/include/stdint.h /usr/include/bits/types.h \
/usr/include/bits/typesizes.h /usr/include/bits/time64.h \
/usr/include/bits/wchar.h /usr/include/bits/stdint-intn.h \
/usr/include/bits/stdint-uintn.h /usr/include/bits/stdint-least.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xip.h

View File

@@ -0,0 +1,16 @@
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.o: \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xip.c \
/usr/include/stdc-predef.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xip.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xnet_tiny.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stdint.h \
/usr/include/stdint.h /usr/include/bits/libc-header-start.h \
/usr/include/features.h /usr/include/features-time64.h \
/usr/include/bits/wordsize.h /usr/include/bits/timesize.h \
/usr/include/sys/cdefs.h /usr/include/bits/long-double.h \
/usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
/usr/include/bits/types.h /usr/include/bits/typesizes.h \
/usr/include/bits/time64.h /usr/include/bits/wchar.h \
/usr/include/bits/stdint-intn.h /usr/include/bits/stdint-uintn.h \
/usr/include/bits/stdint-least.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xarp.h

View File

@@ -0,0 +1,19 @@
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o: \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xnet_tiny.c \
/usr/include/stdc-predef.h /usr/include/string.h \
/usr/include/bits/libc-header-start.h /usr/include/features.h \
/usr/include/features-time64.h /usr/include/bits/wordsize.h \
/usr/include/bits/timesize.h /usr/include/sys/cdefs.h \
/usr/include/bits/long-double.h /usr/include/gnu/stubs.h \
/usr/include/gnu/stubs-64.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stddef.h \
/usr/include/bits/types/locale_t.h /usr/include/bits/types/__locale_t.h \
/usr/include/strings.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xnet_tiny.h \
/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/stdint.h \
/usr/include/stdint.h /usr/include/bits/types.h \
/usr/include/bits/typesizes.h /usr/include/bits/time64.h \
/usr/include/bits/wchar.h /usr/include/bits/stdint-intn.h \
/usr/include/bits/stdint-uintn.h /usr/include/bits/stdint-least.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xarp.h \
/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny/xicmp.h

View File

@@ -0,0 +1,263 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake cache editor..."
/usr/bin/ccmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# The main all target
all: cmake_check_build_system
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny//CMakeFiles/progress.marks
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 src/xnet_tiny/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 src/xnet_tiny/clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 src/xnet_tiny/preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 src/xnet_tiny/preinstall
.PHONY : preinstall/fast
# clear depends
depend:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
# Convenience name for target.
src/xnet_tiny/CMakeFiles/xnet_tiny.dir/rule:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 src/xnet_tiny/CMakeFiles/xnet_tiny.dir/rule
.PHONY : src/xnet_tiny/CMakeFiles/xnet_tiny.dir/rule
# Convenience name for target.
xnet_tiny: src/xnet_tiny/CMakeFiles/xnet_tiny.dir/rule
.PHONY : xnet_tiny
# fast build rule for target.
xnet_tiny/fast:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build
.PHONY : xnet_tiny/fast
xarp.o: xarp.c.o
.PHONY : xarp.o
# target to build an object file
xarp.c.o:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.o
.PHONY : xarp.c.o
xarp.i: xarp.c.i
.PHONY : xarp.i
# target to preprocess a source file
xarp.c.i:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.i
.PHONY : xarp.c.i
xarp.s: xarp.c.s
.PHONY : xarp.s
# target to generate assembly for a file
xarp.c.s:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xarp.c.s
.PHONY : xarp.c.s
xicmp.o: xicmp.c.o
.PHONY : xicmp.o
# target to build an object file
xicmp.c.o:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.o
.PHONY : xicmp.c.o
xicmp.i: xicmp.c.i
.PHONY : xicmp.i
# target to preprocess a source file
xicmp.c.i:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.i
.PHONY : xicmp.c.i
xicmp.s: xicmp.c.s
.PHONY : xicmp.s
# target to generate assembly for a file
xicmp.c.s:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xicmp.c.s
.PHONY : xicmp.c.s
xip.o: xip.c.o
.PHONY : xip.o
# target to build an object file
xip.c.o:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.o
.PHONY : xip.c.o
xip.i: xip.c.i
.PHONY : xip.i
# target to preprocess a source file
xip.c.i:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.i
.PHONY : xip.c.i
xip.s: xip.c.s
.PHONY : xip.s
# target to generate assembly for a file
xip.c.s:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xip.c.s
.PHONY : xip.c.s
xnet_tiny.o: xnet_tiny.c.o
.PHONY : xnet_tiny.o
# target to build an object file
xnet_tiny.c.o:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.o
.PHONY : xnet_tiny.c.o
xnet_tiny.i: xnet_tiny.c.i
.PHONY : xnet_tiny.i
# target to preprocess a source file
xnet_tiny.c.i:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.i
.PHONY : xnet_tiny.c.i
xnet_tiny.s: xnet_tiny.c.s
.PHONY : xnet_tiny.s
# target to generate assembly for a file
xnet_tiny.c.s:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(MAKE) $(MAKESILENT) -f src/xnet_tiny/CMakeFiles/xnet_tiny.dir/build.make src/xnet_tiny/CMakeFiles/xnet_tiny.dir/xnet_tiny.c.s
.PHONY : xnet_tiny.c.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... rebuild_cache"
@echo "... xnet_tiny"
@echo "... xarp.o"
@echo "... xarp.i"
@echo "... xarp.s"
@echo "... xicmp.o"
@echo "... xicmp.i"
@echo "... xicmp.s"
@echo "... xip.o"
@echo "... xip.i"
@echo "... xip.s"
@echo "... xnet_tiny.o"
@echo "... xnet_tiny.i"
@echo "... xnet_tiny.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
cd /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@@ -0,0 +1,50 @@
# Install script for directory: /home/gh0s7/project/NE_YuR/network/start/xnet_tiny/src/xnet_tiny
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "0")
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
# Set path to fallback-tool for dependency-resolution.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
if(CMAKE_INSTALL_LOCAL_ONLY)
file(WRITE "/home/gh0s7/project/NE_YuR/network/start/xnet_tiny/build/src/xnet_tiny/install_local_manifest.txt"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
endif()

Binary file not shown.

View File

@@ -0,0 +1,13 @@
#include <stdio.h>
#include "xnet_tiny.h"
int main (void) {
xnet_init();
printf("xnet running\n");
while (1) {
xnet_poll();
}
return 0;
}

View File

@@ -0,0 +1,2 @@
aux_source_directory(. DIR_HELLO_SRCS)
add_library(xnet_app ${DIR_HELLO_SRCS} )

View File

@@ -0,0 +1,52 @@
#include <string.h>
#include <stdlib.h>
#include "pcap_device.h"
#include "xnet_tiny.h"
static pcap_t * pcap;
// pcap所用的网卡
const char * ip_str = "10.20.6.8"; // 根据实际电脑上存在的网卡地址进行修改
const char my_mac_addr[] = {0x00, 0x50, 0x56, 0xc0, 0x00, 0x08};
/**
* 初始化网络驱动
* @return 0成功其它失败
*/
xnet_err_t xnet_driver_open (uint8_t * mac_addr) {
memcpy(mac_addr, my_mac_addr, sizeof(my_mac_addr));
pcap = pcap_device_open(ip_str, mac_addr, 1);
if (pcap == (pcap_t *)0) {
exit(-1);
}
return XNET_ERR_OK;
}
/**
* 发送数据
* @param frame 数据起始地址
* @param size 数据长度
* @return 0 - 成功,其它失败
*/
xnet_err_t xnet_driver_send (xnet_packet_t * packet) {
return pcap_device_send(pcap, packet->data, packet->size);
}
/**
* 读取数据
* @param frame 数据存储位置
* @param size 数据长度
* @return 0 - 成功,其它失败
*/
xnet_err_t xnet_driver_read (xnet_packet_t ** packet) {
uint16_t size;
xnet_packet_t * r_packet = xnet_alloc_for_read(XNET_CFG_PACKET_MAX_SIZE);
size = pcap_device_read(pcap, r_packet->data, XNET_CFG_PACKET_MAX_SIZE);
if (size) {
r_packet->size = size;
*packet = r_packet;
return XNET_ERR_OK;
}
return XNET_ERR_IO;
}

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,2 @@
aux_source_directory(. DIR_HELLO_SRCS)
add_library(xnet_tiny ${DIR_HELLO_SRCS} )

View File

@@ -0,0 +1,138 @@
#include <string.h>
#include "xarp.h"
#include "xnet_tiny.h"
#define XARP_CACHE_SIZE 16
#define to_addr_buf(addr) ((uint8_t *)((addr)->data))
static const uint8_t net_broadcast_addr[] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
typedef enum _xarp_state_t {
XARP_ENTRY_STATE_FREE,
XARP_ENTRY_STATE_RESOLVED,
} xarp_state_t;
typedef struct _xarp_entry_t {
uint8_t ip_addr[4];
uint8_t mac_addr[XNET_MAC_ADDR_SIZE];
xarp_state_t state;
int tmo;
int retry;
} xarp_entry_t;
static xarp_entry_t arp_table[XARP_CACHE_SIZE];
#define swap_order16(v) ((((v) & 0xFF) << 8) | (((v) >> 8) & 0xFF))
void xarp_init(void) {
for (int i = 0; i < XARP_CACHE_SIZE; i++) {
arp_table[i].state = XARP_ENTRY_STATE_FREE;
}
}
static xarp_entry_t *find_entry(const uint8_t *ip_addr, int force) {
xarp_entry_t *entry = (xarp_entry_t *)0;
for (int i = 0; i < XARP_CACHE_SIZE; i++) {
if (arp_table[i].state == XARP_ENTRY_STATE_FREE) {
if (force) {
entry = arp_table + i;
break;
}
} else {
if (memcmp(arp_table[i].ip_addr, ip_addr, 4) == 0) {
entry = arp_table + i;
break;
}
}
}
return entry;
}
static void update_entry(const uint8_t *ip_addr, const uint8_t *mac_addr, int force) {
xarp_entry_t *entry = find_entry(ip_addr, force);
if (entry) {
memcpy(entry->ip_addr, ip_addr, 4);
memcpy(entry->mac_addr, mac_addr, XNET_MAC_ADDR_SIZE);
entry->state = XARP_ENTRY_STATE_RESOLVED;
}
}
void xarp_in(xnet_packet_t *packet) {
if (packet->size < sizeof(xether_hdr_t)) {
return;
}
xether_hdr_t *ether_hdr = (xether_hdr_t *)packet->data;
remove_header(packet, sizeof(xether_hdr_t));
if (packet->size < sizeof(xarp_packet_t)) {
return;
}
xarp_packet_t *arp_packet = (xarp_packet_t *)packet->data;
if ((swap_order16(arp_packet->hw_type) != XARP_HW_ETHER) ||
(swap_order16(arp_packet->pro_type) != XARP_PROTOCOL_IP) ||
(arp_packet->hw_len != XNET_MAC_ADDR_SIZE) ||
(arp_packet->pro_len != 4)) {
return;
}
update_entry(arp_packet->send_ip, arp_packet->send_mac, 1);
if (memcmp(arp_packet->target_ip, my_ip_addr, 4) != 0) {
return;
}
if (swap_order16(arp_packet->oper) == XARP_OPER_REQUEST) {
xnet_packet_t *tx_packet = xnet_alloc_for_send(sizeof(xarp_packet_t));
if (tx_packet) {
xarp_packet_t *reply_packet = (xarp_packet_t *)tx_packet->data;
reply_packet->hw_type = swap_order16(XARP_HW_ETHER);
reply_packet->pro_type = swap_order16(XARP_PROTOCOL_IP);
reply_packet->hw_len = XNET_MAC_ADDR_SIZE;
reply_packet->pro_len = 4;
reply_packet->oper = swap_order16(XARP_OPER_REPLY);
memcpy(reply_packet->send_mac, get_netif_mac(), XNET_MAC_ADDR_SIZE);
memcpy(reply_packet->send_ip, my_ip_addr, 4);
memcpy(reply_packet->target_mac, arp_packet->send_mac, XNET_MAC_ADDR_SIZE);
memcpy(reply_packet->target_ip, arp_packet->send_ip, 4);
ethernet_out_to(XNET_PROTOCOL_ARP, ether_hdr->src, tx_packet);
}
}
}
static void send_arp_request(const uint8_t *ip_addr) {
xnet_packet_t *tx_packet = xnet_alloc_for_send(sizeof(xarp_packet_t));
if (tx_packet) {
xarp_packet_t *arp_request = (xarp_packet_t *)tx_packet->data;
arp_request->hw_type = swap_order16(XARP_HW_ETHER);
arp_request->pro_type = swap_order16(XARP_PROTOCOL_IP);
arp_request->hw_len = XNET_MAC_ADDR_SIZE;
arp_request->pro_len = 4;
arp_request->oper = swap_order16(XARP_OPER_REQUEST);
memcpy(arp_request->send_mac, get_netif_mac(), XNET_MAC_ADDR_SIZE);
memcpy(arp_request->send_ip, my_ip_addr, 4);
memset(arp_request->target_mac, 0, XNET_MAC_ADDR_SIZE);
memcpy(arp_request->target_ip, ip_addr, 4);
ethernet_out_to(XNET_PROTOCOL_ARP, net_broadcast_addr, tx_packet);
}
}
const uint8_t *xarp_resolve(const uint8_t *ip_addr) {
xarp_entry_t *entry = find_entry(ip_addr, 0);
if (entry) {
if (entry->state == XARP_ENTRY_STATE_RESOLVED) {
return entry->mac_addr;
}
} else {
send_arp_request(ip_addr);
}
return (const uint8_t *)0;
}

View File

@@ -0,0 +1,35 @@
#ifndef XARP_H
#define XARP_H
#include "xnet_tiny.h"
#define XARP_HW_ETHER 1 // 硬件类型:以太网
#define XARP_PROTOCOL_IP 0x0800 // 协议类型:IP
#define XARP_OPER_REQUEST 1 // ARP请求
#define XARP_OPER_REPLY 2 // ARP响应
#pragma pack(1)
/**
* ARP协议包
*/
typedef struct _xarp_packet_t {
uint16_t hw_type; // 硬件类型
uint16_t pro_type; // 协议类型
uint8_t hw_len; // 硬件地址长度
uint8_t pro_len; // 协议地址长度
uint16_t oper; // 操作码
uint8_t send_mac[XNET_MAC_ADDR_SIZE]; // 发送方MAC
uint8_t send_ip[4]; // 发送方IP
uint8_t target_mac[XNET_MAC_ADDR_SIZE]; // 接收方MAC
uint8_t target_ip[4]; // 接收方IP
} xarp_packet_t;
#pragma pack()
void xarp_init(void);
void xarp_in(xnet_packet_t *packet);
const uint8_t *xarp_resolve(const uint8_t *ip_addr);
#endif // XARP_H

View File

@@ -0,0 +1,74 @@
#include <string.h>
#include "xicmp.h"
#include "xnet_tiny.h"
#include "xip.h"
#define ICMP_TYPE_ECHO_REPLY 0
#define ICMP_TYPE_ECHO_REQUEST 8
#define swap_order16(v) ((((v) & 0xFF) << 8) | (((v) >> 8) & 0xFF))
static uint16_t checksum(void *buf, uint16_t len) {
uint32_t sum = 0;
uint16_t *curr = (uint16_t *)buf;
while (len > 1) {
sum += *curr++;
len -= 2;
}
if (len > 0) {
sum += *(uint8_t *)curr;
}
uint16_t high;
while ((high = sum >> 16) != 0) {
sum = high + (sum & 0xFFFF);
}
return ~((uint16_t)sum);
}
void xicmp_in(xnet_packet_t *packet) {
remove_header(packet, sizeof(xether_hdr_t));
xip_hdr_t *ip_hdr = (xip_hdr_t *)packet->data;
if ((ip_hdr->hlen_ver & 0xF0) != 0x40) {
return;
}
uint8_t hlen = (ip_hdr->hlen_ver & 0x0F) * 4;
if (hlen < sizeof(xip_hdr_t)) {
return;
}
if (checksum(ip_hdr, hlen) != 0) {
return;
}
if (memcmp(ip_hdr->dest_ip, my_ip_addr, 4) != 0) {
return;
}
remove_header(packet, hlen);
xicmp_packet_t *icmp_packet = (xicmp_packet_t *)packet->data;
if (icmp_packet->type == ICMP_TYPE_ECHO_REQUEST) {
xnet_packet_t *tx_packet = xnet_alloc_for_send(packet->size);
if (tx_packet) {
memcpy(tx_packet->data, packet->data, packet->size);
xicmp_packet_t *reply_icmp = (xicmp_packet_t *)tx_packet->data;
reply_icmp->type = ICMP_TYPE_ECHO_REPLY;
reply_icmp->checksum = 0;
reply_icmp->checksum = checksum(reply_icmp, tx_packet->size);
xip_hdr_t *reply_ip_hdr = (xip_hdr_t *)(tx_packet->data - sizeof(xip_hdr_t));
memcpy(reply_ip_hdr, ip_hdr, sizeof(xip_hdr_t));
reply_ip_hdr->total_len = swap_order16(tx_packet->size + sizeof(xip_hdr_t));
memcpy(reply_ip_hdr->dest_ip, ip_hdr->src_ip, 4);
memcpy(reply_ip_hdr->src_ip, my_ip_addr, 4);
reply_ip_hdr->hdr_checksum = 0;
reply_ip_hdr->hdr_checksum = checksum(reply_ip_hdr, sizeof(xip_hdr_t));
xip_out(tx_packet, ip_hdr->src_ip, XNET_PROTOCOL_IP);
}
}
}

View File

@@ -0,0 +1,33 @@
#ifndef XICMP_H
#define XICMP_H
#include "xnet_tiny.h"
#pragma pack(1)
typedef struct _xip_hdr_t {
uint8_t hlen_ver;
uint8_t tos;
uint16_t total_len;
uint16_t id;
uint16_t flags_fragment;
uint8_t ttl;
uint8_t protocol;
uint16_t hdr_checksum;
uint8_t src_ip[4];
uint8_t dest_ip[4];
} xip_hdr_t;
typedef struct _xicmp_packet_t {
uint8_t type;
uint8_t code;
uint16_t checksum;
uint16_t id;
uint16_t seq;
} xicmp_packet_t;
#pragma pack()
void xicmp_in(xnet_packet_t *packet);
#endif // XICMP_H

View File

@@ -0,0 +1,10 @@
#include "xip.h"
#include "xarp.h"
#include "xnet_tiny.h"
void xip_out(xnet_packet_t *packet, const uint8_t *dest_ip, uint8_t protocol) {
const uint8_t *mac_addr = xarp_resolve(dest_ip);
if (mac_addr) {
ethernet_out_to(XNET_PROTOCOL_IP, mac_addr, packet);
}
}

View File

@@ -0,0 +1,8 @@
#ifndef XIP_H
#define XIP_H
#include "xnet_tiny.h"
void xip_out(xnet_packet_t *packet, const uint8_t *dest_ip, uint8_t protocol);
#endif // XIP_H

Some files were not shown because too many files have changed in this diff Show More