]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - libxcmd/Makefile
xfsprogs: Release v6.7.0
[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 # we need a static build even if --disable-static is specified
13 LTLDFLAGS += -static
14
15 CFILES = command.c input.c help.c quit.c
16
17 ifeq ($(ENABLE_READLINE),yes)
18 LCFLAGS += -DENABLE_READLINE
19 LTLIBS += $(LIBREADLINE) $(LIBTERMCAP)
20 endif
21
22 ifeq ($(ENABLE_EDITLINE),yes)
23 LCFLAGS += -DENABLE_EDITLINE
24 LTLIBS += $(LIBEDITLINE) $(LIBTERMCAP)
25 endif
26
27 default: ltdepend $(LTLIBRARY)
28
29 include $(BUILDRULES)
30
31 install install-dev: default
32
33 -include .ltdep