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