-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.in
320 lines (282 loc) · 10.1 KB
/
Makefile.in
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
#
# Argus-5.0 Client Software. Tools to read, analyze and manage Argus data.
# Copyright (c) 2000-2024 QoSient, LLC
# All rights reserved.
#
# This program is free software, released under the GNU General
# Public License; 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 any later version.
#
# Other licenses are available through QoSient, LLC.
# Inquire at info@qosient.com.
#
# This program is distributed 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 this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#
NOOP = $(SHELL) -c true
NOECHO = @
CC = @CC@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
DEFS = @DEFS@
LIBS = @LIBS@
WRAPLIBS = @WRAPLIBS@
VERSION = @PACKAGE_VERSION@.@PACKAGE_RELEASE@
CFLAGS = -g $(EXTRA_CFLAGS)
LDFLAGS = -g
prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
perlextlib = @PERL_EXT_LIB@
srcdir = @srcdir@
incdir = @prefix@/include
docdir = @datadir@/doc/argus-clients-5.0
#### End of system configuration section. ####
SHELL = /bin/sh
DIRS = @DIRS@
INSTDIRS = @DIRS@ ./include
OSXPACKAGE_INSTDIRS = ./clients ./examples/ratop ./examples/ratrace
CLEANDIRS = @DIRS@ ./pkg
DISTFILES = AUTHORS CHANGES CREDITS ChangeLog INSTALL MANIFEST Makefile.in \
include lib man support aclocal.m4 acsite.m4 config configure configure.ac \
.threads bin clients examples common debian pkg perllib pythonlib README.rst VERSION
.c.o:
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<
.PHONY: install installdirs install-perl uninstall-perl
all: force
@set -e ; for i in $(DIRS) ; do \
if [ -d $$i ] ; then \
echo "making in $$i"; \
(cd $$i > /dev/null; $(MAKE));\
fi; \
done
.PHONY: all uninstall uninstall-perl
clients: common
examples: common
include: common
install: install-perl force installdirs
@for i in $(INSTDIRS) ; do \
if [ -d $$i ] ; then \
echo "making in $$i"; \
(cd $$i > /dev/null; $(MAKE) install); \
fi; \
done
$(INSTALL) -m 0644 $(srcdir)/support/Config/rarc $(DESTDIR)$(prefix)/argus/rarc
$(INSTALL) -m 0644 $(srcdir)/support/Config/delegated-ipv4-latest $(DESTDIR)$(prefix)/argus/delegated-ipv4-latest
$(INSTALL) -m 0644 $(srcdir)/support/Config/wireshark.manuf.txt $(DESTDIR)$(prefix)/argus/wireshark.manuf.txt
$(INSTALL) -m 0644 $(srcdir)/support/Config/std.sig $(DESTDIR)$(prefix)/argus/std.sig
$(INSTALL) -m 0755 $(srcdir)/bin/argusclientbug $(DESTDIR)@bindir@/argusclientbug
[ -d $(DESTDIR)@mandir@ ] || \
(mkdir -p $(DESTDIR)@mandir@; chmod 755 $(DESTDIR)@mandir@)
[ -d $(DESTDIR)@mandir@/man1 ] || \
(mkdir -p $(DESTDIR)@mandir@/man1; chmod 755 $(DESTDIR)@mandir@/man1)
$(INSTALL) -m 0644 $(srcdir)/man/man1/ra.1 \
$(DESTDIR)@mandir@/man1/ra.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/rabins.1 \
$(DESTDIR)@mandir@/man1/rabins.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/racluster.1 \
$(DESTDIR)@mandir@/man1/racluster.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/raconvert.1 \
$(DESTDIR)@mandir@/man1/raconvert.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/racount.1 \
$(DESTDIR)@mandir@/man1/racount.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/radecode.1 \
$(DESTDIR)@mandir@/man1/radecode.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/radns.1 \
$(DESTDIR)@mandir@/man1/radns.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/radump.1 \
$(DESTDIR)@mandir@/man1/radump.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/raevent.1 \
$(DESTDIR)@mandir@/man1/raevent.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/rafilteraddr.1 \
$(DESTDIR)@mandir@/man1/rafilteraddr.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/ragen.1 \
$(DESTDIR)@mandir@/man1/ragen.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/ragraph.1 \
$(DESTDIR)@mandir@/man1/ragraph.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/ragrep.1 \
$(DESTDIR)@mandir@/man1/ragrep.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/rahisto.1 \
$(DESTDIR)@mandir@/man1/rahisto.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/ralabel.1 \
$(DESTDIR)@mandir@/man1/ralabel.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/ranonymize.1 \
$(DESTDIR)@mandir@/man1/ranonymize.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/rapath.1 \
$(DESTDIR)@mandir@/man1/rapath.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/rapolicy.1 \
$(DESTDIR)@mandir@/man1/rapolicy.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/rasort.1 \
$(DESTDIR)@mandir@/man1/rasort.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/ramanage.1 \
$(DESTDIR)@mandir@/man1/ramanage.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/rasql.1 \
$(DESTDIR)@mandir@/man1/rasql.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/rasqlcheckconf.1 \
$(DESTDIR)@mandir@/man1/rasqlcheckconf.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/rasqlinsert.1 \
$(DESTDIR)@mandir@/man1/rasqlinsert.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/rasqltimeindex.1 \
$(DESTDIR)@mandir@/man1/rasqltimeindex.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/rastream.1 \
$(DESTDIR)@mandir@/man1/rastream.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/rastrip.1 \
$(DESTDIR)@mandir@/man1/rastrip.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/ratrace.1 \
$(DESTDIR)@mandir@/man1/ratrace.1
$(INSTALL) -m 0644 $(srcdir)/man/man1/ratop.1 \
$(DESTDIR)@mandir@/man1/ratop.1
[ -d $(DESTDIR)@mandir@/man5 ] || \
(mkdir -p $(DESTDIR)@mandir@/man5; chmod 755 $(DESTDIR)@mandir@/man5)
[ -d $(DESTDIR)@mandir@/man8 ] || \
(mkdir -p $(DESTDIR)@mandir@/man8; chmod 755 $(DESTDIR)@mandir@/man8)
$(INSTALL) -m 0644 $(srcdir)/man/man5/rarc.5 \
$(DESTDIR)@mandir@/man5/rarc.5
$(INSTALL) -m 0644 $(srcdir)/man/man5/racluster.conf.5 \
$(DESTDIR)@mandir@/man5/racluster.conf.5
$(INSTALL) -m 0644 $(srcdir)/man/man5/racolor.conf.5 \
$(DESTDIR)@mandir@/man5/racolor.conf.5
$(INSTALL) -m 0644 $(srcdir)/man/man5/ralabel.conf.5 \
$(DESTDIR)@mandir@/man5/ralabel.conf.5
$(INSTALL) -m 0644 $(srcdir)/man/man5/radium.conf.5 \
$(DESTDIR)@mandir@/man5/radium.conf.5
$(INSTALL) -m 0644 $(srcdir)/man/man5/ranonymize.5 \
$(DESTDIR)@mandir@/man5/ranonymize.5
$(INSTALL) -m 0644 $(srcdir)/man/man8/radium.8 \
$(DESTDIR)@mandir@/man8/radium.8
[ -d $(DESTDIR)@prefix@ ] || \
(mkdir -p $(DESTDIR)@prefix@; chmod 755 $(DESTDIR)@prefix@)
[ -d $(DESTDIR)$(docdir) ] || \
(mkdir -p $(DESTDIR)$(docdir); chmod 755 $(DESTDIR)$(docdir))
$(INSTALL) -m 0644 $(srcdir)/README.rst $(DESTDIR)$(docdir)
install-perl:
@set -e ; \
mkdir -p $(DESTDIR)$(perlextlib)/qosient ; \
$(INSTALL) -m 0644 $(srcdir)/lib/perl5/qosient/util.pm \
$(DESTDIR)$(perlextlib)/qosient/util.pm
uninstall: uninstall-perl
@for i in $(INSTDIRS) ; do \
if [ -d $$i ] ; then \
echo "making in $$i"; \
(cd $$i > /dev/null; $(MAKE) uninstall); \
fi; \
done
rm -f $(DESTDIR)@bindir@/argusclientbug
rm -f $(DESTDIR)@mandir@/man1/ra.1
rm -f $(DESTDIR)@mandir@/man1/rabins.1
rm -f $(DESTDIR)@mandir@/man1/racluster.1
rm -f $(DESTDIR)@mandir@/man1/raconvert.1
rm -f $(DESTDIR)@mandir@/man1/racount.1
rm -f $(DESTDIR)@mandir@/man1/radecode.1
rm -f $(DESTDIR)@mandir@/man1/radns.1
rm -f $(DESTDIR)@mandir@/man1/radump.1
rm -f $(DESTDIR)@mandir@/man1/raevent.1
rm -f $(DESTDIR)@mandir@/man1/rafilteraddr.1
rm -f $(DESTDIR)@mandir@/man1/ragen.1
rm -f $(DESTDIR)@mandir@/man1/ragraph.1
rm -f $(DESTDIR)@mandir@/man1/ragrep.1
rm -f $(DESTDIR)@mandir@/man1/rahisto.1
rm -f $(DESTDIR)@mandir@/man1/ralabel.1
rm -f $(DESTDIR)@mandir@/man1/ranonymize.1
rm -f $(DESTDIR)@mandir@/man1/rapath.1
rm -f $(DESTDIR)@mandir@/man1/rapolicy.1
rm -f $(DESTDIR)@mandir@/man1/rasort.1
rm -f $(DESTDIR)@mandir@/man1/rasql.1
rm -f $(DESTDIR)@mandir@/man1/rasqlcheckconf.1
rm -f $(DESTDIR)@mandir@/man1/rasqlinsert.1
rm -f $(DESTDIR)@mandir@/man1/rasqltimeindex.1
rm -f $(DESTDIR)@mandir@/man1/rastream.1
rm -f $(DESTDIR)@mandir@/man1/rastrip.1
rm -f $(DESTDIR)@mandir@/man1/ratrace.1
rm -f $(DESTDIR)@mandir@/man1/ratop.1
rm -f $(DESTDIR)@mandir@/man5/rarc.5
rm -f $(DESTDIR)@mandir@/man5/racluster.conf.5
rm -f $(DESTDIR)@mandir@/man5/ralabel.conf.5
rm -f $(DESTDIR)@mandir@/man5/radium.conf.5
rm -f $(DESTDIR)@mandir@/man5/ranonymize.5
rm -f $(DESTDIR)@mandir@/man5/racolor.conf.5
rm -f $(DESTDIR)@mandir@/man8/radium.8
rm -f $(DESTDIR)@mandir@/man8/ragen.8
rm -rf $(DESTDIR)$(docdir)
rm -rf $(DESTDIR)$(prefix)/argus
rm -f $(DESTDIR)@datarootdir@/argus-clients/std.sig
uninstall-perl:
rm -f $(DESTDIR)$(perlextlib)/qosient/util.pm
installdirs:
${srcdir}/config/mkinstalldirs \
$(DESTDIR)@sbindir@ \
$(DESTDIR)@bindir@ \
$(DESTDIR)@infodir@ \
$(DESTDIR)$(prefix)/argus \
$(DESTDIR)@datarootdir@/argus-clients
Makefile: Makefile.in config.status
$(SHELL) config.status
config.status: configure
$(srcdir)/configure --no-create
TAGS: $(SRCS)
etags $(SRCS)
.PHONY: clean mostlyclean distclean realclean dist
clean: force
rm -f config.log
rm -f pkg/osx/*.pkg
@for i in $(CLEANDIRS) ; do \
if [ -d $$i ] ; then \
(cd $$i > /dev/null; $(MAKE) clean ); \
fi; \
done
mostlyclean: clean
distclean: force
rm -f config.*
rm -f TAGS
rm -f lib/*.a
rm -f bin/ra*
rm -f Makefile
rm -f *~
@for i in $(CLEANDIRS) ; do \
if [ -d $$i ] ; then \
(cd $$i > /dev/null; $(MAKE) distclean); \
fi; \
done
clobber realclean: force
rm -f TAGS
rm -f lib/*.a
rm -f include/argus_config.h
rm -f include/tm.h
rm -f include/*~
rm -f bin/ra*
rm -f pkg/osx/*.pkg
rm -rf pkg/osx/BUILDROOT/
rm -rf log
rm -rf autom4te.cache
@for i in $(CLEANDIRS) ; do \
if [ -d $$i ] ; then \
(cd $$i > /dev/null; $(MAKE) distclean); \
fi; \
done
rm -f *~
rm -f ./Makefile config.*
dist: $(DISTFILES) distclean
echo argus-clients-`cat VERSION` > .fname
rm -rf `cat .fname`
mkdir `cat .fname`
tar cf - $(DISTFILES) | (cd `cat .fname`; tar xpf -)
ls -lR `cat .fname` | fgrep CVS: | sed 's/:$///' > exfile
env COPYFILE_DISABLE=1 tar -X exfile -chzf `cat .fname`.tar.gz `cat .fname`
rm -rf `cat .fname` .fname exfile
force: /tmp
depend: $(GENSRC) force
@for i in $(DIRS) ; do \
if [ -d $$i ] ; then \
(cd $$i > /dev/null; $(MAKE) depend ); \
fi; \
done
# Prevent GNU make v3 from overflowing arg limit on SysV.
.NOEXPORT: