2010-09-21 04:08:53 +08:00
|
|
|
# contrib/vacuumlo/Makefile
|
2010-05-12 19:33:10 +08:00
|
|
|
|
|
|
|
PGFILEDESC = "vacuumlo - removes orphaned large objects"
|
2011-01-25 09:46:30 +08:00
|
|
|
PGAPPICON = win32
|
1999-04-11 00:48:05 +08:00
|
|
|
|
2001-09-06 18:49:30 +08:00
|
|
|
PROGRAM = vacuumlo
|
2014-07-15 02:07:52 +08:00
|
|
|
OBJS = vacuumlo.o $(WIN32RES)
|
1999-04-11 00:48:05 +08:00
|
|
|
|
2001-09-06 18:49:30 +08:00
|
|
|
PG_CPPFLAGS = -I$(libpq_srcdir)
|
2005-03-26 02:17:14 +08:00
|
|
|
PG_LIBS = $(libpq_pgport)
|
2000-06-16 02:55:34 +08:00
|
|
|
|
2004-08-21 04:13:10 +08:00
|
|
|
ifdef USE_PGXS
|
2007-06-27 06:05:04 +08:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-21 04:13:10 +08:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/vacuumlo
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2001-09-06 18:49:30 +08:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-21 04:13:10 +08:00
|
|
|
endif
|