summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
blob: 6b796b1d3d5996213826ee126b6d3c0b8ee0e7eb (plain)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# This file is part of Eclat 
# Copyright (C) 2012, 2013 Sergey Poznyakoff
#
# Eclat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# Eclat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Eclat.  If not, see <http://www.gnu.org/licenses/>.

bin_PROGRAMS=eclat

eclat_SOURCES=\
 accfile.c\
 allocaddr.c\
 asscaddr.c\
 atvol.c\
 cmdline.h\
 config.c\
 cpimg.c\
 cpsnap.c\
 deimg.c\
 devol.c\
 disasaddr.c\
 eclat.c\
 eclat.h\
 genericcl.c\
 getconout.c\
 lsaddr.c\
 lsattr.c\
 lsiattr.c\
 lsimg.c\
 lsinst.c\
 lsistat.c\
 lsreg.c\
 lssattr.c\
 lssg.c\
 lssnap.c\
 lstag.c\
 lsvol.c\
 lszon.c\
 mkimg.c\
 mkinst.c\
 mksnap.c\
 mktags.c\
 mkvol.c\
 rmaddr.c\
 rmsnap.c\
 rmvol.c\
 setiattr.c\
 startstop.c\
 util.c

LDADD=../lib/libeclat.a @LIBOBJS@ ../grecs/src/libgrecs.a $(CURL_LIBS) @MAPLIBS@
AM_CPPFLAGS = \
 -I$(top_srcdir)/grecs/src/ -I$(top_srcdir)/lib $(CURL_CFLAGS)\
 -DSYSCONFDIR=\"$(sysconfdir)\"\
 -DDEFAULT_VERSION_INCLUDE_DIR=\"$(incdir)\"\
 -DDEFAULT_INCLUDE_DIR=\"$(pkgdatadir)/include\"\
 -DDEFAULT_PREPROCESSOR="$(DEFAULT_PREPROCESSOR)"

OPTFILES=\
 allocaddr-cl.opt\
 asscaddr-cl.opt\
 cpimg-cl.opt\
 cpsnap-cl.opt\
 devol-cl.opt\
 disasaddr-cl.opt\
 generic-cl.opt\
 lsaddr-cl.opt\
 lsattr-cl.opt\
 lsimg-cl.opt\
 lsistat-cl.opt\
 lssg-cl.opt\
 lssnap-cl.opt\
 lstag-cl.opt\
 mkimg-cl.opt\
 mkinst-cl.opt\
 mktags-cl.opt\
 mkvol-cl.opt\
 rmaddr-cl.opt

eclat_SOURCES += $(OPTFILES:.opt=.h)

BUILT_SOURCES=\
 cmdline.h\
 $(OPTFILES:.opt=.h)\
 comtab.man\
 xref.man

EXTRA_DIST=\
 cmdline.opt\
 $(OPTFILES)\
 comtab.man\
 xref.man\
 eclatcl.m4

SUFFIXES=.opt .c .h

.opt.h:
	$(AM_V_GEN)m4 -s $(top_srcdir)/grecs/build-aux/getopt.m4 eclatcl.m4 $< | sed '1d' > $@

comtab.man: eclat.c
	$(AM_V_GEN)$(top_srcdir)/src/eclat -l '\t\\fB%n\\fR\t\\fB%i\\fR\n' > comtab.man

xref.man: eclat.c
	$(AM_V_GEN)$(top_srcdir)/src/eclat -l '%.BR eclat-: (1)n,\n' > xref.man

Return to:

Send suggestions and report system problems to the System administrator.