-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathMakefile.in
191 lines (160 loc) · 5.18 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
#
# Argus-5.0 Software. Argus flow data generation.
# 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 [email protected].
#
# 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.
#
# Makefile for Argus-5.0
# Copyright (C) 1996-2024 QoSient, LLC
# All rights reserved
#
#### Start of system configuration section. ####
@SET_MAKE@
CC = @CC@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
DEFS = @DEFS@
LIBS = @LIBS@
WRAPLIBS = @WRAPLIBS@
VERSION = @PACKAGE_VERSION@.@PACKAGE_RELEASE@
prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
srcdir = @srcdir@
docdir = @datadir@/doc/argus-5.0
#### End of system configuration section. ####
SHELL = /bin/sh
DIRS = ./common ./argus ./events
INSTDIRS = ./argus ./events
DISTFILES = AUTHORS INSTALL MANIFEST CREDITS README VERSION Makefile.in \
bin common argus events lib man support doc include pkg debian \
aclocal.m4 acsite.m4 config configure configure.ac lib/argus.spec \
.threads
.c.o:
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<
.PHONY: install installdirs all
all: force
@-for d in $(DIRS);\
do \
(cd $$d; echo "### Making in" `pwd`;\
$(MAKE) $(MFLAGS) ;\
echo "### Done with" `pwd`);\
done
install: force
$(MAKE) $(MFLAGS) installdirs
[ -d $(DESTDIR)@prefix@ ] || \
(mkdir -p $(DESTDIR)@prefix@; chmod 755 $(DESTDIR)@prefix@)
[ -d $(DESTDIR)@sbindir@ ] || \
(mkdir -p $(DESTDIR)@sbindir@; chmod 755 $(DESTDIR)@sbindir@)
[ -d $(DESTDIR)@bindir@ ] || \
(mkdir -p $(DESTDIR)@bindir@; chmod 755 $(DESTDIR)@bindir@)
[ -d $(DESTDIR)$(exec_prefix)/argus ] || \
(mkdir -p $(DESTDIR)$(exec_prefix)/argus; chmod 755 $(DESTDIR)$(exec_prefix)/argus)
[ -d $(DESTDIR)$(exec_prefix)/argus/archive ] || \
(mkdir -p $(DESTDIR)$(exec_prefix)/argus/archive; chmod 755 $(DESTDIR)$(exec_prefix)/argus/archive)
@-for d in $(DIRS); \
do \
(cd $$d; echo "### Make install in" `pwd`; \
$(MAKE) $(MFLAGS) install; \
echo "### Done with" `pwd`); \
done
$(INSTALL) -m 0755 $(srcdir)/bin/argusbug $(DESTDIR)@bindir@/argusbug
[ -d $(DESTDIR)@mandir@ ] || \
(mkdir -p $(DESTDIR)@mandir@; chmod 755 $(DESTDIR)@mandir@)
[ -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/argus.conf.5 $(DESTDIR)@mandir@/man5/argus.conf.5
$(INSTALL) -m 0644 $(srcdir)/man/man8/argus.8 $(DESTDIR)@mandir@/man8/argus.8
install-doc: force
$(MAKE) installdirs
[ -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 $(DESTDIR)$(docdir)
uninstall:
rm -f $(DESTDIR)@mandir@/man5/argus.5
rm -f $(DESTDIR)@mandir@/man5/argus.conf.5
rm -f $(DESTDIR)@mandir@/man8/argus.8
rm -rf $(DESTDIR)$(docdir)
@for i in $(INSTDIRS) ; do \
if [ -d $$i ] ; then \
cd $$i; \
$(MAKE) $(MFLAGS) uninstall; \
cd ..; \
fi; \
done
rm -f $(DESTDIR)@bindir@/argusbug
installdirs:
${srcdir}/config/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)\
$(DESTDIR)$(docdir) $(DESTDIR)$(exec_prefix)/argus/archive
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
@-for d in $(DIRS); \
do \
(cd $$d; echo "### Make clean in" `pwd`; \
$(MAKE) $(MFLAGS) clean; \
echo "### Done with" `pwd`); \
done
mostlyclean: clean
distclean: force
@-for d in $(DIRS); \
do \
(cd $$d; echo "### Make distclean in" `pwd`; \
$(MAKE) $(MFLAGS) distclean; \
echo "### Done with" `pwd`); \
done
rm -rf log
rm -f config.*
rm -rf autom4te.cache
rm -f TAGS
rm -f lib/*.a
rm -f bin/*.exe
rm -f include/argus_config.h
rm -f include/*~
clobber realclean: distclean
rm -f ./Makefile
rm -f ./*~
dist: distclean
echo argus-`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: force
@for i in $(DIRS) ; do \
if [ -d $$i ] ; then \
cd $$i; \
$(MAKE) $(MFLAGS) depend || exit 1; \
cd ..; \
fi; \
done
# Prevent GNU make v3 from overflowing arg limit on SysV.
.NOEXPORT: