| #------------------------------------------------------------------------- |
| # |
| # Makefile for src/bin/pg_alterckey |
| # |
| # Copyright (c) 1998-2021, PostgreSQL Global Development Group |
| # |
| # src/bin/pg_alterckey/Makefile |
| # |
| #------------------------------------------------------------------------- |
| |
| PGFILEDESC = "pg_alterckey - alter the cluster key" |
| PGAPPICON=win32 |
| |
| subdir = src/bin/pg_alterckey |
| top_builddir = ../../.. |
| include $(top_builddir)/src/Makefile.global |
| |
| OBJS = \ |
| $(WIN32RES) \ |
| pg_alterckey.o |
| |
| all: pg_alterckey |
| |
| pg_alterckey: $(OBJS) | submake-libpgport |
| $(CC) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X) |
| |
| install: all installdirs |
| $(INSTALL_PROGRAM) pg_alterckey$(X) '$(DESTDIR)$(bindir)/pg_alterckey$(X)' |
| |
| installdirs: |
| $(MKDIR_P) '$(DESTDIR)$(bindir)' |
| |
| uninstall: |
| rm -f '$(DESTDIR)$(bindir)/pg_alterckey$(X)' |
| |
| clean distclean maintainer-clean: |
| rm -f pg_alterckey$(X) $(OBJS) |
| rm -rf tmp_check |