]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - libxcmd/Makefile
xfsprogs: fix readline/editline for xfs_io and xfs_quota
[thirdparty/xfsprogs-dev.git] / libxcmd / Makefile
1 #
2 # Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved.
3 #
4
5 TOPDIR = ..
6 include $(TOPDIR)/include/builddefs
7
8 LTLIBRARY = libxcmd.la
9 LT_CURRENT = 0
10 LT_REVISION = 0
11 LT_AGE = 0
12
13 CFILES = command.c input.c paths.c projects.c help.c quit.c
14
15 ifeq ($(HAVE_GETMNTENT),yes)
16 LCFLAGS += -DHAVE_GETMNTENT
17 endif
18
19 ifeq ($(HAVE_GETMNTINFO),yes)
20 LCFLAGS += -DHAVE_GETMNTINFO
21 endif
22
23 ifeq ($(ENABLE_READLINE),yes)
24 LCFLAGS += -DENABLE_READLINE
25 endif
26
27 ifeq ($(ENABLE_EDITLINE),yes)
28 LCFLAGS += -DENABLE_EDITLINE
29 endif
30
31 default: $(LTLIBRARY)
32
33 include $(BUILDRULES)
34
35 install install-dev install-qa: default