Allow plugins to perform asynchronous port detection, and to defer port detection until later. This moves the prober bits into MMPluginBase so that all plugins can take adavantage of it only when needed; the probing is not done at udev time. Furthermore, plugins like Novatel can flip the secondary ports over the AT mode through deferred detection, by deferring the secondary ports until the main port has been detected and AT$NWDMAT has been sent. This commit also finishes the port of the rest of the plugins (except mbm) over to the new port detection methods and plugin API.
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
if WITH_DOCS
|
|
|
|
all:
|
|
|
|
XSLTPROC = xsltproc --xinclude --nonet
|
|
|
|
XMLS = $(wildcard introspection/mm-*.xml)
|
|
# Figure out if we need ASYNC_INTROSPECT and add it later
|
|
|
|
GENERATED_FILES = \
|
|
docs/spec.html
|
|
|
|
docs/spec.html: $(XMLS) introspection/all.xml doc-generator.xsl
|
|
@install -d docs
|
|
$(XSLTPROC) doc-generator.xsl introspection/all.xml > $@
|
|
|
|
all: $(GENERATED_FILES)
|
|
|
|
clean:
|
|
rm -f $(GENERATED_FILES)
|
|
endif
|
|
|
|
SUBDIRS = marshallers src plugins introspection test
|
|
|
|
dbusservicedir = $(DBUS_SYS_DIR)
|
|
dbusservice_DATA = org.freedesktop.ModemManager.conf
|
|
|
|
dbusactivationdir = $(datadir)/dbus-1/system-services
|
|
dbusactivation_in_files = org.freedesktop.ModemManager.service.in
|
|
dbusactivation_DATA = $(dbusactivation_in_files:.service.in=.service)
|
|
|
|
%service: %service.in
|
|
$(edit) $< >$@
|
|
|
|
edit = @sed \
|
|
-e 's|@sbindir[@]|$(sbindir)|g' \
|
|
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
|
|
-e 's|@localstatedir[@]|$(localstatedir)|g' \
|
|
-e 's|@libexecdir[@]|$(libexecdir)|g'
|
|
|
|
DISTCLEANFILES = \
|
|
$(dbusactivation_DATA)
|
|
|
|
|
|
EXTRA_DIST = \
|
|
doc-generator.xsl \
|
|
$(dbusservice_DATA) \
|
|
$(dbusactivation_in_files)
|