diff options
author | Marcel Holtmann <marcel.holtmann@intel.com> | 2009-05-10 22:44:37 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel.holtmann@intel.com> | 2009-05-10 22:44:37 -0700 |
commit | 0acaee5e1e398eff591e302583db9aa640e16fea (patch) | |
tree | 0801b3d6f6dfdf3471c68effef179eab1d7267d1 /drivers | |
parent | f2e2cd7787b14eba5160f3ff4f1b2493e55d6f4d (diff) | |
download | ofono-0acaee5e1e398eff591e302583db9aa640e16fea.tar.bz2 |
Add directory for driver plugins
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/Makefile.am | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/Makefile.am b/drivers/Makefile.am new file mode 100644 index 00000000..0791a1a2 --- /dev/null +++ b/drivers/Makefile.am @@ -0,0 +1,28 @@ + +builtin_modules = +builtin_sources = +builtin_cflags = + +noinst_LTLIBRARIES = libbuiltin.la + +libbuiltin_la_SOURCES = $(builtin_sources) +libbuiltin_la_LDFLAGS = +libbuiltin_la_CFLAGS = $(AM_CFLAGS) $(builtin_cflags) -DOFONO_PLUGIN_BUILTIN + +BUILT_SOURCES = builtin.h + +nodist_libbuiltin_la_SOURCES = $(BUILT_SOURCES) + +CLEANFILES = $(BUILT_SOURCES) + +MAINTAINERCLEANFILES = Makefile.in + +builtin.h: + echo "" > $@ + list='$(builtin_modules)'; for i in $$list; \ + do echo "extern struct ofono_plugin_desc __ofono_builtin_$$i;" >> $@; done + echo "" >> $@ + echo "static struct ofono_plugin_desc *__ofono_drivers[] = {" >> $@ + list='$(builtin_modules)'; for i in $$list; \ + do echo "&__ofono_builtin_$$i," >> $@; done + echo "NULL };" >> $@ |