]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libufs/Makefile
amd64: use register macros for gdb_cpu_getreg()
[FreeBSD/FreeBSD.git] / lib / libufs / Makefile
1 # $FreeBSD$
2
3 PACKAGE=        runtime
4 LIB=    ufs
5 SHLIBDIR?= /lib
6 SHLIB_MAJOR=    7
7
8 SRCS=   block.c cgroup.c gsb_crc32.c inode.c sblock.c type.c ffs_subr.c
9 SRCS+= ffs_tables.c
10 INCS=   libufs.h
11
12 MAN=    bread.3 cgread.3 getinode.3 libufs.3 sbread.3 ufs_disk_close.3
13 MLINKS+= bread.3 bwrite.3
14 MLINKS+= bread.3 berase.3
15 MLINKS+= cgread.3 cgread1.3
16 MLINKS+= cgread.3 cgget.3
17 MLINKS+= cgread.3 cgwrite.3
18 MLINKS+= cgread.3 cgwrite1.3
19 MLINKS+= cgread.3 cgput.3
20 MLINKS+= getinode.3 putinode.3
21 MLINKS+= sbread.3 sbwrite.3
22 MLINKS+= sbread.3 sbget.3
23 MLINKS+= sbread.3 sbput.3
24 MLINKS+= ufs_disk_close.3 ufs_disk_fillout.3
25 MLINKS+= ufs_disk_close.3 ufs_disk_fillout_blank.3
26 MLINKS+= ufs_disk_close.3 ufs_disk_write.3
27
28 .PATH:  ${SRCTOP}/sys/libkern ${SRCTOP}/sys/ufs/ffs
29
30 WARNS?= 2
31
32 CFLAGS+= -D_LIBUFS
33 .if defined(LIBUFS_DEBUG)
34 CFLAGS+= -D_LIBUFS_DEBUGGING
35 .endif
36 CFLAGS+= -I${.CURDIR}
37
38 .include <bsd.lib.mk>