aboutsummaryrefslogtreecommitdiff
path: root/build-aux
AgeCommit message (Collapse)Author
2023-04-27libmm-glib: separate files for flags and enums typesAleksander Morgado
This allows us to skip needing to include the non-existent build_string_from_mask() or get_string() counterparts in the documentation index.
2023-04-27build-aux,mkenums: use mixed enums+flags template without docs in daemonAleksander Morgado
2023-04-27build-aux,mkenums: import custom mkenums tool from libqmi/libmbimAleksander Morgado
We're going to use certain new features included in the custom tool.
2022-11-07build: drop autotoolsAleksander Morgado
2022-10-29build-aux: templates: make build reproducibleArnaud Ferraris
By including `@filename@` in the enums/errors types header template, we generate files containing the full path to source files, which reflects the particular filesystem layout used for a given build. As such, this alters build reproducibility as it causes a (admittedly small) diff between builds executed in different environments. Using `@basename@` instead ensures only the file name (without its full path) is mentioned in the generated files, making the builds reproducible again.
2021-09-07build: Port to mesonIñigo Martínez
meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools.
2021-07-30build: Rename template filesIñigo Martínez
The template files in the `build-aux` directory used in enums sources and headers generation use the `{$name}-template.[ch]` pattern. However, the examples in the official guide[0] and usually GNOME and Freedesktop packages use the `{$name}.[ch].template` pattern. Due to this, the name of the template files and build commands have been changed. [0] https://developer.gnome.org/gobject/stable/glib-mkenums.html
2021-05-18core: drop "volatile" for g_once_init_enter locationsAleksander Morgado
This fixes a few (fatal in gcc 11) warnings. See https://gitlab.gnome.org/GNOME/glib/-/issues/600
2020-01-30build-aux: fix warning in the built _get_string() methods with -Wsign-compareAleksander Morgado
mm-enums-types.c: In function ‘mm_modem_lock_get_string’: mm-enums-types.c:165:17: warning: comparison of integer expressions of different signedness: ‘MMModemLock’ {aka ‘enum <anonymous>’} and ‘gint’ {aka ‘const int’} [-Wsign-compare] 165 | if (val == mm_modem_lock_values[i].value) | ^~
2015-08-02libmm-glib: added support for Modem.Voice and Call interfacesRiccardo Vangelisti
2012-10-04build,build-aux: include missing `mm-errors-quarks-template.c' file in distAleksander Morgado
2012-10-04docs: include documentation for enum/flags helpersAleksander Morgado
2012-03-16build: autogenerate `mm-errors-quarks.c'Aleksander Morgado
We define custom nicks for each error enum, matching the DBus error entry that we want to have with each of them.
2012-03-15api,header: include default DBus path prefix for SMS objectsAleksander Morgado
2012-03-15api,header: define common object prefixes in the daemon headerAleksander Morgado
2012-03-15build: fix errors templateAleksander Morgado
Equivalent to the fix in d15b1f201 applied to the enums template. Spotted by Nathan Williams.
2012-03-15build: autogenerate enum/flags string getter/buildersAleksander Morgado
Each enum will have its own #_get_string (), and each flags will have its own #_build_string_from_mask ().
2012-03-15build: require glib 2.30.2Aleksander Morgado
So that we get the following fix in glib-mkenums: https://bugzilla.gnome.org/show_bug.cgi?id=661797
2012-03-15build: let enum and error templates be completely genericAleksander Morgado
Don't include anything in the templates specific to the file to be built, like #ifdef guards in headers or #include in sources.
2012-03-15build: disable autogeneration of the 0.5 API header fileAleksander Morgado
But keep it around as a static file, while we do the migration to the new interface.
2012-03-15libmm-common: include Errors type informationAleksander Morgado
The code to handle the Errors type information is automatically built with `glib-mkenums' and the new templates kept under `build-aux'.
2012-03-15libmm-common: include Enums and Flags type informationAleksander Morgado
The code to handle the Enums and Flags type information is automatically built with `glib-mkenums' and the new templates kept under `build-aux'. Note: We currently skip the type information of `MMModemBand'. GFlagsValue can hold only 32-bit types, and we're working with a 64-bit flag here. See: https://bugzilla.gnome.org/show_bug.cgi?id=663054
2012-03-15build: setup autogeneration of names header for the new APIAleksander Morgado
The `include/ModemManager-names.h' autogenerated header includes the list of Interface, Method, Signal and Property names defined in the DBus API.
2012-03-15build: setup header generator in its own include/MakefileAleksander Morgado
Also move helper files to the new `build-aux' directory.