2010-09-21 04:08:53 +08:00
|
|
|
# contrib/chkpass/Makefile
|
2001-05-03 20:32:13 +08:00
|
|
|
|
2002-10-22 02:55:10 +08:00
|
|
|
MODULE_big = chkpass
|
|
|
|
OBJS = chkpass.o
|
2011-02-14 09:06:41 +08:00
|
|
|
|
|
|
|
EXTENSION = chkpass
|
|
|
|
DATA = chkpass--1.0.sql chkpass--unpackaged--1.0.sql
|
|
|
|
|
2002-10-22 02:55:10 +08:00
|
|
|
SHLIB_LINK = $(filter -lcrypt, $(LIBS))
|
2001-05-03 20:32:13 +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/chkpass
|
|
|
|
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
|