~ubuntu-branches/ubuntu/wily/hal/wily

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
AM_CPPFLAGS = \
	-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
	-DPACKAGE_BIN_DIR=\""$(bindir)"\" \
	-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
	-DPACKAGE_LOCALSTATEDIR=\""$(localstatedir)"\" \
	-I$(top_srcdir) \
	@DBUS_CFLAGS@

if HALD_COMPILE_FREEBSD
libexec_PROGRAMS = \
	hald-probe-hiddev		\
	hald-probe-mouse		\
	hald-probe-scsi			\
	hald-probe-smbios		\
	hald-probe-storage		\
	hald-probe-volume

if HAVE_LIBUSB20
libexec_PROGRAMS += \
	hald-probe-usb2-device		\
	hald-probe-usb2-interface
endif
endif

hald_probe_hiddev_SOURCES = probe-hiddev.c
hald_probe_hiddev_LDADD = \
	$(top_builddir)/hald/freebsd/libprobe/libhald_freebsd_probe.la	\
	-lusbhid

if HAVE_LIBUSB20
hald_probe_usb2_device_SOURCES = probe-usb2-device.c
hald_probe_usb2_device_LDADD = \
	$(top_builddir)/hald/freebsd/libprobe/libhald_freebsd_probe.la  \
	@LIBUSB20_LIBS@

hald_probe_usb2_interface_SOURCES = probe-usb2-interface.c
hald_probe_usb2_interface_LDADD = \
	$(top_builddir)/hald/freebsd/libprobe/libhald_freebsd_probe.la  \
	@LIBUSB20_LIBS@
endif

hald_probe_mouse_SOURCES = probe-mouse.c
hald_probe_mouse_CPPFLAGS = $(AM_CPPFLAGS) @GLIB_CFLAGS@
hald_probe_mouse_LDADD = \
	@GLIB_LIBS@	\
	$(top_builddir)/hald/freebsd/libprobe/libhald_freebsd_probe.la \
	-lutil

hald_probe_smbios_SOURCES = probe-smbios.c
hald_probe_smbios_LDADD = \
	$(top_builddir)/hald/freebsd/libprobe/libhald_freebsd_probe.la

hald_probe_scsi_SOURCES = probe-scsi.c
hald_probe_scsi_LDADD = \
	$(top_builddir)/hald/freebsd/libprobe/libhald_freebsd_probe.la

hald_probe_storage_SOURCES = freebsd_dvd_rw_utils.c freebsd_dvd_rw_utils.h probe-storage.c
hald_probe_storage_CPPFLAGS = $(AM_CPPFLAGS) @GLIB_CFLAGS@ @BLKID_CFLAGS@
hald_probe_storage_LDADD = \
	@GLIB_LIBS@							\
	@BLKID_LIBS@							\
	$(top_builddir)/hald/freebsd/libprobe/libhald_freebsd_probe.la

hald_probe_volume_SOURCES = freebsd_dvd_rw_utils.c freebsd_dvd_rw_utils.h probe-volume.c
hald_probe_volume_CPPFLAGS = $(AM_CPPFLAGS) @GLIB_CFLAGS@ @BLKID_CFLAGS@
hald_probe_volume_LDADD = \
	@GLIB_LIBS@							\
	@BLKID_LIBS@							\
	@LIBUFS_LIBS@							\
	$(top_builddir)/hald/freebsd/libprobe/libhald_freebsd_probe.la