mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
5777dca4f8
Hiroshi Saito
26 lines
756 B
Makefile
26 lines
756 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile for src/tools/fsync
|
|
#
|
|
# Copyright (c) 2003-2006, PostgreSQL Global Development Group
|
|
#
|
|
# $PostgreSQL: pgsql/src/tools/fsync/Makefile,v 1.3 2006/10/13 14:19:29 momjian Exp $
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
subdir = src/tools/fsync
|
|
top_builddir = ../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
override CPPFLAGS := -DFRONTEND -I$(libpq_srcdir) $(CPPFLAGS)
|
|
|
|
OBJS= test_fsync.o
|
|
|
|
all: submake-libpq submake-libpgport test_fsync
|
|
|
|
test_fsync: test_fsync.o $(libpq_builddir)/libpq.a
|
|
$(CC) $(CFLAGS) test_fsync.o $(libpq_pgport) $(LDFLAGS) $(LIBS) -o $@$(X)
|
|
|
|
clean distclean maintainer-clean:
|
|
rm -f test_fsync$(X) $(OBJS)
|