]>
Commit | Line | Data |
---|---|---|
959ef981 | 1 | # SPDX-License-Identifier: GPL-2.0 |
3d93ccb7 NS |
2 | # Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. |
3 | # | |
3d93ccb7 NS |
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 | |
825b7432 DC |
12 | # we need a static build even if --disable-static is specified |
13 | LTLDFLAGS += -static | |
3d93ccb7 | 14 | |
bd987fe3 | 15 | CFILES = command.c input.c help.c quit.c |
cfe6e3f0 | 16 | |
d2e43158 ES |
17 | ifeq ($(ENABLE_EDITLINE),yes) |
18 | LCFLAGS += -DENABLE_EDITLINE | |
d99f7a4e | 19 | LTLIBS += $(LIBEDITLINE) $(LIBTERMCAP) |
d2e43158 ES |
20 | endif |
21 | ||
d9320881 | 22 | default: ltdepend $(LTLIBRARY) |
3d93ccb7 NS |
23 | |
24 | include $(BUILDRULES) | |
25 | ||
5711848a | 26 | install install-dev: default |
d9320881 | 27 | |
932b0ba9 | 28 | -include .ltdep |