]> code.delx.au - pulseaudio/commitdiff
Merge commit 'coling/master'
authorLennart Poettering <lennart@poettering.net>
Tue, 30 Sep 2008 23:52:14 +0000 (01:52 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 30 Sep 2008 23:52:14 +0000 (01:52 +0200)
1  2 
src/Makefile.am

diff --combined src/Makefile.am
index ff038a8a20371d2a502ad1bd5739843a180955e2,22e691fa038a46883e2cad6e4e37553fb0b6312f..9cbb9c70dd304867674f1b526883a90bb64f0072
@@@ -45,7 -45,7 +45,7 @@@ endi
  #     Compiler/linker flags       #
  ###################################
  
 -AM_CFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src/modules -I$(top_builddir)/src/modules/rtp -I$(top_builddir)/src/modules/gconf
 +AM_CFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src/modules -I$(top_builddir)/src/modules/rtp -I$(top_builddir)/src/modules/gconf -I$(top_builddir)/src/modules/bluetooth
  AM_CFLAGS += $(PTHREAD_CFLAGS) -D_POSIX_PTHREAD_SEMANTICS
  AM_CFLAGS += $(LTDLINCL)
  AM_CFLAGS += $(LIBSAMPLERATE_CFLAGS) $(LIBSNDFILE_CFLAGS) $(LIBSPEEX_CFLAGS)
@@@ -62,8 -62,8 +62,8 @@@ AM_CFLAGS += -DPA_MACHINE_ID=\"$(locals
  # This cool debug trap works on i386/gcc only
  AM_CFLAGS += '-DDEBUG_TRAP=__asm__("int $$3")'
  
 -AM_LIBADD = $(PTHREAD_LIBS)
 -AM_LDADD = $(PTHREAD_LIBS)
 +AM_LIBADD = $(PTHREAD_LIBS) $(INTLLIBS)
 +AM_LDADD = $(PTHREAD_LIBS) $(INTLLIBS)
  
  # Only required on some platforms but defined for all to avoid errors
  AM_LDFLAGS = -Wl,-no-undefined -Wl,--gc-sections
@@@ -263,8 -263,7 +263,8 @@@ noinst_PROGRAMS = 
                proplist-test \
                rtstutter \
                stripnul \
 -              lock-autospawn-test
 +              lock-autospawn-test \
 +              prioq-test
  
  if HAVE_SIGXCPU
  noinst_PROGRAMS += \
@@@ -459,11 -458,6 +459,11 @@@ lock_autospawn_test_LDADD = $(AM_LDADD
  lock_autospawn_test_CFLAGS = $(AM_CFLAGS) $(LIBOIL_CFLAGS)
  lock_autospawn_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBOIL_LIBS)
  
 +prioq_test_SOURCES = tests/prioq-test.c
 +prioq_test_LDADD = $(AM_LDADD) libpulsecore.la
 +prioq_test_CFLAGS = $(AM_CFLAGS) $(LIBOIL_CFLAGS)
 +prioq_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBOIL_LIBS)
 +
  ###################################
  #         Client library          #
  ###################################
@@@ -547,7 -541,8 +547,7 @@@ libpulse_la_SOURCES = 
                pulse/xmalloc.c pulse/xmalloc.h \
                pulse/proplist.c pulse/proplist.h \
                pulse/ext-stream-restore.c pulse/ext-stream-restore.h \
 -              pulse/i18n.c pulse/i18n.h \
 -              pulse/lock-autospawn.c pulse/lock-autospawn.h
 +              pulse/i18n.c pulse/i18n.h
  
  # Internal stuff that is shared with libpulsecore
  libpulse_la_SOURCES += \
@@@ -659,7 -654,7 +659,7 @@@ bin_SCRIPTS += utils/pads
  
  endif
  
