~mysqlatfacebook/mysqlatfacebook/tools

14.1.3 by Domas Mituzas
Faker: C implementation of InnoDB fake changes based replication prefetcher
1
CFLAGS+=`pkg-config glib-2.0 gthread-2.0 --cflags` `mysql_config --cflags` -std=gnu99 -Wall -Wextra -g -O2
2
LDFLAGS+=`pkg-config glib-2.0 gthread-2.0 --libs` `mysql_config --libs_r`
3
4
HEADERS=faker.h binlog.h
5
OBJECTS=faker.o binlog.o slave.o queue.o
6
7
all: faker
8
9
$(OBJECTS): $(HEADERS)
10
faker: $(OBJECTS)
11
12
clean:
13
	rm -f *.o *~ faker test-binlog
14
15
indent:
16
	indent -kr -ts4 -nut -l80 *.c *.h
17
18
test-binlog: binlog.o test-binlog.o