postgresql/src/bin/pg_resetwal/Makefile

36 lines
883 B
Makefile
Raw Normal View History

2002-08-17 04:44:24 +02:00
#-------------------------------------------------------------------------
#
# Makefile for src/bin/pg_resetwal
2002-08-17 04:44:24 +02:00
#
2017-01-03 19:48:53 +01:00
# Copyright (c) 1998-2017, PostgreSQL Global Development Group
2002-08-17 04:44:24 +02:00
#
# src/bin/pg_resetwal/Makefile
2002-08-17 04:44:24 +02:00
#
#-------------------------------------------------------------------------
PGFILEDESC = "pg_resetwal - reset PostgreSQL WAL log"
PGAPPICON=win32
subdir = src/bin/pg_resetwal
2002-08-17 04:44:24 +02:00
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
OBJS= pg_resetwal.o $(WIN32RES)
2002-08-17 04:44:24 +02:00
all: pg_resetwal
2002-08-17 04:44:24 +02:00
pg_resetwal: $(OBJS) | submake-libpgport
$(CC) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
2002-08-17 04:44:24 +02:00
install: all installdirs
$(INSTALL_PROGRAM) pg_resetwal$(X) '$(DESTDIR)$(bindir)/pg_resetwal$(X)'
2002-08-17 04:44:24 +02:00
installdirs:
$(MKDIR_P) '$(DESTDIR)$(bindir)'
2002-08-17 04:44:24 +02:00
uninstall:
rm -f '$(DESTDIR)$(bindir)/pg_resetwal$(X)'
2002-08-17 04:44:24 +02:00
clean distclean maintainer-clean:
rm -f pg_resetwal$(X) $(OBJS)