Build: Support common+sense+wilzor API libs; Move xcbXorg into commonLibs

xcbXorg is a connection manager lib that'll be used in common by all of
the xcb API frontends: xcbMouse, xcbWindow and xcbKeyboard. We moved
it into commonLibs to make it make more sense.

We also cleaned up the M4 scripting around AC_ARG_VAR-ing new common
libs as well as sense/wilzor libs.
This commit is contained in:
2025-01-28 04:57:07 -04:00
parent 29a1e1ecf2
commit e201b5e695
10 changed files with 146 additions and 27 deletions
+9 -3
View File
@@ -64,16 +64,22 @@ AC_SUBST([AM_CPPFLAGS])
AC_SUBST([YACC])
AC_SUBST([LEX])
m4_include([m4/sense_api_opts.m4])
COMMONLIBS_ENABLED=
SENSEAPIS_ENABLED=
WILZORAPIS_ENABLED=
m4_include([m4/commonlibs-opts.m4])
m4_include([m4/sense-wilzor-api-opts.m4])
AC_SUBST([COMMONLIBS_ENABLED])
AC_SUBST([SENSEAPIS_ENABLED])
AC_SUBST([WILZORAPIS_ENABLED])
AC_CONFIG_HEADERS([include/config.h])
AC_CONFIG_FILES([
Makefile hcore/Makefile
hcore/deviceManager/Makefile
hcore/senseApis/Makefile
senseApis/Makefile
senseApis/xcbXorg/Makefile
commonLibs/Makefile
commonLibs/xcbXorg/Makefile
])
AC_CONFIG_COMMANDS_POST([