File: Makefile.in

package info (click to toggle)
argus-clients 1%3A5.0.2%2Bgit20250321.41f65e2-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 45,848 kB
  • sloc: ansic: 175,393; perl: 4,405; sh: 4,064; makefile: 2,520; lex: 517; yacc: 433; python: 62
file content (169 lines) | stat: -rw-r--r-- 3,781 bytes parent folder | download
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
#
#  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; 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.
# 
#  This program 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 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@

#CFLAGS = -g $(EXTRA_CFLAGS)
#LDFLAGS = -g

prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@

srcdir = @srcdir@
incdir = @prefix@/include
docdir = @datadir@/doc/argus-clients-3.0

#### End of system configuration section. ####

SHELL = /bin/sh

DIRS = ./raconvert ./radecode ./radns ./radump ./raevent ./rafilter ./ragraph ./ragrep ./rahisto \
	./ralabel ./ramatrix ./rapath ./rapolicy ./raports ./raqsort ./rarpwatch ./raservices ./rastrip \
	./ratrace ./ratop ./ratimerange ./ratemplate @ARGUS_MYSQL@

.c.o:
	$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<

.PHONY: install 

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

race: ../common
raconvert: ../common
radark: ../common
radns: ../common
radump: ../common
raevent: ../common
rafilter: ../common
ragraph: ../common
ragrep: ../common
rahisto: ../common
rahosts: ../common
ralabel: ../common
ramatrix: ../common
ramysql: ../common
rapath: ../common
rapolicy: ../common
raports: ../common
rarpwatch: ../common
raservices: ../common
rastrip: ../common
ratop: ../common
ratrace: ../common
ratimerange: ../common
ratemplate: ../common

install:  force
	@for i in  $(DIRS) ; do \
		if [ -d $$i ] ; then \
		echo "making in $$i"; \
		(cd $$i > /dev/null; $(MAKE) install ); \
		fi; \
	done

uninstall:
	@for i in  $(DIRS) ; do \
		if [ -d $$i ] ; then \
		echo "making in $$i"; \
		(cd  $$i > /dev/null; $(MAKE) uninstall); \
		fi; \
	done

TAGS: $(SRCS)
	etags $(SRCS)

.PHONY: clean mostlyclean distclean realclean dist

clean: force
	rm -f config.log
	@for i in $(DIRS) ; do \
		if [ -d $$i ] ; then \
		(cd $$i > /dev/null; $(MAKE) clean); \
		fi; \
	done

mostlyclean: clean

distclean: clean
	rm -f config.*
	rm -f TAGS
	rm -f lib/*.a
	rm -f bin/ra*
	rm -f Makefile
	@for i in $(DIRS) ; 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 bin/ra*
	rm -rf log
	@for i in $(DIRS) ; do \
		if [ -d $$i ] ; then \
		(cd $$i > /dev/null; $(MAKE) distclean); \
		fi; \
	done
	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
	tar -X exfile -chozf `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: