File: Makefile.in

package info (click to toggle)
xprobe 0.0.2-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 496 kB
  • ctags: 105
  • sloc: sh: 1,507; ansic: 1,442; makefile: 90
file content (75 lines) | stat: -rw-r--r-- 2,409 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

# $Id: Makefile.in,v 1.10 2001/10/13 20:55:06 fygrave Exp $
#
# Copyright (C) 2001 Fyodor Yarochkin <fygrave@tigerteam.net>,
#                    Ofir Arkin       <ofir@sys-security.com>
#
# 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.
#
# All material for nonprofit, educational use only.
#
# 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@
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@ -DVERSION=\"$(VERSION)\" @CPPFLAGS@
LDFLAGS=@LDFLAGS@
LIBS=@LIBS@
INCLUDES=xprobe.h defines.h
SOURCES=xprobe.c icmp_echo.c icmp_timestamp.c icmp_addrmask.c udp_probe.c \
icmp_infr.c utils.c logic_tree.c pcap_iface.c pkt_exams.c
OBJS=xprobe.o icmp_echo.o icmp_timestamp.o icmp_addrmask.o udp_probe.o \
icmp_infr.o utils.o logic_tree.o pcap_iface.o pkt_exams.o
FILES=$(SOURCES) $(INCLUDES) AUTHORS CREDITS Changelog LICENSE Makefile.in \
README TODO config.h.in configure configure.in cfg-scripts xprobe.1

all: xprobe

xprobe: $(OBJS)
	$(CC) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS) $(LIBS)

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

clean:
	rm -f xprobe xprobe.core core *.o
distclean: clean
	rm -f config.h config.cache config.log config.status Makefile

install: xprobe
	$(INSTALL_PROGRAM) -d $(DESTDIR)$(bindir)
	$(INSTALL_PROGRAM) -d $(DESTDIR)$(mandir)/man1
	$(INSTALL_PROGRAM) -m 0755 xprobe $(DESTDIR)$(bindir)
	$(INSTALL_DATA) xprobe.1 $(DESTDIR)$(mandir)/man1

configure: configure.in
	autoheader
	autoconf    

tarball: configure
	mkdir ../$(PACKAGE)-$(VERSION)
	cp -R $(FILES) ../$(PACKAGE)-$(VERSION)/
	cd ../; tar cfz $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)/
	rm -rf ../$(PACKAGE)-$(VERSION)