]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - libxfs/Makefile
Add code to xfs_db/admin to allow version 1 to version 2 log transition.
[thirdparty/xfsprogs-dev.git] / libxfs / Makefile
CommitLineData
2bd0ea18 1#
1bdd986b 2# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
dfc130f3 3#
2bd0ea18
NS
4
5TOPDIR = ..
6include $(TOPDIR)/include/builddefs
7
f937adac
NS
8LTLIBRARY = libxfs.la
9LT_CURRENT = 0
10LT_REVISION = 0
11LT_AGE = 0
fc49813f 12
9440d84d 13HFILES = xfs.h init.h
d4ae0811
NS
14CFILES = bit.c init.c logitem.c rdwr.c trans.c util.c \
15 xfs_alloc.c xfs_ialloc.c xfs_rtalloc.c \
2bd0ea18
NS
16 xfs_inode.c xfs_btree.c xfs_alloc_btree.c xfs_ialloc_btree.c \
17 xfs_bmap_btree.c xfs_da_btree.c xfs_dir.c xfs_dir_leaf.c \
18 xfs_dir2.c xfs_dir2_leaf.c xfs_attr_leaf.c xfs_dir2_block.c \
19 xfs_dir2_node.c xfs_dir2_data.c xfs_dir2_sf.c xfs_bmap.c \
57c9fccb 20 xfs_mount.c xfs_trans.c xfs_attr.c
9440d84d
NS
21
22CFILES += $(PKG_PLATFORM).c
1707056a 23PCFILES = darwin.c freebsd.c irix.c linux.c
93d9f139 24LSRCFILES = $(shell echo $(PCFILES) | sed -e "s/$(PKG_PLATFORM).c//g")
2bd0ea18 25
dfc130f3 26#
2bd0ea18
NS
27# Tracing flags:
28# -DIO_DEBUG reads and writes of buffers
29# -DMEM_DEBUG all zone memory use
30# -DLI_DEBUG log item (ino/buf) manipulation
31# -DXACT_DEBUG transaction state changes
dfc130f3 32#
1bdd986b
NS
33#LCFLAGS +=
34
35FCFLAGS = -I.
2bd0ea18 36
fc49813f
NS
37# don't try linking xfs_repair with a debug libxfs.
38DEBUG = -DNDEBUG
39
f937adac 40default: $(LTLIBRARY)
2bd0ea18
NS
41
42include $(BUILDRULES)
43
44install: default
fc49813f
NS
45
46install-dev: default
f937adac 47 $(INSTALL_LTLIB_STATIC)