]>
Commit | Line | Data |
---|---|---|
2bd0ea18 | 1 | # |
1bdd986b | 2 | # Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. |
dfc130f3 | 3 | # |
2bd0ea18 NS |
4 | |
5 | TOPDIR = .. | |
6 | include $(TOPDIR)/include/builddefs | |
7 | ||
f937adac NS |
8 | LTLIBRARY = libxfs.la |
9 | LT_CURRENT = 0 | |
10 | LT_REVISION = 0 | |
11 | LT_AGE = 0 | |
fc49813f | 12 | |
9440d84d | 13 | HFILES = xfs.h init.h |
d4ae0811 NS |
14 | CFILES = 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 | |
22 | CFILES += $(PKG_PLATFORM).c | |
1707056a | 23 | PCFILES = darwin.c freebsd.c irix.c linux.c |
93d9f139 | 24 | LSRCFILES = $(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 | ||
35 | FCFLAGS = -I. | |
2bd0ea18 | 36 | |
fc49813f NS |
37 | # don't try linking xfs_repair with a debug libxfs. |
38 | DEBUG = -DNDEBUG | |
39 | ||
f937adac | 40 | default: $(LTLIBRARY) |
2bd0ea18 NS |
41 | |
42 | include $(BUILDRULES) | |
43 | ||
44 | install: default | |
fc49813f NS |
45 | |
46 | install-dev: default | |
f937adac | 47 | $(INSTALL_LTLIB_STATIC) |