]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - libxcmd/Makefile
914bec024c46e6bcdf30447ce0390b11c37d09c4
[thirdparty/xfsprogs-dev.git] / libxcmd / Makefile
1 # SPDX-License-Identifier: GPL-2.0
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 help.c quit.c
14
15 ifeq ($(ENABLE_READLINE),yes)
16 LCFLAGS += -DENABLE_READLINE
17 LTLIBS += $(LIBREADLINE) $(LIBTERMCAP)
18 endif
19
20 ifeq ($(ENABLE_EDITLINE),yes)
21 LCFLAGS += -DENABLE_EDITLINE
22 LTLIBS += $(LIBEDITLINE) $(LIBTERMCAP)
23 endif
24
25 default: ltdepend $(LTLIBRARY)
26
27 include $(BUILDRULES)
28
29 install install-dev: default
30
31 -include .ltdep