2000-06-15 22:55:34 +04:00
|
|
|
#
|
2000-10-21 01:04:27 +04:00
|
|
|
# $Header: /cvsroot/pgsql/contrib/vacuumlo/Makefile,v 1.8 2000/10/20 21:03:36 petere Exp $
|
2000-06-15 22:55:34 +04:00
|
|
|
#
|
1999-04-10 20:48:05 +04:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
subdir = contrib/vacuumlo
|
|
|
|
top_builddir = ../..
|
2000-10-21 01:04:27 +04:00
|
|
|
include $(top_builddir)/src/Makefile.global
|
1999-04-10 20:48:05 +04:00
|
|
|
|
2000-10-21 01:04:27 +04:00
|
|
|
override CPPFLAGS += -I$(libpq_srcdir)
|
|
|
|
override LIBS += $(libpq)
|
1999-04-10 20:48:05 +04:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
all: vacuumlo
|
1999-04-10 20:48:05 +04:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
install: all installdirs
|
|
|
|
$(INSTALL_PROGRAM) vacuumlo$(X) $(bindir)
|
|
|
|
$(INSTALL_DATA) README.vacuumlo $(docdir)/contrib
|
1999-04-10 20:48:05 +04:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
installdirs:
|
|
|
|
$(mkinstalldirs) $(bindir) $(docdir)/contrib
|
1999-04-10 20:48:05 +04:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
uninstall:
|
|
|
|
rm -f $(bindir)/vacuumlo$(X) $(docdir)/contrib/README.vacuumlo
|
1999-04-10 20:48:05 +04:00
|
|
|
|
2000-07-09 17:14:19 +04:00
|
|
|
clean distclean maintainer-clean:
|
|
|
|
rm -f vacuumlo$(X)
|
2000-06-15 22:55:34 +04:00
|
|
|
|
|
|
|
depend dep:
|
|
|
|
$(CC) -MM -MG $(CFLAGS) *.c > depend
|
|
|
|
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
|
|
include depend
|
|
|
|
endif
|