Skip to content

Commit 9a60a18

Browse files
committed
[OPENSOURCE] Pythia 0.1 version
1 parent e4a07bd commit 9a60a18

23 files changed

+4908
-0
lines changed

Makefile

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
CFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes\
3+
-fomit-frame-pointer -freg-struct-return -ggdb -g\
4+
$(shell pkg-config --cflags glib-2.0)
5+
#mbed_lib/libmbedcrypto.so mbed_lib/libmbedtls.so mbed_lib/libmbedx509.so
6+
#-Lmbed_lib -llibmbedx509.so -libmbedtlx -libmbedcrypto\
7+
8+
9+
#CFLAGS := -fomit-frame-pointer -freg-struct-return -O2
10+
LIBS := -libverbs -lpthread -lrdmacm -libverbs -lmemcached \
11+
-lnuma -lmbedtls -lmbedcrypto -lm\
12+
$(shell pkg-config --libs glib-2.0)
13+
SRCS := $(wildcard init*.c)
14+
OBJS := $(SRCS:.c=.o)
15+
DEPS := rsec_base.h server.h rsec.h rsec_struct.h rsec_util.h
16+
all: $(OBJS)
17+
18+
clean:
19+
rm -f *.o
20+
21+
%.o: %.c
22+
gcc ibsetup.c util.c server.c client.c rsec.c memcached.c rsec_control.c -o $@ $(CFLAGS) $(LIBS) $<

0 commit comments

Comments
 (0)