opLINUXCNC源程序学习源程序的树结构如下:Overviewoftheemc2directory(generatedbytree-I.git-d):.|--app-defaults|--bin(usermodebinaries)|--configs||--5axis||--boss||--common||--dallur-thc||--demo_mazak(samplemazakconfigfiles)||--demo_sim_cl(samplesimwithladderIO)||--demo_step_cl(samplestepperwithladderIO)||--etch-servo||--halui_halvcp||--hexapod-sim||--lathe-pluto||--m5i20(sampleservousingMesaPCI)||--max||--motenc(sampleservousingVitalPCI)||--nist-lathe||--plasma-thc||--plasma-thc-sim||--ppmc||--puma||--scara||--sim(simulatedmotionandIO)||--stepper(parportstepperdriver)||--stepper-gantry||--stepper-xyza||--stg(sampleservousingSTGISA)||--univpwm(samplePICOservogenerator)||--univstep(samplePICOsteppergenerator)|`--vti|--debian(filesneededtobuilddebpackages)||--extras-Ubuntu-5.10(extrafilesforUbuntu5.10)|||--etc||||--modprobe.d||||--udev|||||--rules.d||||`--scripts|||`--xdg|||`--menus|||`--applications-merged||`--usr||`--share|||--applications|||--desktop-directories||`--pixmaps||--extras-Ubuntu-6.06(extrafilesforbuildingonUbuntu6.06DapperDrake)|||--etc||||--modprobe.d||||--udev|||||--rules.d||||`--scripts|||`--xdg|||`--menus|||`--applications-merged||`--usr||`--share|||--applications|||--desktop-directories||`--pixmaps||--extras-Ubuntu-7.10(extrafilesforbuildingonUbuntu7.10)|||--etc||||--modprobe.d||||--udev||||`--rules.d|||`--xdg|||`--menus|||`--applications-merged||`--usr||`--share|||--applications|||--desktop-directories||`--pixmaps||--extras-Ubuntu-8.04(extrafilesforbuildingonUbuntu8.04HardyHeron)|||--etc||||--modprobe.d|||`--xdg|||`--menus|||`--applications-merged||`--usr||`--share|||--applications|||--desktop-directories||`--pixmaps||--extras-sim-Ubuntu-5.10(extrafilesforsimpackageforUbuntu5.10)|||--etc|||`--xdg|||`--menus|||`--applications-merged||`--usr||`--share|||--applications|||--desktop-directories||`--pixmaps|`--extras-sim-Ubuntu-6.06(extrafilesforsimpackageforUbuntu6.06DapperDrake)||--etc||`--xdg||`--menus||`--applications-merged|`--usr|`--share||--applications||--desktop-directories|`--pixmaps|--docs(AlltheimportantandrelevantDocs.)||--help||--html(htmlversionofdocs-somegeneratedfromlyx)||--man(manpages)|||--man1|||--man3||`--man9|`--src(APIandsourcenotesshouldbeineachsrcdir.)(sourceforthehandbooks)(toplevel.lyxfiles)||--code||--common(shared.lyxfilesandimages,suchasglossary,GPLDlicense)||--config||--gcode(.lyxfiles,images,etc.forG-Codedocumentation)||--gui(.lyxfiles,images,etc.forGUIdocumentation)||--hal(.lyxfiles,images,etc.forHALdocumentation)||--install||--ladder||--motion|`--quickstart|--include(headersinstalledhere-originalsinsrc/xxx/)|--lib(usermodeobjectfiles)|`--python||--rs274|`--yapps|--nc_files(SampleNCfiles)|--rtlib(kernelmodeobjectfiles,onlyafterasuccessfullcompile)|--scripts(bashscriptslikelinuxcnc,realtime,rip-environment,etc.)|--share||--axis|||--images||`--tcl||--emc|`--locale||--de||`--LC_MESSAGES||--es||`--LC_MESSAGES||--fr||`--LC_MESSAGES||--hu||`--LC_MESSAGES||--it||`--LC_MESSAGES||--pt_BR||`--LC_MESSAGES||--ro||`--LC_MESSAGES||--ru||`--LC_MESSAGES||--se||`--LC_MESSAGES||--sr||`--LC_MESSAGES|`--zh_CN|`--LC_MESSAGES|--src(sourcetree-configurescript,toplevelmakefile,Makefile.inc,etc)||||--depends(generateddependencytree)||||--emc(actualLinuxCNCcode)|||--canterp(interpreterforcanonicalcommands)|||--ini(inifilerelatedoperations)|||--iotask(IOinterface,lotsofHALpins)|||--kinematics(trajectoryplannerandkinematics)|||--motion(motioncontroller,talksthroughSHMtotherestofEMC)|||--nml_intf(emcspecificNMLimplementation,allmessagessentinemc)|||--rs274ngc(thers274g-codeinterpreter)|||--sai|||--task(corecomponentinemc,dispatchesactionstootherparts)||`--usr_intf(interfacesforsomeGUIs,andotherinterfaces:AXIS,halui,stepconf)|||--axis||||--etc||||--extensions|||`--scripts||`--stepconf||--hal(theHardwareAbstractionLayer,providesaunifiedinterfaceacrossallhardware)|||--classicladder|||`--projects_examples|||--components|||--drivers||||--m5i20|||||--bit||||`--hostmot5_src||||--mesa-hostmot2|||||--doc||||`--firmware|||||--5i20|||||`--SOURCE||||`--7i43|||||--CPLD|||||`--SOURCE||||`--SOURCE||||--mesa7i43-firmware|||||--gpio|||||`--source|||||--hostmot2|||||`--src||||`--source||||--mesa_5i2x||||`--firmware||||--pluto_servo_firmware|||`--pluto_step_firmware|||--user_comps||||--devices|||`--vcp||`--utils||`--halgui||--libnml(acleanimplementationofRCSLIB)|||--buffer|||--cms|||--inifile|||--linklist|||--nml|||--os_intf|||--posemath||`--rcs||--module_helper||--objects|||--emc||||--canterp||||--ini||||--iotask||||--motion||||--nml_intf||||--rs274ngc||||--sai||||--task|||`--usr_intf|||`--axis|||`--extensions|||--hal||||--classicladder||||--components||||--drivers||||--user_comps|||||--devices||||`--vcp|||`--utils|||--libnml||||--buffer||||--cms||||--inifile||||--linklist||||--nml||||--os_intf||||--posemath|||`--rcs|||--rtapi|||--rtemc||||--kinematics|||`--motion|||--rthal||||--classicladder||||--components|||`--utils|||--rtlibnml|||`--posemath||`--rtobjects||`--hal||`--components||--po(Translationfilesfori18nsupport)||--rta