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
|
#
# $Id: Makefile.in,v 1.2 2004/01/28 21:57:23 mastershadow Exp $
#
CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
INSTALL = @INSTALL@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
mandir = @mandir@
datadir = @datadir@
srcdir = @srcdir@
shtool = @SHTOOL@
OBJS = main.o dev.o tcp.o icmp.o arp.o udp.o prom.o\
eth.o map.o sniff.o data.o rst.o fgw.o flink.o \
port.o common.o stream.o igmp.o bcount.o error.o\
ncurses/n_menu.o ncurses/n_scroll_win.o ncurses/n_comm.o \
ncurses/n_stream.o ncurses/n_conn.o ncurses/n_rst.o @NCURSES@ @GETOPT@\
all: nast
world: nast install
nast: $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) -o nast $(OBJS) $(LIBS)
@echo
@echo "Done! Type make install from root"
@echo
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
install:
cp -fR nast @bindir@
cp -fR nast.8 @mandir@/man8/
@echo
@echo "Run with nast (-h for help), enjoy!"
@echo "Use -G flag to run in ncurses interface"
@echo
clean:
rm -f *~ ncurses/*~ *.bak *.o ncurses/*.o *.log nast config.status stamp-h*
rm -rf *.cache
distclean: clean
rm -f config.h Makefile
version:
@echo
@cat VERSION
@echo
love:
@echo "Not right now,i have a headcache..."
help:
@echo
@echo "Accepted commands for Makefile:"
@echo "make compile sources"
@echo "make install install binary and manpage"
@echo "make world compile and install"
@echo "make clean clean trash files from current directory)"
@echo "make distclean uninstall"
@echo "make version show version"
@echo "make love surprise"
@echo "make help print this help"
@echo
|