~ubuntu-branches/ubuntu/oneiric/pgpool2/oneiric

« back to all changes in this revision

Viewing changes to test/timestamp/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Marc Gariepy
  • Date: 2010-02-17 13:58:08 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100217135808-vqxtfe80r5z8toje
Tags: 2.3.2.1-0ubuntu1
* New upstream release (2.3.2.1)
 * Lots of bug fixes
 * Add SSL support
 * Add support for large object replication
 * Enhanced replication (TIMESTAMP, DATES)
 * Save node status on restart
 * Some other minor changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
PROGRAM=timestamp-test
 
3
topsrc_dir=../..
 
4
CPPFLAGS=-I$(topsrc_dir) -I$(shell pg_config --includedir)
 
5
CFLAGS=-Wall -O0 -g
 
6
 
 
7
OBJS=main.o \
 
8
         $(topsrc_dir)/pool_timestamp.o \
 
9
         $(topsrc_dir)/parser/libsql-parser.a
 
10
 
 
11
all: all-pre $(PROGRAM)
 
12
 
 
13
all-pre:
 
14
        $(MAKE) -C $(topsrc_dir)/parser
 
15
        $(MAKE) -C $(topsrc_dir) pool_timestamp.o
 
16
 
 
17
$(PROGRAM): $(OBJS)
 
18
        $(CC) $(OBJS) -o $(PROGRAM)
 
19
 
 
20
main.o: main.c
 
21
 
 
22
test: $(PROGRAM)
 
23
        ./run-test parse_schedule
 
24
 
 
25
clean:
 
26
        -rm *.o
 
27
        -rm $(PROGRAM)
 
28
        -rm result/*.out
 
29
        -rm test.diff
 
30
 
 
31
.PHONY: all all-pre test clean