Align the build environment and code with LinuxCNC builds.
pokeys_rt/Makefile.noqmake.rt: Update CFLAGS to include -I/usr/include/linuxcnc. Update install target to copy libPoKeysRt.so to /usr/lib/linuxcnc/modules and PoKeysLibRt.h to /usr/include/linuxcnc.
pokeys_rt/Makefile.pokeys_rt.in: Update EXTRA_CFLAGS to include -I/usr/include/linuxcnc.
pokeys_rt/pokeys_rt.comp: Update #include statements to include PoKeysLibRt.h and PoKeysLibCore.h.
pokeys_py/init.py: Update import statement to use ctypes.CDLL('/usr/lib/linuxcnc/modules/PoKeysLib.so').
BuildLinuxCnc.sh: Integrate pokeys_rt and pokeys_py components. Ensure compatibility with LinuxCNC versions 2.8.x and 2.9.x. Copy necessary files to LinuxCNC directories.
compile.sh: Follow LinuxCNC's conventions for splitting user-space and real-time components. Compile pokeys_rt and pokeys_py components.
Related to #73
Align the build environment and code with LinuxCNC builds.
CFLAGS
to include-I/usr/include/linuxcnc
. Updateinstall
target to copylibPoKeysRt.so
to/usr/lib/linuxcnc/modules
andPoKeysLibRt.h
to/usr/include/linuxcnc
.EXTRA_CFLAGS
to include-I/usr/include/linuxcnc
.#include
statements to includePoKeysLibRt.h
andPoKeysLibCore.h
.ctypes.CDLL('/usr/lib/linuxcnc/modules/PoKeysLib.so')
.pokeys_rt
andpokeys_py
components. Ensure compatibility with LinuxCNC versions 2.8.x and 2.9.x. Copy necessary files to LinuxCNC directories.pokeys_rt
andpokeys_py
components.For more details, open the Copilot Workspace session.