mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
This changes the use of a custom configuration file to enforce the value
of preload_shared_libraries to simply load the library during the tests.
This removes the restriction of running installcheck on the tests, and
simplifies its makefile contrary to what has been introduced in af7211e
.
Author: Michael Paquier <michael.paquier@gmail.com>
23 lines
595 B
Makefile
23 lines
595 B
Makefile
# contrib/passwordcheck/Makefile
|
|
|
|
MODULE_big = passwordcheck
|
|
OBJS = passwordcheck.o $(WIN32RES)
|
|
PGFILEDESC = "passwordcheck - strengthen user password checks"
|
|
|
|
# uncomment the following two lines to enable cracklib support
|
|
# PG_CPPFLAGS = -DUSE_CRACKLIB '-DCRACKLIB_DICTPATH="/usr/lib/cracklib_dict"'
|
|
# SHLIB_LINK = -lcrack
|
|
|
|
REGRESS = passwordcheck
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/passwordcheck
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|