- libpulsedsp_la_SOURCES = utils/padsp.c pulsecore/core-util.c pulsecore/core-util.h pulsecore/core-error.c pulsecore/core-error.h  pulsecore/log.c pulsecore/log.h pulsecore/once.c pulsecore/once.h $(PA_THREAD_OBJS)
+ libpulsedsp_la_SOURCES = utils/padsp.c pulsecore/core-util.c pulsecore/core-util.h pulsecore/core-error.c pulsecore/core-error.h  pulsecore/log.c pulsecore/log.h pulsecore/rtclock.c pulsecore/rtclock.h pulsecore/once.c pulsecore/once.h $(PA_THREAD_OBJS)
  libpulsedsp_la_CFLAGS = $(AM_CFLAGS)
  libpulsedsp_la_LIBADD = $(AM_LIBADD) libpulse.la
  libpulsedsp_la_LDFLAGS = -avoid-version
@@@ -745,7 -740,8 +745,7 @@@ libpulsecore_la_SOURCES = 
                pulse/volume.c pulse/volume.h \
                pulse/xmalloc.c pulse/xmalloc.h \
                pulse/proplist.c pulse/proplist.h \
 -              pulse/i18n.c pulse/i18n.h \
 -              pulse/lock-autospawn.c pulse/lock-autospawn.h
 +              pulse/i18n.c pulse/i18n.h
  
  # Pure core stuff (some are shared in libpulse though).
  libpulsecore_la_SOURCES += \
                pulsecore/g711.c pulsecore/g711.h \
                pulsecore/hashmap.c pulsecore/hashmap.h \
                pulsecore/idxset.c pulsecore/idxset.h \
 +              pulsecore/prioq.c pulsecore/prioq.h \
                pulsecore/log.c pulsecore/log.h \
                pulsecore/mcalign.c pulsecore/mcalign.h \
                pulsecore/memblock.c pulsecore/memblock.h \
                pulsecore/start-child.c pulsecore/start-child.h \
                pulsecore/envelope.c pulsecore/envelope.h \
                pulsecore/proplist-util.c pulsecore/proplist-util.h \
 +              pulsecore/lock-autospawn.c pulsecore/lock-autospawn.h \
                $(PA_THREAD_OBJS)
  
  if OS_IS_WIN32
@@@ -1167,14 -1161,10 +1167,14 @@@ endi
  
  if HAVE_BLUEZ
  modlibexec_LTLIBRARIES += \
 -              module-bt-proximity.la
 +              module-bluetooth-proximity.la \
 +              module-bluetooth-discover.la \
 +              libbluetooth-ipc.la \
 +              libbluetooth-sbc.la \
 +              module-bluetooth-device.la
  
  pulselibexec_PROGRAMS += \
 -              bt-proximity-helper
 +              proximity-helper
  endif
  
  # These are generated by a M4 script
@@@ -1230,9 -1220,7 +1230,9 @@@ SYMDEF_FILES = 
                modules/module-rescue-streams-symdef.h \
                modules/module-suspend-on-idle-symdef.h \
                modules/module-hal-detect-symdef.h \
 -              modules/module-bt-proximity-symdef.h \
 +              modules/bluetooth/module-bluetooth-proximity-symdef.h \
 +              modules/bluetooth/module-bluetooth-discover-symdef.h \
 +              modules/bluetooth/module-bluetooth-device-symdef.h \
                modules/gconf/module-gconf-symdef.h \
                modules/module-position-event-sounds-symdef.h \
                modules/module-console-kit-symdef.h
@@@ -1244,7 -1232,6 +1244,7 @@@ $(SYMDEF_FILES): modules/module-defs.h.
        $(MKDIR_P) modules
        $(MKDIR_P) modules/gconf
        $(MKDIR_P) modules/rtp
 +      $(MKDIR_P) modules/bluetooth
        $(M4) -Dfname="$@" $< > $@
  
  # Simple protocol
