Consistently use "superuser" instead of "super user"
[pgsql.git] / src / bin / pg_checksums / Makefile
blob4d1f0fc3a031f73bf908be9730d66548bb7ded27
1 #-------------------------------------------------------------------------
3 # Makefile for src/bin/pg_checksums
5 # Copyright (c) 1998-2021, PostgreSQL Global Development Group
7 # src/bin/pg_checksums/Makefile
9 #-------------------------------------------------------------------------
11 PGFILEDESC = "pg_checksums - verify data checksums in an offline cluster"
12 PGAPPICON=win32
14 subdir = src/bin/pg_checksums
15 top_builddir = ../../..
16 include $(top_builddir)/src/Makefile.global
18 # We need libpq only because fe_utils does.
19 LDFLAGS_INTERNAL += -L$(top_builddir)/src/fe_utils -lpgfeutils $(libpq_pgport)
21 OBJS = \
22 $(WIN32RES) \
23 pg_checksums.o
25 all: pg_checksums
27 pg_checksums: $(OBJS) | submake-libpgport
28 $(CC) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
30 install: all installdirs
31 $(INSTALL_PROGRAM) pg_checksums$(X) '$(DESTDIR)$(bindir)/pg_checksums$(X)'
33 installdirs:
34 $(MKDIR_P) '$(DESTDIR)$(bindir)'
36 uninstall:
37 rm -f '$(DESTDIR)$(bindir)/pg_checksums$(X)'
39 clean distclean maintainer-clean:
40 rm -f pg_checksums$(X) $(OBJS)
41 rm -rf tmp_check
43 check:
44 $(prove_check)
46 installcheck:
47 $(prove_installcheck)