]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - libdisk/Makefile
54ee492ee5bcbd6270980c20a74ff7e0f751a87c
[thirdparty/xfsprogs-dev.git] / libdisk / Makefile
1 #
2 # Copyright (c) 2000-2001,2004 Silicon Graphics, Inc. All Rights Reserved.
3 #
4
5 TOPDIR = ..
6 include $(TOPDIR)/include/builddefs
7
8 LTLIBRARY = libdisk.la
9 LT_CURRENT = 0
10 LT_REVISION = 0
11 LT_AGE = 0
12
13 CFILES = drivers.c fstype.c pttype.c
14 HFILES = drivers.h fstype.h pttype.h md.h xvm.h evms.h
15 LINUX_DRIVERS = dm.c md.c xvm.c evms.c lvm.c
16
17 ifeq ($(PKG_PLATFORM),linux)
18 CFILES += $(LINUX_DRIVERS)
19 else
20 LSRCFILES = $(LINUX_DRIVERS)
21 endif
22
23 default: $(LTLIBRARY)
24
25 include $(BUILDRULES)
26
27 install: default
28
29 install-dev: default
30 $(INSTALL_LTLIB_STATIC)