port-probe: convert port probe flags to a private enum

This commit is contained in:
Aleksander Morgado
2012-03-16 14:53:22 +01:00
parent b07e13f49d
commit 66984e77cd
2 changed files with 11 additions and 6 deletions
+4 -2
View File
@@ -73,11 +73,13 @@ libserial_la_SOURCES = \
mm-qcdm-serial-port.h
# Daemon specific enum types
DAEMON_ENUMS = $(srcdir)/mm-bearer.h
DAEMON_ENUMS = \
$(srcdir)/mm-bearer.h \
$(srcdir)/mm-port-probe.h
mm-daemon-enums-types.h: Makefile.am $(DAEMON_ENUMS) $(top_srcdir)/build-aux/mm-enums-template.h
$(AM_V_GEN) $(GLIB_MKENUMS) \
--fhead "#include \"mm-bearer.h\"\n#ifndef __MM_DAEMON_ENUMS_TYPES_H__\n#define __MM_DAEMON_ENUMS_TYPES_H__\n" \
--fhead "#include \"mm-bearer.h\"\n#include \"mm-port-probe.h\"\n#ifndef __MM_DAEMON_ENUMS_TYPES_H__\n#define __MM_DAEMON_ENUMS_TYPES_H__\n" \
--template $(top_srcdir)/build-aux/mm-enums-template.h \
--ftail "#endif /* __MM_DAEMON_ENUMS_TYPES_H__ */\n" \
$(DAEMON_ENUMS) > $@