]> git.pld-linux.org Git - packages/botnet.git/blob - botnet-examples.patch
- makefile and some changes
[packages/botnet.git] / botnet-examples.patch
1 diff -Naur botnet-1.5.1/Makefile.am botnet-1.5.1-p/Makefile.am
2 --- botnet-1.5.1/Makefile.am    Wed Mar 29 18:38:46 2000
3 +++ botnet-1.5.1-p/Makefile.am  Wed Aug 23 18:23:52 2000
4 @@ -1,6 +1,6 @@
5  ## Process this file with automake to produce Makefile.in
6  
7 -SUBDIRS = makelib example
8 +SUBDIRS = makelib
9  
10  EXTRA_DIST = \
11          License.txt \
12 diff -Naur botnet-1.5.1/example/Makefile.new botnet-1.5.1-p/example/Makefile
13 --- botnet-1.5.1/example/Makefile.new   Thu Jan  1 01:00:00 1970
14 +++ botnet-1.5.1-p/example/Makefile.new Wed Aug 23 18:35:47 2000
15 @@ -0,0 +1,13 @@
16 +%.o: %.c
17 +       $(CC) $(CFLAGS) -c -o $@ $<
18 +
19 +all: bot serv
20 +
21 +bot: bot.o
22 +       $(CC) $(LDFLAGS) -lbotnet -o $@ $<
23 +
24 +serv: serv.o
25 +       $(CC) $(LDFLAGS) -lbotnet -o $@ $<
26 +
27 +clean:
28 +       rm -f *.o bot serv core
29 diff -Naur botnet-1.5.1/example/bot.c botnet-1.5.1-p/example/bot.c
30 --- botnet-1.5.1/example/bot.c  Wed Aug  2 21:42:02 2000
31 +++ botnet-1.5.1-p/example/bot.c        Wed Aug 23 18:28:31 2000
32 @@ -4,7 +4,7 @@
33  */
34  
35  
36 -#include "../makelib/botnet.h"
37 +#include <botnet.h>
38  #include <stdio.h>
39  #include <stdlib.h>
40  #ifdef __unix__
41 diff -Naur botnet-1.5.1/example/serv.c botnet-1.5.1-p/example/serv.c
42 --- botnet-1.5.1/example/serv.c Wed Aug  2 21:48:45 2000
43 +++ botnet-1.5.1-p/example/serv.c       Wed Aug 23 18:35:22 2000
44 @@ -6,7 +6,7 @@
45  /* DO NOT forget to define SERVER before any include of botnet if you want to use BotNet's server capabilities */
46  /* But we don't need it here, because makefile already defines it */
47  //#define SERVER
48 -#include "../makelib/botnet.h"
49 +#include <botnet.h>
50  #include <stdio.h>
51  #include <stdlib.h>
52  #include <string.h>
This page took 0.055284 seconds and 4 git commands to generate.