@@@ -1564,36 -1551,15 +1564,36 @@@ gconf_helper_CFLAGS = $(AM_CFLAGS) $(GC
  gconf_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
  
  # Bluetooth proximity
 -module_bt_proximity_la_SOURCES = modules/module-bt-proximity.c
 -module_bt_proximity_la_LDFLAGS = -module -avoid-version
 -module_bt_proximity_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore.la libdbus-util.la
 -module_bt_proximity_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DPA_BT_PROXIMITY_HELPER=\"$(pulselibexecdir)/bt-proximity-helper\"
 -
 -bt_proximity_helper_SOURCES = modules/bt-proximity-helper.c
 -bt_proximity_helper_LDADD = $(AM_LDADD) $(BLUEZ_LIBS)
 -bt_proximity_helper_CFLAGS = $(AM_CFLAGS) $(BLUEZ_CFLAGS)
 -bt_proximity_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
 +module_bluetooth_proximity_la_SOURCES = modules/bluetooth/module-bluetooth-proximity.c
 +module_bluetooth_proximity_la_LDFLAGS = -module -avoid-version
 +module_bluetooth_proximity_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore.la libdbus-util.la
 +module_bluetooth_proximity_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DPA_BT_PROXIMITY_HELPER=\"$(pulselibexecdir)/proximity-helper\"
 +
 +proximity_helper_SOURCES = modules/bluetooth/proximity-helper.c
 +proximity_helper_LDADD = $(AM_LDADD) $(BLUEZ_LIBS)
 +proximity_helper_CFLAGS = $(AM_CFLAGS) $(BLUEZ_CFLAGS)
 +proximity_helper_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)
 +
 +# Bluetooth sink / source
 +module_bluetooth_discover_la_SOURCES = modules/bluetooth/module-bluetooth-discover.c
 +module_bluetooth_discover_la_LDFLAGS = -module -avoid-version
 +module_bluetooth_discover_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore.la libdbus-util.la
 +module_bluetooth_discover_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
 +
 +libbluetooth_sbc_la_SOURCES = modules/bluetooth/sbc.c modules/bluetooth/sbc.h modules/bluetooth/sbc_tables.h modules/bluetooth/sbc_math.h
 +libbluetooth_sbc_la_LDFLAGS = -avoid-version
 +libbluetooth_sbc_la_LIBADD = $(AM_LIBADD)
 +libbluetooth_sbc_la_CFLAGS = $(AM_CFLAGS)
 +
 +libbluetooth_ipc_la_SOURCES = modules/bluetooth/ipc.c modules/bluetooth/ipc.h
 +libbluetooth_ipc_la_LDFLAGS = -avoid-version
 +libbluetooth_ipc_la_LIBADD = $(AM_LIBADD)
 +libbluetooth_ipc_la_CFLAGS = $(AM_CFLAGS)
 +
 +module_bluetooth_device_la_SOURCES = modules/bluetooth/module-bluetooth-device.c
 +module_bluetooth_device_la_LDFLAGS = -module -avoid-version
 +module_bluetooth_device_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libpulsecore.la libdbus-util.la libbluetooth-ipc.la libbluetooth-sbc.la libsocket-util.la
 +module_bluetooth_device_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
  
  ###################################
  #        Some minor stuff         #
@@@ -1642,7 -1608,7 +1642,7 @@@ daemon.conf: daemon/daemon.conf.in Make
  install-exec-hook:
        chown root $(DESTDIR)$(bindir)/pulseaudio ; true
        chmod u+s $(DESTDIR)$(bindir)/pulseaudio
 -      -chmod u+s $(DESTDIR)$(pulselibexecdir)/bt-proximity-helper
 +      -chmod u+s $(DESTDIR)$(pulselibexecdir)/proximity-helper
        ln -sf pacat $(DESTDIR)$(bindir)/parec
        rm -f $(DESTDIR)$(modlibexecdir)/*.a
        rm -f $(DESTDIR)$(libdir)/libpulsedsp.a