xref: /freebsd/lib/libusb/Makefile (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1df4b8c2aSAndrew Thompson#
2df4b8c2aSAndrew Thompson#
3df4b8c2aSAndrew Thompson# Makefile for the FreeBSD specific LibUSB 2.0
4df4b8c2aSAndrew Thompson#
5df4b8c2aSAndrew Thompson
6df4b8c2aSAndrew ThompsonLIB=		usb
793fab61dSHans Petter SelaskySHLIB_MAJOR=	3
8df4b8c2aSAndrew ThompsonSHLIB_MINOR=	0
9df4b8c2aSAndrew ThompsonSRCS=		libusb20.c
10df4b8c2aSAndrew ThompsonSRCS+=		libusb20_desc.c
11df4b8c2aSAndrew ThompsonSRCS+=		libusb20_ugen20.c
12df4b8c2aSAndrew ThompsonINCS+=		libusb20.h
13df4b8c2aSAndrew ThompsonINCS+=		libusb20_desc.h
14a5118bdfSAndrew ThompsonMAN=		libusb.3 libusb20.3
15df4b8c2aSAndrew ThompsonMKLINT=		no
16df4b8c2aSAndrew ThompsonNOGCCERROR=
1799cd1f32SHans Petter SelaskyPTHREAD_LIBS?=	-lpthread
18df4b8c2aSAndrew Thompson
19daaf5759SEd SchoutenWARNS?=		2
20daaf5759SEd Schouten
216b129086SBaptiste DaroussinLIBADD=		pthread
22f7287225SHans Petter Selasky
23a5118bdfSAndrew ThompsonMLINKS+=	libusb.3 usb.3
244eaae44dSAndrew Thompson
25df4b8c2aSAndrew Thompson# libusb 0.1 compat
26df4b8c2aSAndrew ThompsonINCS+=		usb.h
272485d8a7SHans Petter SelaskySRCS+=		libusb01.c
28a5118bdfSAndrew Thompson
29a5118bdfSAndrew Thompson# libusb 1.0 compat
30a5118bdfSAndrew ThompsonINCS+=		libusb.h
31a5118bdfSAndrew ThompsonSRCS+=		libusb10.c
32a5118bdfSAndrew ThompsonSRCS+=		libusb10_desc.c
337bdc064bSHans Petter SelaskySRCS+=		libusb10_hotplug.c
34a5118bdfSAndrew ThompsonSRCS+=		libusb10_io.c
35df4b8c2aSAndrew Thompson
36500f4659SEmmanuel VadotPCFILES=	libusb-0.1.pc libusb-1.0.pc libusb-2.0.pc
37ac175bd3SAlex Richardson.for pcfile in ${PCFILES}
38ac175bd3SAlex Richardson${pcfile}: ${pcfile}.in
39ac175bd3SAlex Richardson	sed -e 's,@libdir@,${LIBDIR},g ; s,@sharedlibdir@,${SHLIBDIR},g ; \
40ac175bd3SAlex Richardson		s,@includedir@,${INCLUDEDIR},g ;' ${.ALLSRC} > ${.TARGET}
41ac175bd3SAlex Richardson.endfor
42ac175bd3SAlex RichardsonCLEANFILES+=	${PCFILES}
43041d3f3fSRui Paulo
4466194130SHans Petter Selasky#
4566194130SHans Petter Selasky# Cross platform support
4666194130SHans Petter Selasky#
4766194130SHans Petter Selasky# Examples:
4866194130SHans Petter Selasky# make LIBUSB_GLOBAL_INCLUDE_FILE=libusb_global_linux.h
498010f4adSBrooks Davis# make \
5099cd1f32SHans Petter Selasky#   LIBUSB_GLOBAL_INCLUDE_FILE=libusb_global_linux.h \
5199cd1f32SHans Petter Selasky#   DEBUG_FLAGS="-g"
5299cd1f32SHans Petter Selasky#
5399cd1f32SHans Petter Selasky# From Ubuntu 10.04:
5499cd1f32SHans Petter Selasky# freebsd-make LIBUSB_GLOBAL_INCLUDE_FILE=libusb_global_linux.h \
5599cd1f32SHans Petter Selasky#    PTHREAD_LIBS="-lpthread -lrt"
568010f4adSBrooks Davis# freebsd-make \
5799cd1f32SHans Petter Selasky#    LIBUSB_GLOBAL_INCLUDE_FILE=libusb_global_linux.h \
5899cd1f32SHans Petter Selasky#    PTHREAD_LIBS="-lpthread -lrt"
5999cd1f32SHans Petter Selasky#
6066194130SHans Petter Selasky#
6166194130SHans Petter Selasky.if defined(LIBUSB_GLOBAL_INCLUDE_FILE)
6266194130SHans Petter SelaskyCFLAGS+=	-DLIBUSB_GLOBAL_INCLUDE_FILE=\"${LIBUSB_GLOBAL_INCLUDE_FILE}\"
6366194130SHans Petter SelaskyCFLAGS+=	-DUSB_GLOBAL_INCLUDE_FILE=\"${LIBUSB_GLOBAL_INCLUDE_FILE}\"
6466194130SHans Petter SelaskyCFLAGS+=	-I ../../sys
6566194130SHans Petter Selasky.endif
6666194130SHans Petter Selasky
67892f4806SHans Petter Selasky# LibUSB v1.0
6814b896ceSHans Petter SelaskyMLINKS += libusb.3 libusb_get_version.3
69892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_init.3
70*4c6bcffdSHans Petter SelaskyMLINKS += libusb.3 libusb_init_context.3
71892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_exit.3
7204391da3SKyle EvansMLINKS += libusb.3 libusb_has_capability.3
73892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_strerror.3
74c61f2561SHans Petter SelaskyMLINKS += libusb.3 libusb_error_name.3
75892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_set_debug.3
76892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_device_list.3
77892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_free_device_list.3
78892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_bus_number.3
795b40d960SHans Petter SelaskyMLINKS += libusb.3 libusb_get_port_number.3
80892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_device_address.3
81ca96e26aSHans Petter SelaskyMLINKS += libusb.3 libusb_get_device_speed.3
82892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_max_packet_size.3
83748205a3SHans Petter SelaskyMLINKS += libusb.3 libusb_get_max_iso_packet_size.3
84892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_ref_device.3
85892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_unref_device.3
86892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_open.3
87892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_open_device_with_vid_pid.3
88892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_close.3
89892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_device.3
90892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_configuration.3
91892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_set_configuration.3
92892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_claim_interface.3
93892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_release_interface.3
94892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_set_interface_alt_setting.3
95892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_clear_halt.3
96892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_reset_device.3
97892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_check_connected.3
98892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_kernel_driver_active.3
99892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_driver.3
100892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_driver_np.3
101892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_detach_kernel_driver.3
102892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_detach_kernel_driver_np.3
103892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_attach_kernel_driver.3
1045b40d960SHans Petter SelaskyMLINKS += libusb.3 libusb_set_auto_detach_kernel_driver.3
105892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_device_descriptor.3
10693fab61dSHans Petter SelaskyMLINKS += libusb.3 libusb_get_active_config_descriptor.3
107892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_config_descriptor.3
108892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_config_descriptor_by_value.3
109892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_free_config_descriptor.3
11078ed0e49SHans Petter SelaskyMLINKS += libusb.3 libusb_get_string_descriptor.3
111892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_string_descriptor_ascii.3
1124c0392e6SHans Petter SelaskyMLINKS += libusb.3 libusb_parse_ss_endpoint_comp.3
1134c0392e6SHans Petter SelaskyMLINKS += libusb.3 libusb_free_ss_endpoint_comp.3
11437d0636aSHans Petter SelaskyMLINKS += libusb.3 libusb_get_ss_endpoint_companion_descriptor.3
11537d0636aSHans Petter SelaskyMLINKS += libusb.3 libusb_free_ss_endpoint_companion_descriptor.3
1164c0392e6SHans Petter SelaskyMLINKS += libusb.3 libusb_parse_bos_descriptor.3
1174c0392e6SHans Petter SelaskyMLINKS += libusb.3 libusb_free_bos_descriptor.3
11837d0636aSHans Petter SelaskyMLINKS += libusb.3 libusb_get_usb_2_0_extension_descriptor.3
11937d0636aSHans Petter SelaskyMLINKS += libusb.3 libusb_free_usb_2_0_extension_descriptor.3
12037d0636aSHans Petter SelaskyMLINKS += libusb.3 libusb_get_ss_usb_device_capability_descriptor.3
12137d0636aSHans Petter SelaskyMLINKS += libusb.3 libusb_free_ss_usb_device_capability_descriptor.3
12237d0636aSHans Petter SelaskyMLINKS += libusb.3 libusb_get_container_id_descriptor.3
12337d0636aSHans Petter SelaskyMLINKS += libusb.3 libusb_free_container_id_descriptor.3
124a0c93fa3SHans Petter SelaskyMLINKS += libusb.3 libusb_alloc_streams.3
125a0c93fa3SHans Petter SelaskyMLINKS += libusb.3 libusb_free_streams.3
126892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_alloc_transfer.3
127892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_free_transfer.3
128a0c93fa3SHans Petter SelaskyMLINKS += libusb.3 libusb_transfer_set_stream_id.3
129a0c93fa3SHans Petter SelaskyMLINKS += libusb.3 libusb_transfer_get_stream_id.3
130892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_submit_transfer.3
131892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_cancel_transfer.3
132892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_control_transfer.3
133892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_bulk_transfer.3
134892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_interrupt_transfer.3
135892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_try_lock_events.3
136892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_lock_events.3
137892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_unlock_events.3
138892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_event_handling_ok.3
139892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_event_handler_active.3
140aa87aa52SHans Petter SelaskyMLINKS += libusb.3 libusb_interrupt_event_handler.3
141892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_lock_event_waiters.3
142892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_unlock_event_waiters.3
143892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_wait_for_event.3
14403205428SHans Petter SelaskyMLINKS += libusb.3 libusb_handle_events_timeout_completed.3
14503205428SHans Petter SelaskyMLINKS += libusb.3 libusb_handle_events_completed.3
146892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_handle_events_timeout.3
147892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_handle_events.3
148892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_handle_events_locked.3
149892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_next_timeout.3
150892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_set_pollfd_notifiers.3
151892f4806SHans Petter SelaskyMLINKS += libusb.3 libusb_get_pollfds.3
1527bdc064bSHans Petter SelaskyMLINKS += libusb.3 libusb_hotplug_register_callback.3
1537bdc064bSHans Petter SelaskyMLINKS += libusb.3 libusb_hotplug_deregister_callback.3
154892f4806SHans Petter Selasky
155892f4806SHans Petter Selasky# LibUSB v0.1
156892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_open.3
157892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_close.3
158892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_get_string.3
159892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_get_string_simple.3
160892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_get_descriptor_by_endpoint.3
161892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_get_descriptor.3
162892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_parse_descriptor.3
163892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_parse_configuration.3
164892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_destroy_configuration.3
165892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_fetch_and_parse_descriptors.3
166892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_bulk_write.3
167892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_bulk_read.3
168892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_interrupt_write.3
169892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_interrupt_read.3
170892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_control_msg.3
171892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_set_configuration.3
172892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_claim_interface.3
173892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_release_interface.3
174892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_set_altinterface.3
175892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_resetep.3
176892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_clear_halt.3
177892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_reset.3
178892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_strerror.3
179892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_init.3
180892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_set_debug.3
181892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_find_busses.3
182892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_find_devices.3
183892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_device.3
184892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_get_busses.3
185892f4806SHans Petter SelaskyMLINKS += libusb.3 usb_check_connected.3
186892f4806SHans Petter Selasky
187892f4806SHans Petter Selasky# LibUSB v2.0
188892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_close.3
189892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_open.3
190892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_get_pointer.3
191892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_get_time_complete.3
192892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_get_actual_frames.3
193892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_get_actual_length.3
194892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_get_max_frames.3
195892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_get_max_packet_length.3
196892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_get_max_total_length.3
197892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_get_status.3
198892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_pending.3
199892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_callback_wrapper.3
200892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_clear_stall_sync.3
201892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_drain.3
202892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_set_buffer.3
203892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_set_callback.3
204892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_set_flags.3
205892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_get_length.3
206892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_set_length.3
207892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_set_priv_sc0.3
208892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_set_priv_sc1.3
209892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_set_timeout.3
210892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_set_total_frames.3
211892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_setup_bulk.3
212892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_setup_control.3
213892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_setup_intr.3
214892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_setup_isoc.3
215892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_bulk_intr_sync.3
216892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_start.3
217892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_stop.3
218892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_submit.3
219892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_get_priv_sc0.3
220892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_tr_get_priv_sc1.3
221892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_backend_name.3
222892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_info.3
223892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_iface_desc.3
224892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_desc.3
22534b0ca24SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_stats.3
226892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_close.3
227892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_detach_kernel_driver.3
228892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_set_config_index.3
229892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_debug.3
230892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_fd.3
231892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_kernel_driver_active.3
232892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_open.3
233892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_process.3
234892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_request_sync.3
235892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_req_string_sync.3
236892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_req_string_simple_sync.3
237892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_reset.3
238892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_check_connected.3
239892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_set_power_mode.3
240892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_power_mode.3
241c77a24c2SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_port_path.3
242aafcb732SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_power_usage.3
243892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_set_alt_index.3
244892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_device_desc.3
245892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_alloc_config.3
246892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_alloc.3
247892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_address.3
2482485d8a7SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_parent_address.3
2492485d8a7SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_parent_port.3
250892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_bus_number.3
251892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_mode.3
252892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_speed.3
253892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_get_config_index.3
254892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_free.3
255892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_set_debug.3
256892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_dev_wait_process.3
257892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_be_get_template.3
258892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_be_set_template.3
259892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_be_get_dev_quirk.3
260892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_be_get_quirk_name.3
261892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_be_add_dev_quirk.3
262892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_be_remove_dev_quirk.3
263892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_be_alloc_default.3
264892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_be_device_foreach.3
265892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_be_dequeue_device.3
266892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_be_enqueue_device.3
267892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_be_free.3
268892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_me_get_1.3
269892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_me_get_2.3
270892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_me_encode.3
271892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_me_decode.3
272892f4806SHans Petter SelaskyMLINKS += libusb20.3 libusb20_desc_foreach.3
273c61f2561SHans Petter SelaskyMLINKS += libusb20.3 libusb20_strerror.3
274c61f2561SHans Petter SelaskyMLINKS += libusb20.3 libusb20_error_name.3
27584d5c498SAntoine Brodin
27684d5c498SAntoine Brodin.include <bsd.lib.mk>
277