diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-11-24 17:11:29 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-11-24 17:11:29 +0100 |
commit | 4c94e25ba6544a43f13679616577175f045c332c (patch) | |
tree | e82949262a98f59e49700a67ae7a2a382dc4100b /src/Makefile.am | |
parent | 6c02327fffc01f95d0bed62b36cf2a9c26ea642e (diff) | |
download | connman-4c94e25ba6544a43f13679616577175f045c332c.tar.gz connman-4c94e25ba6544a43f13679616577175f045c332c.tar.bz2 connman-4c94e25ba6544a43f13679616577175f045c332c.zip |
Add skeleton for udev support
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index f49e18e4..c3a811c1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -15,7 +15,11 @@ connmand_SOURCES = main.c connman.h log.c error.c plugin.c profile.c \ element.c device.c network.c security.c resolver.c \ storage.c manager.c agent.c rtnl.c dbus.c -connmand_LDADD = @GDBUS_LIBS@ @GLIB_LIBS@ -ldl +if UDEV +connmand_SOURCES += udev.c +endif + +connmand_LDADD = @GDBUS_LIBS@ @GLIB_LIBS@ @UDEV_LIBS@ -ldl connmand_LDFLAGS = -Wl,--export-dynamic -Wl,--version-script=connman.ver @@ -33,10 +37,10 @@ else plugindir = $(libdir)/connman/plugins endif -AM_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ \ - -DSTATEDIR=\""$(statedir)"\" \ - -DSTORAGEDIR=\""$(storagedir)\"" \ - -DPLUGINDIR=\""$(plugindir)"\" +AM_CFLAGS = @UDEV_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ \ + -DSTATEDIR=\""$(statedir)"\" \ + -DSTORAGEDIR=\""$(storagedir)\"" \ + -DPLUGINDIR=\""$(plugindir)"\" INCLUDES = -I$(top_builddir)/include |