]> git.pld-linux.org Git - packages/botnet.git/blame - botnet-examples.patch
- tabs in preamble
[packages/botnet.git] / botnet-examples.patch
CommitLineData
f5b7039b 1diff -Nru botnet-1.5.3/Makefile.am botnet-1.5.3.new/Makefile.am
2--- botnet-1.5.3/Makefile.am Thu Sep 14 04:03:53 2000
3+++ botnet-1.5.3.new/Makefile.am Thu Sep 14 04:03:08 2000
defaa9e1
SZ
4@@ -1,6 +1,6 @@
5 ## Process this file with automake to produce Makefile.in
6
7-SUBDIRS = makelib example
8+SUBDIRS = makelib
9
f5b7039b 10 bin_SCRIPTS = botnet-config
11
12diff -Nru botnet-1.5.3/Makefile.am~ botnet-1.5.3.new/Makefile.am~
13--- botnet-1.5.3/Makefile.am~ Thu Jan 1 01:00:00 1970
14+++ botnet-1.5.3.new/Makefile.am~ Tue Sep 12 14:17:57 2000
15@@ -0,0 +1,12 @@
16+## Process this file with automake to produce Makefile.in
17+
18+SUBDIRS = makelib example
19+
20+bin_SCRIPTS = botnet-config
21+
22+EXTRA_DIST = \
23+ License.txt \
24+ botnet.txt \
25+ file_id.diz \
26+ todo.txt
27+
28diff -Nru botnet-1.5.3/example/Makefile.new botnet-1.5.3.new/example/Makefile.new
29--- botnet-1.5.3/example/Makefile.new Thu Jan 1 01:00:00 1970
30+++ botnet-1.5.3.new/example/Makefile.new Thu Sep 14 04:03:08 2000
242fbe91 31@@ -0,0 +1,14 @@
defaa9e1
SZ
32+%.o: %.c
33+ $(CC) $(CFLAGS) -c -o $@ $<
34+
242fbe91
SZ
35+#all: bot serv
36+all: bot
defaa9e1
SZ
37+
38+bot: bot.o
39+ $(CC) $(LDFLAGS) -lbotnet -o $@ $<
40+
41+serv: serv.o
42+ $(CC) $(LDFLAGS) -lbotnet -o $@ $<
43+
44+clean:
45+ rm -f *.o bot serv core
f5b7039b 46diff -Nru botnet-1.5.3/example/bot.c botnet-1.5.3.new/example/bot.c
47--- botnet-1.5.3/example/bot.c Thu Sep 14 04:03:53 2000
48+++ botnet-1.5.3.new/example/bot.c Thu Sep 14 04:03:08 2000
defaa9e1
SZ
49@@ -4,7 +4,7 @@
50 */
51
52
53-#include "../makelib/botnet.h"
54+#include <botnet.h>
55 #include <stdio.h>
56 #include <stdlib.h>
57 #ifdef __unix__
f5b7039b 58diff -Nru botnet-1.5.3/example/serv.c botnet-1.5.3.new/example/serv.c
59--- botnet-1.5.3/example/serv.c Thu Sep 14 04:03:53 2000
60+++ botnet-1.5.3.new/example/serv.c Thu Sep 14 04:04:40 2000
61@@ -3,7 +3,7 @@
62 aka Ze KiLleR / SkyTech
63 */
64
defaa9e1 65-#include "../makelib/botnet.h"
f5b7039b 66+#include "botnet.h"
defaa9e1
SZ
67 #include <stdio.h>
68 #include <stdlib.h>
69 #include <string.h>
This page took 0.076989 seconds and 4 git commands to generate.