diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-07-29 20:35:12 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-07-29 20:35:12 +0200 |
commit | e0581b5e29c71c4a0b429ebad671e9bb5583f8e0 (patch) | |
tree | 84606447fce9a17818965957296e8ee447b59450 /src/Makefile.am | |
parent | 6ff001317710e6cf629ad93db58db615a8be6eee (diff) |
Move hcid to src directory and rename it to bluetoothd
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 00000000..4e8a9318 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,59 @@ + +if CONFIGFILES +dbusdir = $(sysconfdir)/dbus-1/system.d + +dbus_DATA = bluetooth.conf + +confdir = $(sysconfdir)/bluetooth + +conf_DATA = hcid.conf + +statedir = $(localstatedir)/lib/bluetooth + +state_DATA = +endif + +sbin_PROGRAMS = bluetoothd + +bluetoothd_SOURCES = main.c hcid.h sdpd.h \ + sdpd-server.c sdpd-request.c sdpd-service.c \ + sdpd-database.c security.c storage.c \ + parser.h parser.y lexer.l kword.c kword.h \ + server.h server.c manager.h manager.c \ + adapter.h adapter.c device.h device.c plugin.h plugin.c \ + dbus-common.c dbus-common.h \ + dbus-database.c dbus-database.h dbus-service.c dbus-service.h \ + dbus-hci.h dbus-hci.c \ + telephony.h telephony.c agent.h agent.c + +bluetoothd_LDADD = $(top_builddir)/common/libhelper.a \ + @GDBUS_LIBS@ @GMODULE_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ + +if MAINTAINER_MODE +plugindir = $(abs_top_srcdir)/plugins +else +plugindir = $(libdir)/bluetooth/plugins +endif + +AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ \ + @GLIB_CFLAGS@ @GMODULE_CFLAGS@ @GDBUS_CFLAGS@ \ + -DPLUGINDIR=\""$(plugindir)"\" + +INCLUDES = -I$(top_srcdir)/common + +BUILT_SOURCES = parser.h + +if MANPAGES +man_MANS = hcid.8 hcid.conf.5 +endif + +AM_YFLAGS = -d + +CLEANFILES = lexer.c parser.c parser.h + +EXTRA_DIST = bluetooth.conf hcid.8 hcid.conf.5 hcid.conf dbus-api.txt \ + list-devices test-discovery test-manager test-adapter test-device \ + simple-service simple-agent service-record.dtd \ + service-did.xml service-spp.xml service-opp.xml service-ftp.xml + +MAINTAINERCLEANFILES = Makefile.in |