1 2 if UDEVRULES 3 rulesdir = @UDEV_DATADIR@ 4 5 rules_DATA = 97-bluetooth.rules 6 7 if HID2HCI 8 rules_DATA += 97-bluetooth-hid2hci.rules 9 endif 10 11 if PCMCIA 12 rules_DATA += 97-bluetooth-serial.rules 13 endif 14 endif 15 16 if PCMCIA 17 udevdir = $(libexecdir)/udev 18 19 udev_SCRIPTS = bluetooth_serial 20 endif 21 22 CLEANFILES = $(rules_DATA) 23 24 EXTRA_DIST = bluetooth-hid2hci.rules bluetooth-serial.rules bluetooth_serial 25 26 MAINTAINERCLEANFILES = Makefile.in 27 28 97-bluetooth.rules: bluetooth.rules 29 cp $< $@ 30 31 97-bluetooth-hid2hci.rules: bluetooth-hid2hci.rules 32 cp $< $@ 33 34 97-bluetooth-serial.rules: bluetooth-serial.rules 35 cp $< $@ 36