xref: /freebsd-12.1/lib/libcuse/Makefile (revision a70cba95)
1fa0f6e62SHans Petter Selasky# $FreeBSD$
2fa0f6e62SHans Petter Selasky#
3fa0f6e62SHans Petter Selasky# Copyright (c) 2010 Hans Petter Selasky. All rights reserved.
4fa0f6e62SHans Petter Selasky#
5fa0f6e62SHans Petter Selasky# Redistribution and use in source and binary forms, with or without
6fa0f6e62SHans Petter Selasky# modification, are permitted provided that the following conditions
7fa0f6e62SHans Petter Selasky# are met:
8fa0f6e62SHans Petter Selasky# 1. Redistributions of source code must retain the above copyright
9fa0f6e62SHans Petter Selasky#    notice, this list of conditions and the following disclaimer.
10fa0f6e62SHans Petter Selasky# 2. Redistributions in binary form must reproduce the above copyright
11fa0f6e62SHans Petter Selasky#    notice, this list of conditions and the following disclaimer in the
12fa0f6e62SHans Petter Selasky#    documentation and/or other materials provided with the distribution.
13fa0f6e62SHans Petter Selasky#
14fa0f6e62SHans Petter Selasky# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15fa0f6e62SHans Petter Selasky# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16fa0f6e62SHans Petter Selasky# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17fa0f6e62SHans Petter Selasky# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18fa0f6e62SHans Petter Selasky# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19fa0f6e62SHans Petter Selasky# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20fa0f6e62SHans Petter Selasky# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21fa0f6e62SHans Petter Selasky# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22fa0f6e62SHans Petter Selasky# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23fa0f6e62SHans Petter Selasky# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24fa0f6e62SHans Petter Selasky# SUCH DAMAGE.
25fa0f6e62SHans Petter Selasky#
26fa0f6e62SHans Petter Selasky
27*a70cba95SGlen BarberPACKAGE=lib${LIB}
28fa0f6e62SHans Petter SelaskyLIB=		cuse
29fa0f6e62SHans Petter SelaskySHLIB_MAJOR=	1
30fa0f6e62SHans Petter SelaskySHLIB_MINOR=	0
31fa0f6e62SHans Petter SelaskySRCS=		cuse_lib.c
32fa0f6e62SHans Petter SelaskyINCS=		cuse.h
33fa0f6e62SHans Petter SelaskyMAN=		cuse.3
34fa0f6e62SHans Petter SelaskyCFLAGS+=	-D_GNU_SOURCE
35fa0f6e62SHans Petter Selasky.if defined(HAVE_DEBUG)
36fa0f6e62SHans Petter SelaskyCFLAGS+=	-g
37fa0f6e62SHans Petter SelaskyCFLAGS+=	-DHAVE_DEBUG
38fa0f6e62SHans Petter Selasky.endif
396b129086SBaptiste DaroussinLIBADD=	pthread
40fa0f6e62SHans Petter Selasky
41fa0f6e62SHans Petter SelaskyMLINKS=
42fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_alloc_unit_number.3
43556f150aSChristian BruefferMLINKS+= cuse.3 cuse_alloc_unit_number_by_id.3
44fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_copy_in.3
45fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_copy_out.3
46fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_dev_create.3
47fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_dev_destroy.3
48fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_dev_get_current.3
49fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_dev_get_per_file_handle.3
50fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_dev_get_priv0.3
51fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_dev_get_priv1.3
52fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_dev_set_per_file_handle.3
53556f150aSChristian BruefferMLINKS+= cuse.3 cuse_dev_set_priv0.3
54556f150aSChristian BruefferMLINKS+= cuse.3 cuse_dev_set_priv1.3
55fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_free_unit_number.3
56556f150aSChristian BruefferMLINKS+= cuse.3 cuse_free_unit_number_by_id.3
57fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_got_peer_signal.3
58fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_init.3
59fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_poll_wakeup.3
60fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_set_local.3
61fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_get_local.3
62fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_uninit.3
63fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_vmalloc.3
64fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_is_vmalloc_addr.3
65fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_vmfree.3
66556f150aSChristian BruefferMLINKS+= cuse.3 cuse_vmoffset.3
67fa0f6e62SHans Petter SelaskyMLINKS+= cuse.3 cuse_wait_and_process.3
68fa0f6e62SHans Petter Selasky
69fa0f6e62SHans Petter Selasky.include <bsd.lib.mk>
70