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