1 #-------------------------------------------------------------------------
3 # Makefile for src/tools/fsync
5 # Copyright (c) 2003-2007, PostgreSQL Global Development Group
7 # $PostgreSQL: pgsql/src/tools/fsync/Makefile,v 1.4 2007/01/05 22:20:05 momjian Exp $
9 #-------------------------------------------------------------------------
11 subdir = src/tools/fsync
12 top_builddir = ../../..
13 include $(top_builddir)/src/Makefile.global
15 override CPPFLAGS := -DFRONTEND -I$(libpq_srcdir) $(CPPFLAGS)
19 all: submake-libpq submake-libpgport test_fsync
21 test_fsync: test_fsync.o $(libpq_builddir)/libpq.a
22 $(CC) $(CFLAGS) test_fsync.o $(libpq_pgport) $(LDFLAGS) $(LIBS) -o $@$(X)
24 clean distclean maintainer-clean:
25 rm -f test_fsync$(X) $(OBJS)