File: Makefile.in

package info (click to toggle)
xprobe 0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,588 kB
  • sloc: cpp: 12,317; sh: 2,858; makefile: 692; ansic: 7
file content (82 lines) | stat: -rwxr-xr-x 2,065 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
# $Id: Makefile.in,v 1.2 2003/08/05 03:35:11 mederchik Exp $
#
# Copyright (C) 2001 Fyodor Yarochkin <fygrave@tigerteam.net>,
#
# 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 2 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


CC=@CC@
CXX=@CXX@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
DESTDIR=
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
mandir=@mandir@
PACKAGE=@PACKAGE@
VERSION=@VERSION@
CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@ @CPPFLAGS@ -I../ -I../../ -I ../../xplib -I ../../../libs-external/USI++
LDFLAGS=@LDFLAGS@ -L../../xplib
SOLDFLAGS=@SOLDFLAGS@
LIBS=@LIBS@ -lxplib
DYNFLAGS=@DYNFLAGS@
XPLIB=../../xplib/libxplib.a
INCLUDES= 
RANLIB=@RANLIB@


all: alive_probe.a

alive_probe.a: icmp_ping.o tcp_ping.o udp_ping.o ttl_module portscan_module
	ar cr alive_probe.a `LC_ALL=C ls *.o ttl_calc/*.o portscanner/*.o`
	$(RANLIB) alive_probe.a

icmp_ping.o: icmp_ping.cc
	${CXX} ${CFLAGS} -c icmp_ping.cc


tcp_ping.o: tcp_ping.cc
	${CXX} ${CFLAGS} -c tcp_ping.cc


udp_ping.o: udp_ping.cc
	${CXX} ${CFLAGS} -c udp_ping.cc
    
ttl_module: 
		cd ttl_calc; ${MAKE}

portscan_module:
		cd portscanner; ${MAKE}

.c.o: $(INCLUDES)
	$(CC) -c $(CFLAGS) $<

    
.cc.o: $(INCLUDES)
	$(CXX) -c $(CFLAGS) $<

clean:
	rm -f core *.o *.so
	rm -f alive_probe.a
	cd ttl_calc; ${MAKE} clean 	
	cd portscanner; ${MAKE} clean

distclean: clean
	rm -f Makefile
	cd ttl_calc; ${MAKE} distclean
	cd portscanner; ${MAKE} distclean