2007-11-11 00:59:52 +01:00
|
|
|
# $PostgreSQL: pgsql/contrib/chkpass/Makefile,v 1.10 2007/11/10 23:59:50 momjian Exp $
|
2001-05-03 14:32:13 +02:00
|
|
|
|
2002-10-21 20:55:10 +02:00
|
|
|
MODULE_big = chkpass
|
|
|
|
OBJS = chkpass.o
|
|
|
|
SHLIB_LINK = $(filter -lcrypt, $(LIBS))
|
2001-09-06 12:49:30 +02:00
|
|
|
DATA_built = chkpass.sql
|
2006-02-27 13:54:39 +01:00
|
|
|
DATA = uninstall_chkpass.sql
|
2001-05-03 14:32:13 +02:00
|
|
|
|
2004-08-20 22:13:10 +02:00
|
|
|
ifdef USE_PGXS
|
2007-06-27 00:05:04 +02:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-20 22:13:10 +02:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/chkpass
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
2001-09-06 12:49:30 +02:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
2004-08-20 22:13:10 +02:00
|
|
|
endif
|