summaryrefslogtreecommitdiff
path: root/src/gtm/client/test/Makefile
blob: 5b65c9c59c055e50f701da84e3b80e345302dbb3 (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
#----------------------------------------------------------------------------
#
# Postgres-XC GTM client test makefile
#
# Copyright(c) 2010-2012 Postgres-XC Development Group
#
# src/gtm/client/test/Makefile
#
#-----------------------------------------------------------------------------
top_build_dir=../../../
include $(top_build_dir)/gtm/Makefile.global

override CPPFLAGS := -I$(top_build_dir)/gtm/client $(CPPFLAGS)

OBJS=test_seq.o test_txn.o test_snap.o test_txnperf.o test_snapperf.o
LIBS =-lpthread
LOADLIBES=-lpthread
CFLAGS=-g -O0

all:test_txn test_seq test_snap test_txnperf test_snapperf

test_txn:test_txn.o $(top_build_dir)/gtm/client/libgtmclient.a

test_seq:test_seq.o $(top_build_dir)/gtm/client/libgtmclient.a

test_snap:test_snap.o $(top_build_dir)/gtm/client/libgtmclient.a

test_txnperf:test_txnperf.o $(top_build_dir)/gtm/client/libgtmclient.a

test_snapperf:test_snapperf.o $(top_build_dir)/gtm/client/libgtmclient.a

clean:
	rm -f $(OBJS)
	rm -f test_txn test_seq test_snap test_txnperf test_snapperf

distclean: clean

maintainer-clean: distclean