Makefile
资源名称:ddos_scan.tar [点击查看]
上传用户:zht1018
上传日期:2007-01-07
资源大小:29k
文件大小:1k
源码类别:
系统/网络安全
开发平台:
Unix_Linux
- # Makefile for ddos_scan (dds).
- # $Revision: 1.1 $
- CFLAGS=
- # For Solaris 2.5.1 and above, uncomment the following line.
- LIBS=-lresolv -lsocket -lnsl
- default:
- @clear
- @tail -19 README
- @echo " "
- @echo "Please read the README file first, then edit the Makefile"
- @echo "to suit your operating system, then use 'make dds'"
- dds: dds.o
- $(CC) -o dds dds.c $(LIBS)
- # This assumes the source is in a directory named "ddos_scan".
- tar: ddos_scan.tar
- ddos_scan.tar: CHECKSUMS.asc
- (cd ..; tar -cvf ddos_scan.tar
- ddos_scan/Makefile ddos_scan/dds.c ddos_scan/README
- ddos_scan/CHECKSUMS.asc)
- mv ../ddos_scan.tar .
- CHECKSUMS.asc: CHECKSUMS.head Makefile README dds.c
- cat CHECKSUMS.head > CHECKSUMS
- grep Revision dds.c | grep dds >>CHECKSUMS
- echo "" >>CHECKSUMS
- md5sum Makefile README dds.c >>CHECKSUMS
- pgp -sta CHECKSUMS