diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-01-18 13:43:23 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:52 +0100 |
commit | 04fc34fab89483e9cfdaf7b273a867b72e622fbc (patch) | |
tree | 087e33c2692ffb5fa10a9970df7c922e48991b8b /src | |
parent | f8cb1269e31526813450cae4fd7382842fee242d (diff) |
build: autogenerate enum/flags string getter/builders
Each enum will have its own #_get_string (),
and each flags will have its own #_build_string_from_mask ().
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 615024be..b7dc3b33 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -58,14 +58,14 @@ WITH_ENUMS = mm-bearer.h mm-private-enums-types.h: Makefile.am $(WITH_ENUMS) $(top_srcdir)/build-aux/mm-enums-template.h $(AM_V_GEN) glib-mkenums \ - --fhead "#ifndef __MM_PRIVATE_ENUMS_TYPES_H__\n#define __MM_PRIVATE_ENUMS_TYPES_H__\n" \ + --fhead "#include \"mm-bearer.h\"\n#ifndef __MM_PRIVATE_ENUMS_TYPES_H__\n#define __MM_PRIVATE_ENUMS_TYPES_H__\n" \ --template $(top_srcdir)/build-aux/mm-enums-template.h \ --ftail "#endif /* __MM_PRIVATE_ENUMS_TYPES_H__ */\n" \ $(WITH_ENUMS) > $@ mm-private-enums-types.c: Makefile.am $(top_srcdir)/include/ModemManager-enums.h $(top_srcdir)/build-aux/mm-enums-template.c mm-private-enums-types.h $(AM_V_GEN) glib-mkenums \ - --fhead "#include \"mm-bearer.h\"\n#include \"mm-private-enums-types.h\"" \ + --fhead "#include \"mm-private-enums-types.h\"" \ --template $(top_srcdir)/build-aux/mm-enums-template.c \ $(WITH_ENUMS) > $@ |