2007-11-11 07:59:52 +08:00
|
|
|
# $PostgreSQL: pgsql/contrib/chkpass/Makefile,v 1.10 2007/11/10 23:59:50 momjian Exp $
|
2001-05-03 20:32:13 +08:00
|
|
|
|
2002-10-22 02:55:10 +08:00
|
|
|
MODULE_big = chkpass
|
|
|
|
OBJS = chkpass.o
|
|
|
|
SHLIB_LINK = $(filter -lcrypt, $(LIBS))
|
2001-09-06 18:49:30 +08:00
|
|
|
DATA_built = chkpass.sql
|
2006-02-27 20:54:39 +08:00
|
|
|
DATA = uninstall_chkpass.sql
|
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
|