mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Clean up pg_test_fsync commit.
Actually rename the program, rather than just claiming we did. Hook it into the build system. Get rid of useless dependency on libpq. Clean up #include list and messy whitespace.
This commit is contained in:
@ -1,22 +1,20 @@
|
||||
#
|
||||
# Makefile for test_fsync
|
||||
# Makefile for pg_test_fsync
|
||||
#
|
||||
# contrib/test_fsync/Makefile
|
||||
# contrib/pg_test_fsync/Makefile
|
||||
|
||||
PGFILEDESC = "test_fsync - test various disk sync methods"
|
||||
PGFILEDESC = "pg_test_fsync - test various disk sync methods"
|
||||
PGAPPICON = win32
|
||||
|
||||
PROGRAM = test_fsync
|
||||
OBJS = test_fsync.o
|
||||
|
||||
PG_LIBS = $(libpq_pgport)
|
||||
PROGRAM = pg_test_fsync
|
||||
OBJS = pg_test_fsync.o
|
||||
|
||||
ifdef USE_PGXS
|
||||
PG_CONFIG = pg_config
|
||||
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
||||
include $(PGXS)
|
||||
else
|
||||
subdir = contrib/test_fsync
|
||||
subdir = contrib/pg_test_fsync
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global
|
||||
include $(top_srcdir)/contrib/contrib-global.mk
|
||||
|
Reference in New Issue
Block a user