-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
executable file
·59 lines (38 loc) · 2.16 KB
/
Makefile
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
CC=gcc
CFLAGS=-I. -ggdb -Wall -I/usr/include/python2.7_d -I/usr/include/x86_64-linux-gnu/python2.7_d -fno-strict-aliasing -Wdate-time -g -O0 -fstack-protector-strong -Wformat -Werror=format-security -g -O0 -Wall -Wstrict-prototypes -I/home/mike/antisurveillance/deps/geoip-api-c/libGeoIP -Ideps/http-parser
DEPS = antisurveillance.h
ODIR=obj
LIBS=-lz -lpthread -ggdb -lpython2.7_d -lpthread -ldl -lutil -lm -L/usr/lib -lpython2.7_d -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/home/mike/antisurveillance/deps/geoip-api-c/libGeoIP/.libs -lGeoIP
LIBS2=-lz -lpthread -ggdb -lpthread -ldl -lutil -lm -L/usr/lib -lpython2.7_d -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/home/mike/antisurveillance/deps/geoip-api-c/libGeoIP/.libs -lGeoIP
_OBJ = packetbuilding.o pcap.o antisurveillance.o network.o adjust.o instructions.o http.o research.o utils.o scripting.o attacks.o identities.o macro.o network_api.o
_OBJ2 = packetbuilding.o pcap.o antisurveillance.o network.o adjust.o instructions.o http.o research.o utils.o attacks.o identities.o macro.o network_api.o network_api.o noscripting.o
OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ))
OBJ2 = $(patsubst %,$(ODIR)/%,$(_OBJ2))
.DEFAULT_GOAL := all
$(ODIR)/%.o: %.c $(DEPS)
$(CC) -static -c -o $@ $< $(CFLAGS)
connecttest: $(OBJ) connecttest.o
gcc -o $@ $^ $(CFLAGS) $(LIBS2)
connecttest6: $(OBJ) connecttest6.o
gcc -o $@ $^ $(CFLAGS) $(LIBS2)
cyberwar_findips: $(OBJ) cyberwar_findips.o
gcc -o $@ $^ $(CFLAGS) $(LIBS)
cyberwar_checkpsh: $(OBJ2) cyberwar_checkpsh.o
gcc -o $@ $^ $(CFLAGS) $(LIBS)
cyberwar_ddos: $(OBJ2) cyberwarfare.c
gcc -o $@ $^ $(CFLAGS) $(LIBS2)
listentest: $(OBJ) listentest.o
gcc -o $@ $^ $(CFLAGS) $(LIBS)
connectselect: $(OBJ2) connectselect.o
gcc -o $@ $^ $(CFLAGS) $(LIBS2)
pyanti: $(OBJ) obj/scriptmain.o
gcc -o $@ $^ $(CFLAGS) $(LIBS)
tracedev: $(OBJ) obj/tracedev.o
gcc -o $@ $^ $(CFLAGS) $(LIBS)
anti: $(OBJ)
gcc -o $@ $^ $(CFLAGS) $(LIBS)
anti_static: $(OBJ) cmdline.o
gcc -static -o $@ $^ $(CFLAGS) $(LIBS)
clean:
rm -f anti $(ODIR)/*.o *~ core $(INCDIR)/*~
all: clean connecttest connecttest6