]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - libxcmd/Makefile
xfsprogs: Release v6.10.1
[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_EDITLINE),yes)
18 LCFLAGS += -DENABLE_EDITLINE
19 LTLIBS += $(LIBEDITLINE) $(LIBTERMCAP)
20 endif
21
22 default: ltdepend $(LTLIBRARY)
23
24 include $(BUILDRULES)
25
26 install install-dev: default
27
28 -include .ltdep