blob: ccb678a0371f78027fac0f428bfc441df64188dc (
plain)
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
60
|
#----------------------------------------------------------------------------
#
# Postgres-XC GTM test2 makefile
#
# Copyright(c) 2010-2012 Postgres-XC Development Group
#
# src/gtm/test2/Makefile
#
#-----------------------------------------------------------------------------
top_build_dir=../..
include $(top_build_dir)/gtm/Makefile.global
override CPPFLAGS := -I$(top_build_dir)/gtm/client $(CPPFLAGS)
SRCS=test_serialize.c test_connect.c test_node.c test_node5.c test_txn.c test_txn4.c test_txn5.c test_repli.c test_repli2.c test_seq.c test_seq4.c test_seq5.c test_scenario.c test_startup.c test_standby.c test_common.c
PROGS=test_serialize test_connect test_txn test_txn4 test_txn5 test_repli test_repli2 test_seq test_seq4 test_seq5 test_scenario test_startup test_node test_node5 test_standby
OBJS=$(SRCS:.c=.o)
LIBS=$(top_build_dir)/gtm/client/libgtmclient.a \
$(top_build_dir)/gtm/common/libgtm.a \
$(top_build_dir)/gtm/libpq/libpqcomm.a
LOADLIBES=-lpthread
CFLAGS=-g -O0
all: $(PROGS)
test_serialize: test_serialize.o test_common.o $(LIBS)
test_connect: test_connect.o test_common.o $(LIBS)
test_startup: test_startup.o test_common.o $(LIBS)
test_node: test_node.o test_common.o $(LIBS)
test_node5: test_node5.o test_common.o $(LIBS)
test_txn: test_txn.o test_common.o $(LIBS)
test_txn4: test_txn4.o test_common.o $(LIBS)
test_txn5: test_txn5.o test_common.o $(LIBS)
test_repli: test_repli.o test_common.o $(LIBS)
test_standby: test_standby.o test_common.o $(LIBS)
test_repli2: test_repli2.o test_common.o $(LIBS)
test_seq: test_seq.o test_common.o $(LIBS)
test_seq4: test_seq4.o test_common.o $(LIBS)
test_seq5: test_seq5.o test_common.o $(LIBS)
test_scenario: test_scenario.o test_common.o $(LIBS)
clean:
rm -f $(OBJS) *~
rm -f $(PROGS)
distclean: clean
maintainer-clean: distclean
|