]> granicus.if.org Git - postgresql/blob - src/tools/fsync/Makefile
Update CVS HEAD for 2007 copyright. Back branches are typically not
[postgresql] / src / tools / fsync / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile for src/tools/fsync
4 #
5 # Copyright (c) 2003-2007, PostgreSQL Global Development Group
6 #
7 # $PostgreSQL: pgsql/src/tools/fsync/Makefile,v 1.4 2007/01/05 22:20:05 momjian Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 subdir = src/tools/fsync
12 top_builddir = ../../..
13 include $(top_builddir)/src/Makefile.global
14
15 override CPPFLAGS := -DFRONTEND -I$(libpq_srcdir) $(CPPFLAGS)
16
17 OBJS= test_fsync.o
18
19 all: submake-libpq submake-libpgport test_fsync
20
21 test_fsync: test_fsync.o $(libpq_builddir)/libpq.a
22         $(CC) $(CFLAGS) test_fsync.o $(libpq_pgport) $(LDFLAGS) $(LIBS) -o $@$(X)
23
24 clean distclean maintainer-clean:
25         rm -f test_fsync$(X) $(OBJS)