Be clearer about when jsonapi's need_escapes is needed
[pgsql.git] / src / bin / pg_archivecleanup / Makefile
blob93fd703f22591e2c901b2e036625a114fb846660
1 # src/bin/pg_archivecleanup/Makefile
3 PGFILEDESC = "pg_archivecleanup - cleans archive when used with streaming replication"
4 PGAPPICON = win32
6 subdir = src/bin/pg_archivecleanup
7 top_builddir = ../../..
8 include $(top_builddir)/src/Makefile.global
10 OBJS = \
11 $(WIN32RES) \
12 pg_archivecleanup.o
14 all: pg_archivecleanup
16 pg_archivecleanup: $(OBJS) | submake-libpgport
17 $(CC) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
19 install: all installdirs
20 $(INSTALL_PROGRAM) pg_archivecleanup$(X) '$(DESTDIR)$(bindir)/pg_archivecleanup$(X)'
22 installdirs:
23 $(MKDIR_P) '$(DESTDIR)$(bindir)'
25 uninstall:
26 rm -f '$(DESTDIR)$(bindir)/pg_archivecleanup$(X)'
28 clean distclean:
29 rm -f pg_archivecleanup$(X) $(OBJS)
30 rm -rf tmp_check
32 check:
33 $(prove_check)
35 installcheck:
36 $(prove_installcheck)