-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
61 lines (52 loc) · 1.41 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
## Process this file with automake to generate Makefile.in
AUTOMAKE_OPTIONS = foreign nostdinc
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = -I. -I$(top_srcdir)
AM_LD = $(CC)
VERSION_INFO = -version-info $(SONAME_CURRENT):$(SONAME_REVISION):$(SONAME_AGE)
if DEBUG
DEBUG_CFLAGS = -DDEBUG
endif
if TESTC
TESTC_CFLAGS = -DTESTC
endif
AM_CFLAGS = -Wall -Wextra $(DEBUG_CFLAGS) $(TESTC_CFLAGS)
AM_LDFLAGS = -z relro -z now -z defs
bin_PROGRAMS =
lib_LTLIBRARIES =
lib_LIBRARIES =
nobase_include_HEADERS =
noinst_HEADERS =
EXTRA_DIST =
bin/Makefile.am \
dbs/Makefile.am \
docs/Makefile.am \
examples/Makefile.am \
klish/Makefile.am \
tinyrl/Makefile.am \
plugins/Makefile.am \
klish.xsd \
LICENCE \
README.md
include $(top_srcdir)/bin/Makefile.am
include $(top_srcdir)/dbs/Makefile.am
include $(top_srcdir)/docs/Makefile.am
include $(top_srcdir)/examples/Makefile.am
include $(top_srcdir)/klish/Makefile.am
include $(top_srcdir)/tinyrl/Makefile.am
include $(top_srcdir)/plugins/Makefile.am
define CONTROL
PACKAGE: klish
Version: $(PACKAGE_VERSION)
Architecture: amd64
Depends: faux
Maintainer: pkun
Description: The klish is a framework for implementing a CISCO-like CLI on a UNIX systems. It is configurable by XML files
Homepage: http://klish.libcode.org
endef
export CONTROL
deb: all
mkdir -p deb/DEBIAN
echo "$$CONTROL" > deb/DEBIAN/control
DESTDIR=$(shell pwd)/deb make install
dpkg-deb --build deb/ klish_$(PACKAGE_VERSION).deb