port-probe: convert port probe flags to a private enum
This commit is contained in:
+4
-2
@@ -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) > $@
|
||||
|
||||
Reference in New Issue
Block a user