forked from bjking1/iprutils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
62 lines (46 loc) · 1.42 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
62
# IBM IPR adapter configuration utility
#
# (C) Copyright 2015
# International Business Machines Corporation and others.
# All Rights Reserved. This program and the accompanying
# materials are made available under the terms of the
# Common Public License v1.0 which accompanies this distribution.
#
noinst_LTLIBRARIES = libipr.la
libipr_la_SOURCES = iprlib.c iprlib.h
sbin_PROGRAMS = iprconfig iprdump iprupdate iprinit iprdbg
dist_sbin_SCRIPTS = iprsos
iprconfig_SOURCES = iprconfig.c iprconfig.h
iprconfig_LDADD= libipr.la $(IPRCONFIG_LIBS)
iprdump_SOURCES = iprdump.c
iprdump_LDADD= libipr.la
iprupdate_SOURCES = iprupdate.c
iprupdate_LDADD= libipr.la
iprinit_SOURCES = iprinit.c
iprinit_LDADD= libipr.la
iprdbg_SOURCES = iprdbg.c
iprdbg_LDADD= libipr.la
if STATIC_BUILD
sbin_PROGRAMS += iprconfig-static
iprconfig_static_SOURCES = iprconfig.c iprconfig.h
iprconfig_static_LDADD= libipr.la $(IPRCONFIG_LIBS)
iprconfig_static_LDFLAGS=-all-static
endif
dist_man_MANS = iprconfig.8 iprdump.8 iprinit.8 iprupdate.8 iprsos.8
dist_noinst_DATA = LICENSE
bashcompdir = ${sysconfdir}/bash_completion.d
dist_bashcomp_DATA = iprconfig-bash-completion.sh
SUBDIRS = . init.d spec
if SYSTEMD
SUBDIRS += systemd
endif
if SOSREPORT
sosreportdir = @pythondir@/sos/plugins
sosreport_PYTHON = iprutils.py
endif
if IPRDUMPFMT
sbin_PROGRAMS += iprdumpfmt
iprdumpfmt_SOURCES = iprdumpfmt.c
iprdumpfmt_LDADD= libipr.la
dist_man_MANS += iprdumpfmt.8
endif