805e431a38
source directory. This involves mostly makefiles using $(srcdir) when they might have used ".". (Regression tests don't work with this, yet.) Sort out usage of CPPFLAGS, CFLAGS (and CXXFLAGS). Add "override" keyword in most places, to preserve necessary flags even when the user overrode the flags.
33 lines
685 B
Makefile
33 lines
685 B
Makefile
#
|
|
# $Header: /cvsroot/pgsql/contrib/vacuumlo/Makefile,v 1.8 2000/10/20 21:03:36 petere Exp $
|
|
#
|
|
|
|
subdir = contrib/vacuumlo
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
override CPPFLAGS += -I$(libpq_srcdir)
|
|
override 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
|