| 1 |
# contrib/passwordcheck/Makefile |
| 2 |
|
| 3 |
MODULE_big = passwordcheck |
| 4 |
OBJS = \ |
| 5 |
$(WIN32RES) \ |
| 6 |
passwordcheck.o |
| 7 |
PGFILEDESC = "passwordcheck - strengthen user password checks" |
| 8 |
|
| 9 |
# uncomment the following two lines to enable cracklib support |
| 10 |
# PG_CPPFLAGS = -DUSE_CRACKLIB '-DCRACKLIB_DICTPATH="/usr/lib/cracklib_dict"' |
| 11 |
# SHLIB_LINK = -lcrack |
| 12 |
|
| 13 |
REGRESS = passwordcheck |
| 14 |
|
| 15 |
ifdef USE_PGXS |
| 16 |
PG_CONFIG = pg_config |
| 17 |
PGXS := $(shell $(PG_CONFIG) --pgxs) |
| 18 |
include $(PGXS) |
| 19 |
else |
| 20 |
subdir = contrib/passwordcheck |
| 21 |
top_builddir = ../.. |
| 22 |
include $(top_builddir)/src/Makefile.global |
| 23 |
include $(top_srcdir)/contrib/contrib-global.mk |
| 24 |
endif |