mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-29 00:47:19 +02:00
to one another. Sort out builddir vs srcdir variable namings. Remove some now obsoleted make variables.
33 lines
657 B
Makefile
33 lines
657 B
Makefile
#
|
|
# $Header: /cvsroot/pgsql/contrib/vacuumlo/Makefile,v 1.7 2000/08/31 16:09:12 petere Exp $
|
|
#
|
|
|
|
subdir = contrib/vacuumlo
|
|
top_builddir = ../..
|
|
include ../../src/Makefile.global
|
|
|
|
CPPFLAGS += -I$(libpq_srcdir)
|
|
LIBS += $(libpq)
|
|
|
|
all: vacuumlo
|
|
|
|
install: all installdirs
|
|
$(INSTALL_PROGRAM) vacuumlo$(X) $(bindir)
|
|
$(INSTALL_DATA) README.vacuumlo $(docdir)/contrib
|
|
|
|
installdirs:
|
|
$(mkinstalldirs) $(bindir) $(docdir)/contrib
|
|
|
|
uninstall:
|
|
rm -f $(bindir)/vacuumlo$(X) $(docdir)/contrib/README.vacuumlo
|
|
|
|
clean distclean maintainer-clean:
|
|
rm -f vacuumlo$(X)
|
|
|
|
depend dep:
|
|
$(CC) -MM -MG $(CFLAGS) *.c > depend
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
include depend
|
|
endif
|