Consistently use "superuser" instead of "super user"
[pgsql.git] / src / bin / pg_controldata / Makefile
blobc5405b8a080d53c69eac0a5ba8ac7935301bfcc8
1 #-------------------------------------------------------------------------
3 # Makefile for src/bin/pg_controldata
5 # Copyright (c) 1998-2021, PostgreSQL Global Development Group
7 # src/bin/pg_controldata/Makefile
9 #-------------------------------------------------------------------------
11 PGFILEDESC = "pg_controldata - reads the data from pg_control"
12 PGAPPICON=win32
14 subdir = src/bin/pg_controldata
15 top_builddir = ../../..
16 include $(top_builddir)/src/Makefile.global
18 OBJS = \
19 $(WIN32RES) \
20 pg_controldata.o
22 all: pg_controldata
24 pg_controldata: $(OBJS) | submake-libpgport
25 $(CC) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
27 install: all installdirs
28 $(INSTALL_PROGRAM) pg_controldata$(X) '$(DESTDIR)$(bindir)/pg_controldata$(X)'
30 installdirs:
31 $(MKDIR_P) '$(DESTDIR)$(bindir)'
33 uninstall:
34 rm -f '$(DESTDIR)$(bindir)/pg_controldata$(X)'
36 clean distclean maintainer-clean:
37 rm -f pg_controldata$(X) $(OBJS)
38 rm -rf tmp_check
40 check:
41 $(prove_check)
43 installcheck:
44 $(prove_installcheck)