Commit graph

4 commits

Author SHA1 Message Date
Thomas Haller 0907f3c21e build: include "config.h" in nm*enum-types.c sources
Also include the "config.h" file in the generated sources
like "nm-enum-types.c".
2015-10-05 15:01:38 +02:00
Dan Winship ac50fc2642 build: update Makefile.glib
If a SOURCES variable changes, we need to recheck the generated files,
since a file may have been removed from SOURCES, but still be
referenced in a previously-generated -enum-types.c file, etc. So make
these generated files depend on Makefile.

Also, update spacing of silent rules to match current automake.
2013-04-19 10:52:21 -04:00
Priit Laes 4fdc64a8c5 Makefile.glib: Fix locale-specific issues
When using Estonian (et_EE) locale, 'a-z' range skips 'tuv...'

https://bugzilla.gnome.org/show_bug.cgi?id=654395
2012-02-24 08:17:38 -05:00
Dan Winship 839eab5564 Use glib-mkenums to generate enum types
Rather than generating enum classes by hand (and complaining in each
file that "this should really be standard"), use glib-mkenums.

Unfortunately, we need a very new version of glib-mkenums in order to
deal with NM's naming conventions and to fix a few other bugs, so just
import that into the source tree temporarily.

Also, to simplify the use of glib-mkenums, import Makefile.glib from
https://bugzilla.gnome.org/654395.

To avoid having to run glib-mkenums for every subdirectory of src/,
add a new "generated" directory, and put the generated enums files
there.

Finally, use Makefile.glib for marshallers too, and generate separate
ones for libnm-glib and NetworkManager.
2012-02-15 11:42:15 -05:00