1# contrib/chkpass/Makefile 2 3MODULE_big = chkpass 4OBJS = chkpass.o $(WIN32RES) 5 6EXTENSION = chkpass 7DATA = chkpass--1.0.sql chkpass--unpackaged--1.0.sql 8PGFILEDESC = "chkpass - encrypted password data type" 9 10SHLIB_LINK = $(filter -lcrypt, $(LIBS)) 11 12ifdef USE_PGXS 13PG_CONFIG = pg_config 14PGXS := $(shell $(PG_CONFIG) --pgxs) 15include $(PGXS) 16else 17subdir = contrib/chkpass 18top_builddir = ../.. 19include $(top_builddir)/src/Makefile.global 20include $(top_srcdir)/contrib/contrib-global.mk 21endif 22