xref: /freebsd/crypto/krb5/src/config/pre.in (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1*7f2fe78bSCy Schubert############################################################
2*7f2fe78bSCy Schubert## config/pre.in
3*7f2fe78bSCy Schubert## common prefix for all Makefile.in in the Kerberos V5 tree.
4*7f2fe78bSCy Schubert##
5*7f2fe78bSCy Schubert
6*7f2fe78bSCy Schubert# These are set per-directory by autoconf 2.52 and 2.53:
7*7f2fe78bSCy Schubert#  srcdir=@srcdir@
8*7f2fe78bSCy Schubert#  top_srcdir=@top_srcdir@
9*7f2fe78bSCy Schubert# but these are only set by autoconf 2.53, and thus not useful to us on
10*7f2fe78bSCy Schubert# macOS yet (as of 10.2):
11*7f2fe78bSCy Schubert#  abs_srcdir=@abs_srcdir@
12*7f2fe78bSCy Schubert#  abs_top_srcdir=@abs_top_srcdir@
13*7f2fe78bSCy Schubert#  builddir=@builddir@
14*7f2fe78bSCy Schubert#  abs_builddir=@abs_builddir@
15*7f2fe78bSCy Schubert#  top_builddir=@top_builddir@
16*7f2fe78bSCy Schubert#  abs_top_builddir=@abs_top_builddir@
17*7f2fe78bSCy Schubert# The "top" variables refer to the directory with the configure (or
18*7f2fe78bSCy Schubert# config.status) script.
19*7f2fe78bSCy Schubert
20*7f2fe78bSCy SchubertWHAT = unix
21*7f2fe78bSCy SchubertSHELL=/bin/sh
22*7f2fe78bSCy Schubert
23*7f2fe78bSCy Schubertall: all-$(WHAT)
24*7f2fe78bSCy Schubert
25*7f2fe78bSCy Schubertclean: clean-$(WHAT)
26*7f2fe78bSCy Schubert
27*7f2fe78bSCy Schubertdistclean: distclean-$(WHAT)
28*7f2fe78bSCy Schubert
29*7f2fe78bSCy Schubertinstall: install-$(WHAT)
30*7f2fe78bSCy Schubert
31*7f2fe78bSCy Schubertcheck: check-$(WHAT)
32*7f2fe78bSCy Schubert
33*7f2fe78bSCy Schubertinstall-headers: install-headers-$(WHAT)
34*7f2fe78bSCy Schubert
35*7f2fe78bSCy Schubert##############################
36*7f2fe78bSCy Schubert# Recursion rule support
37*7f2fe78bSCy Schubert#
38*7f2fe78bSCy Schubert
39*7f2fe78bSCy Schubert# The commands for the recursion targets live in config/post.in.
40*7f2fe78bSCy Schubert#
41*7f2fe78bSCy Schubert# General form of recursion rules:
42*7f2fe78bSCy Schubert#
43*7f2fe78bSCy Schubert# Each recursive target foo-unix has related targets: foo-prerecurse,
44*7f2fe78bSCy Schubert# foo-recurse, and foo-postrecurse
45*7f2fe78bSCy Schubert#
46*7f2fe78bSCy Schubert# The foo-recurse rule is in post.in.  It is what actually recursively
47*7f2fe78bSCy Schubert# calls make.
48*7f2fe78bSCy Schubert#
49*7f2fe78bSCy Schubert# foo-recurse depends on foo-prerecurse, so any targets that must be
50*7f2fe78bSCy Schubert# built before descending into subdirectories must be dependencies of
51*7f2fe78bSCy Schubert# foo-prerecurse.
52*7f2fe78bSCy Schubert#
53*7f2fe78bSCy Schubert# foo-postrecurse depends on foo-recurse, but targets that must be
54*7f2fe78bSCy Schubert# built after descending into subdirectories should be have
55*7f2fe78bSCy Schubert# foo-recurse as dependencies in addition to being listed under
56*7f2fe78bSCy Schubert# foo-postrecurse, to avoid ordering issues.
57*7f2fe78bSCy Schubert#
58*7f2fe78bSCy Schubert# The foo-prerecurse, foo-recurse, and foo-postrecurse rules are all
59*7f2fe78bSCy Schubert# single-colon rules, to avoid nasty ordering problems with
60*7f2fe78bSCy Schubert# double-colon rules.
61*7f2fe78bSCy Schubert#
62*7f2fe78bSCy Schubert# e.g.
63*7f2fe78bSCy Schubert# all: includes foo
64*7f2fe78bSCy Schubert# foo:
65*7f2fe78bSCy Schubert#	echo foo
66*7f2fe78bSCy Schubert# includes:
67*7f2fe78bSCy Schubert#	echo bar
68*7f2fe78bSCy Schubert# includes:
69*7f2fe78bSCy Schubert#	echo baz
70*7f2fe78bSCy Schubert#
71*7f2fe78bSCy Schubert# will result in "bar", "foo", "baz" on AIX, and possibly others.
72*7f2fe78bSCy Schubertall-unix: all-postrecurse
73*7f2fe78bSCy Schubertall-postrecurse: all-recurse
74*7f2fe78bSCy Schubertall-recurse: all-prerecurse
75*7f2fe78bSCy Schubert
76*7f2fe78bSCy Schubertall-prerecurse:
77*7f2fe78bSCy Schubertall-postrecurse:
78*7f2fe78bSCy Schubert
79*7f2fe78bSCy Schubertclean-unix:: clean-postrecurse
80*7f2fe78bSCy Schubertclean-postrecurse: clean-recurse
81*7f2fe78bSCy Schubertclean-recurse: clean-prerecurse
82*7f2fe78bSCy Schubert
83*7f2fe78bSCy Schubertclean-prerecurse:
84*7f2fe78bSCy Schubertclean-postrecurse:
85*7f2fe78bSCy Schubert
86*7f2fe78bSCy Schubertdistclean-unix: distclean-postrecurse
87*7f2fe78bSCy Schubertdistclean-postrecurse: distclean-recurse
88*7f2fe78bSCy Schubertdistclean-recurse: distclean-prerecurse
89*7f2fe78bSCy Schubert
90*7f2fe78bSCy Schubertdistclean-prerecurse:
91*7f2fe78bSCy Schubertdistclean-postrecurse:
92*7f2fe78bSCy Schubert
93*7f2fe78bSCy Schubertinstall-unix: install-postrecurse
94*7f2fe78bSCy Schubertinstall-postrecurse: install-recurse
95*7f2fe78bSCy Schubertinstall-recurse: install-prerecurse
96*7f2fe78bSCy Schubert
97*7f2fe78bSCy Schubertinstall-prerecurse:
98*7f2fe78bSCy Schubertinstall-postrecurse:
99*7f2fe78bSCy Schubert
100*7f2fe78bSCy Schubertinstall-headers-unix: install-headers-postrecurse
101*7f2fe78bSCy Schubertinstall-headers-postrecurse: install-headers-recurse
102*7f2fe78bSCy Schubertinstall-headers-recurse: install-headers-prerecurse
103*7f2fe78bSCy Schubert
104*7f2fe78bSCy Schubertinstall-headers-prerecurse:
105*7f2fe78bSCy Schubertinstall-headers-postrecurse:
106*7f2fe78bSCy Schubert
107*7f2fe78bSCy Schubertcheck-unix: check-postrecurse
108*7f2fe78bSCy Schubertcheck-postrecurse: check-recurse
109*7f2fe78bSCy Schubertcheck-recurse: check-prerecurse
110*7f2fe78bSCy Schubert
111*7f2fe78bSCy Schubertcheck-prerecurse:
112*7f2fe78bSCy Schubertcheck-postrecurse:
113*7f2fe78bSCy Schubert
114*7f2fe78bSCy SchubertMakefiles: Makefiles-postrecurse
115*7f2fe78bSCy SchubertMakefiles-postrecurse: Makefiles-recurse
116*7f2fe78bSCy SchubertMakefiles-recurse: Makefiles-prerecurse
117*7f2fe78bSCy Schubert
118*7f2fe78bSCy SchubertMakefiles-prerecurse:
119*7f2fe78bSCy SchubertMakefiles-postrecurse:
120*7f2fe78bSCy Schubert
121*7f2fe78bSCy Schubertgenerate-files-mac: generate-files-mac-postrecurse
122*7f2fe78bSCy Schubertgenerate-files-mac-postrecurse: generate-files-mac-recurse
123*7f2fe78bSCy Schubertgenerate-files-mac-recurse: generate-files-mac-prerecurse
124*7f2fe78bSCy Schubertgenerate-files-mac-prerecurse:
125*7f2fe78bSCy Schubert
126*7f2fe78bSCy Schubert#
127*7f2fe78bSCy Schubert# end recursion rule support
128*7f2fe78bSCy Schubert##############################
129*7f2fe78bSCy Schubert
130*7f2fe78bSCy Schubert# Directory syntax:
131*7f2fe78bSCy Schubert#
132*7f2fe78bSCy Schubert# begin relative path
133*7f2fe78bSCy SchubertREL=
134*7f2fe78bSCy Schubert# this is magic... should only be used for preceding a program invocation
135*7f2fe78bSCy SchubertC=./
136*7f2fe78bSCy Schubert# "/" for UNIX, "\" for Windows; *sigh*
137*7f2fe78bSCy SchubertS=/
138*7f2fe78bSCy Schubert
139*7f2fe78bSCy Schubert#
140*7f2fe78bSCy Schubertsrcdir = @srcdir@
141*7f2fe78bSCy Schuberttop_srcdir = @top_srcdir@
142*7f2fe78bSCy SchubertVPATH = @srcdir@
143*7f2fe78bSCy SchubertCONFIG_RELTOPDIR = @CONFIG_RELTOPDIR@
144*7f2fe78bSCy Schubert
145*7f2fe78bSCy Schubert# DEFS		set by configure
146*7f2fe78bSCy Schubert# DEFINES	set by local Makefile.in
147*7f2fe78bSCy Schubert# LOCALINCLUDES	set by local Makefile.in
148*7f2fe78bSCy Schubert# CPPFLAGS	user override
149*7f2fe78bSCy Schubert# CFLAGS	user override but starts off set by configure
150*7f2fe78bSCy Schubert# WARN_CFLAGS	user override but starts off set by configure
151*7f2fe78bSCy Schubert# PTHREAD_CFLAGS set by configure, not included in CFLAGS so that we
152*7f2fe78bSCy Schubert#		don't pull the pthreads library into shared libraries
153*7f2fe78bSCy Schubert# ASAN_FLAGS    set by configure when --enable-asan is used
154*7f2fe78bSCy SchubertALL_CFLAGS = $(DEFS) $(DEFINES) $(KRB_INCLUDES) $(LOCALINCLUDES) \
155*7f2fe78bSCy Schubert	-DKRB5_DEPRECATED=1 \
156*7f2fe78bSCy Schubert	-DKRB5_PRIVATE \
157*7f2fe78bSCy Schubert	$(CPPFLAGS) $(CFLAGS) $(WARN_CFLAGS) $(PTHREAD_CFLAGS) $(ASAN_FLAGS)
158*7f2fe78bSCy SchubertALL_CXXFLAGS = $(DEFS) $(DEFINES) $(KRB_INCLUDES) $(LOCALINCLUDES) \
159*7f2fe78bSCy Schubert	-DKRB5_DEPRECATED=1 \
160*7f2fe78bSCy Schubert	-DKRB5_PRIVATE \
161*7f2fe78bSCy Schubert	$(CPPFLAGS) $(CXXFLAGS) $(WARN_CXXFLAGS) $(PTHREAD_CFLAGS) \
162*7f2fe78bSCy Schubert	$(ASAN_FLAGS)
163*7f2fe78bSCy Schubert
164*7f2fe78bSCy SchubertCFLAGS = @CFLAGS@
165*7f2fe78bSCy SchubertCXXFLAGS = @CXXFLAGS@
166*7f2fe78bSCy SchubertWARN_CFLAGS = @WARN_CFLAGS@
167*7f2fe78bSCy SchubertWARN_CXXFLAGS = @WARN_CXXFLAGS@
168*7f2fe78bSCy SchubertASAN_FLAGS = @ASAN_FLAGS@
169*7f2fe78bSCy SchubertPTHREAD_CFLAGS = @PTHREAD_CFLAGS@
170*7f2fe78bSCy SchubertPTHREAD_LIBS = @PTHREAD_LIBS@
171*7f2fe78bSCy SchubertTHREAD_LINKOPTS = $(PTHREAD_CFLAGS) $(PTHREAD_LIBS)
172*7f2fe78bSCy SchubertCPPFLAGS = @CPPFLAGS@
173*7f2fe78bSCy SchubertDEFS = @DEFS@
174*7f2fe78bSCy SchubertCC = @CC@
175*7f2fe78bSCy SchubertCXX = @CXX@
176*7f2fe78bSCy SchubertLD = $(PURE) @LD@
177*7f2fe78bSCy SchubertKRB_INCLUDES = -I$(BUILDTOP)/include -I$(top_srcdir)/include
178*7f2fe78bSCy SchubertLDFLAGS = @LDFLAGS@
179*7f2fe78bSCy SchubertLIBS = @LIBS@
180*7f2fe78bSCy Schubert
181*7f2fe78bSCy SchubertINSTALL=@INSTALL@
182*7f2fe78bSCy SchubertINSTALL_STRIP=
183*7f2fe78bSCy SchubertINSTALL_PROGRAM=@INSTALL_PROGRAM@ $(INSTALL_STRIP)
184*7f2fe78bSCy SchubertINSTALL_SCRIPT=@INSTALL_PROGRAM@
185*7f2fe78bSCy SchubertINSTALL_DATA=@INSTALL_DATA@
186*7f2fe78bSCy SchubertINSTALL_SHLIB=@INSTALL_SHLIB@
187*7f2fe78bSCy SchubertINSTALL_SETUID=$(INSTALL) $(INSTALL_STRIP) -m 4755 -o root
188*7f2fe78bSCy Schubert## This is needed because autoconf will sometimes define @exec_prefix@ to be
189*7f2fe78bSCy Schubert## ${prefix}.
190*7f2fe78bSCy Schubertprefix=@prefix@
191*7f2fe78bSCy SchubertINSTALL_PREFIX=$(prefix)
192*7f2fe78bSCy SchubertINSTALL_EXEC_PREFIX=@exec_prefix@
193*7f2fe78bSCy Schubertexec_prefix=@exec_prefix@
194*7f2fe78bSCy Schubertdatarootdir=@datarootdir@
195*7f2fe78bSCy Schubertlocalstatedir=@localstatedir@
196*7f2fe78bSCy Schubertrunstatedir=@runstatedir@
197*7f2fe78bSCy Schubertdatadir = @datadir@
198*7f2fe78bSCy SchubertEXAMPLEDIR = $(datadir)/examples/krb5
199*7f2fe78bSCy Schubert
200*7f2fe78bSCy SchubertKRB5MANROOT = @mandir@
201*7f2fe78bSCy SchubertADMIN_BINDIR = @sbindir@
202*7f2fe78bSCy SchubertSERVER_BINDIR = @sbindir@
203*7f2fe78bSCy SchubertCLIENT_BINDIR =@bindir@
204*7f2fe78bSCy SchubertPKGCONFIG_DIR = @libdir@/pkgconfig
205*7f2fe78bSCy SchubertADMIN_MANDIR = $(KRB5MANROOT)/man8
206*7f2fe78bSCy SchubertSERVER_MANDIR = $(KRB5MANROOT)/man8
207*7f2fe78bSCy SchubertCLIENT_MANDIR = $(KRB5MANROOT)/man1
208*7f2fe78bSCy SchubertFILE_MANDIR = $(KRB5MANROOT)/man5
209*7f2fe78bSCy SchubertADMIN_CATDIR = $(KRB5MANROOT)/cat8
210*7f2fe78bSCy SchubertSERVER_CATDIR = $(KRB5MANROOT)/cat8
211*7f2fe78bSCy SchubertCLIENT_CATDIR = $(KRB5MANROOT)/cat1
212*7f2fe78bSCy SchubertFILE_CATDIR = $(KRB5MANROOT)/cat5
213*7f2fe78bSCy SchubertOVERVIEW_MANDIR = $(KRB5MANROOT)/man7
214*7f2fe78bSCy SchubertOVERVIEW_CATDIR = $(KRB5MANROOT)/cat7
215*7f2fe78bSCy SchubertKRB5_LIBDIR = @libdir@
216*7f2fe78bSCy SchubertKRB5_INCDIR = @includedir@
217*7f2fe78bSCy SchubertMODULE_DIR = @libdir@/krb5/plugins
218*7f2fe78bSCy SchubertKRB5_DB_MODULE_DIR = $(MODULE_DIR)/kdb
219*7f2fe78bSCy SchubertKRB5_PA_MODULE_DIR = $(MODULE_DIR)/preauth
220*7f2fe78bSCy SchubertKRB5_AD_MODULE_DIR = $(MODULE_DIR)/authdata
221*7f2fe78bSCy SchubertKRB5_LIBKRB5_MODULE_DIR = $(MODULE_DIR)/libkrb5
222*7f2fe78bSCy SchubertKRB5_TLS_MODULE_DIR = $(MODULE_DIR)/tls
223*7f2fe78bSCy SchubertKRB5_LOCALEDIR = @localedir@
224*7f2fe78bSCy SchubertGSS_MODULE_DIR = @libdir@/gss
225*7f2fe78bSCy SchubertKRB5_INCSUBDIRS = \
226*7f2fe78bSCy Schubert	$(KRB5_INCDIR)/kadm5 \
227*7f2fe78bSCy Schubert	$(KRB5_INCDIR)/krb5 \
228*7f2fe78bSCy Schubert	$(KRB5_INCDIR)/gssapi \
229*7f2fe78bSCy Schubert	$(KRB5_INCDIR)/gssrpc
230*7f2fe78bSCy Schubert
231*7f2fe78bSCy SchubertSKIPTESTS	= $(BUILDTOP)/skiptests
232*7f2fe78bSCy Schubert
233*7f2fe78bSCy SchubertRUNPYTEST	= PYTHONPATH=$(top_srcdir)/util VALGRIND="$(VALGRIND)" \
234*7f2fe78bSCy Schubert			$(PYTHON)
235*7f2fe78bSCy Schubert
236*7f2fe78bSCy Schubert
237*7f2fe78bSCy Schuberttransform = @program_transform_name@
238*7f2fe78bSCy Schubert
239*7f2fe78bSCy SchubertRM = rm -f
240*7f2fe78bSCy SchubertCP = cp
241*7f2fe78bSCy SchubertMV = mv -f
242*7f2fe78bSCy SchubertRANLIB = @RANLIB@
243*7f2fe78bSCy SchubertAWK = @AWK@
244*7f2fe78bSCy SchubertYACC = @YACC@
245*7f2fe78bSCy SchubertPERL = @PERL@
246*7f2fe78bSCy SchubertPYTHON = @PYTHON@
247*7f2fe78bSCy SchubertAUTOCONF = autoconf
248*7f2fe78bSCy SchubertAUTOCONFFLAGS =
249*7f2fe78bSCy SchubertAUTOHEADER = autoheader
250*7f2fe78bSCy SchubertAUTOHEADERFLAGS =
251*7f2fe78bSCy SchubertMOVEIFCHANGED = $(top_srcdir)/config/move-if-changed
252*7f2fe78bSCy Schubert
253*7f2fe78bSCy SchubertTOPLIBD = $(BUILDTOP)/lib
254*7f2fe78bSCy Schubert
255*7f2fe78bSCy SchubertOBJEXT = o
256*7f2fe78bSCy SchubertEXEEXT =
257*7f2fe78bSCy Schubert
258*7f2fe78bSCy Schubert#
259*7f2fe78bSCy Schubert# variables for libraries, for use in linking programs
260*7f2fe78bSCy Schubert# -- this may want to get broken out into a separate frag later
261*7f2fe78bSCy Schubert#
262*7f2fe78bSCy Schubert# invocation is like:
263*7f2fe78bSCy Schubert# prog: foo.o bar.o $(KRB5_BASE_DEPLIBS)
264*7f2fe78bSCy Schubert# 	$(CC_LINK) -o $@ foo.o bar.o $(KRB5_BASE_LIBS)
265*7f2fe78bSCy Schubert
266*7f2fe78bSCy SchubertCC_LINK=@CC_LINK@ $(ASAN_FLAGS)
267*7f2fe78bSCy SchubertCXX_LINK=@CXX_LINK@ $(ASAN_FLAGS)
268*7f2fe78bSCy Schubert
269*7f2fe78bSCy Schubert# Makefile.in files which build programs can override the list of
270*7f2fe78bSCy Schubert# directories to look for dependent libraries in (in the form -Ldir1
271*7f2fe78bSCy Schubert# -Ldir2 ...) and also the list of rpath directories to search (in the
272*7f2fe78bSCy Schubert# form dir1:dir2:...).
273*7f2fe78bSCy SchubertPROG_LIBPATH=-L$(TOPLIBD)
274*7f2fe78bSCy SchubertPROG_RPATH=$(KRB5_LIBDIR)
275*7f2fe78bSCy Schubert
276*7f2fe78bSCy Schubert# Library Makefile.in files can override this list of directories to
277*7f2fe78bSCy Schubert# look for dependent libraries in (in the form -Ldir1 -Ldir2 ...) and
278*7f2fe78bSCy Schubert# also the list of rpath directories to search (in the form
279*7f2fe78bSCy Schubert# dir1:dir2:...)
280*7f2fe78bSCy SchubertSHLIB_DIRS=-L$(TOPLIBD)
281*7f2fe78bSCy SchubertSHLIB_RDIRS=$(KRB5_LIBDIR)
282*7f2fe78bSCy Schubert
283*7f2fe78bSCy Schubert# Multi-directory library Makefile.in files should override this list
284*7f2fe78bSCy Schubert# of object files with the full list.
285*7f2fe78bSCy SchubertSTOBJLISTS=OBJS.ST
286*7f2fe78bSCy Schubert
287*7f2fe78bSCy Schubert# prefix (with no spaces after) for rpath flag to cc
288*7f2fe78bSCy SchubertRPATH_FLAG=@RPATH_FLAG@
289*7f2fe78bSCy Schubert
290*7f2fe78bSCy Schubert# link flags to add PROG_RPATH to the rpath
291*7f2fe78bSCy SchubertPROG_RPATH_FLAGS=@PROG_RPATH_FLAGS@
292*7f2fe78bSCy Schubert
293*7f2fe78bSCy Schubert# this gets set by configure to either $(STLIBEXT) or $(SHLIBEXT),
294*7f2fe78bSCy Schubert# depending on whether we're building with shared libraries.
295*7f2fe78bSCy SchubertDEPLIBEXT=@DEPLIBEXT@
296*7f2fe78bSCy Schubert
297*7f2fe78bSCy SchubertKDB5_PLUGIN_DEPLIBS = @KDB5_PLUGIN_DEPLIBS@
298*7f2fe78bSCy SchubertKDB5_PLUGIN_LIBS = @KDB5_PLUGIN_LIBS@
299*7f2fe78bSCy Schubert
300*7f2fe78bSCy SchubertKADMCLNT_DEPLIB	= $(TOPLIBD)/libkadm5clnt_mit$(DEPLIBEXT)
301*7f2fe78bSCy SchubertKADMSRV_DEPLIB	= $(TOPLIBD)/libkadm5srv_mit$(DEPLIBEXT)
302*7f2fe78bSCy SchubertKDB5_DEPLIB	= $(TOPLIBD)/libkdb5$(DEPLIBEXT)
303*7f2fe78bSCy SchubertGSSRPC_DEPLIB	= $(TOPLIBD)/libgssrpc$(DEPLIBEXT)
304*7f2fe78bSCy SchubertGSS_DEPLIB	= $(TOPLIBD)/libgssapi_krb5$(DEPLIBEXT)
305*7f2fe78bSCy SchubertKRB5_DEPLIB	= $(TOPLIBD)/libkrb5$(DEPLIBEXT)
306*7f2fe78bSCy SchubertCRYPTO_DEPLIB	= $(TOPLIBD)/libk5crypto$(DEPLIBEXT)
307*7f2fe78bSCy SchubertCOM_ERR_DEPLIB	= $(COM_ERR_DEPLIB-@COM_ERR_VERSION@)
308*7f2fe78bSCy SchubertCOM_ERR_DEPLIB-sys = # empty
309*7f2fe78bSCy SchubertCOM_ERR_DEPLIB-intlsys = # empty
310*7f2fe78bSCy SchubertCOM_ERR_DEPLIB-k5 = $(TOPLIBD)/libcom_err$(DEPLIBEXT)
311*7f2fe78bSCy SchubertCOM_ERR_LIB = @COM_ERR_LIB@
312*7f2fe78bSCy SchubertSUPPORT_LIBNAME=krb5support
313*7f2fe78bSCy SchubertSUPPORT_DEPLIB	= $(TOPLIBD)/lib$(SUPPORT_LIBNAME)$(DEPLIBEXT)
314*7f2fe78bSCy Schubert
315*7f2fe78bSCy Schubert# These are forced to use ".a" as an extension because they're never
316*7f2fe78bSCy Schubert# built shared.
317*7f2fe78bSCy SchubertSS_DEPLIB	= $(SS_DEPLIB-@SS_VERSION@)
318*7f2fe78bSCy SchubertSS_DEPLIB-k5	= $(TOPLIBD)/libss.a
319*7f2fe78bSCy SchubertSS_DEPLIB-sys	=
320*7f2fe78bSCy SchubertAPPUTILS_DEPLIB	= $(TOPLIBD)/libapputils.a
321*7f2fe78bSCy Schubert
322*7f2fe78bSCy SchubertKRB5_BASE_DEPLIBS	= $(KRB5_DEPLIB) $(CRYPTO_DEPLIB) $(COM_ERR_DEPLIB) $(SUPPORT_DEPLIB)
323*7f2fe78bSCy SchubertKDB5_DEPLIBS		= $(KDB5_DEPLIB) $(KDB5_PLUGIN_DEPLIBS)
324*7f2fe78bSCy SchubertGSS_DEPLIBS		= $(GSS_DEPLIB)
325*7f2fe78bSCy SchubertGSSRPC_DEPLIBS		= $(GSSRPC_DEPLIB) $(GSS_DEPLIBS)
326*7f2fe78bSCy SchubertKADM_COMM_DEPLIBS	= $(GSSRPC_DEPLIBS) $(KDB5_DEPLIBS) $(GSSRPC_DEPLIBS)
327*7f2fe78bSCy SchubertKADMSRV_DEPLIBS		= $(KADMSRV_DEPLIB) $(KDB5_DEPLIBS) $(KADM_COMM_DEPLIBS)
328*7f2fe78bSCy SchubertKADMCLNT_DEPLIBS	= $(KADMCLNT_DEPLIB) $(KADM_COMM_DEPLIBS)
329*7f2fe78bSCy Schubert
330*7f2fe78bSCy Schubert# Header file dependencies we might override.
331*7f2fe78bSCy Schubert# See util/depfix.sed.
332*7f2fe78bSCy Schubert# Also see depend-verify-* in post.in, which wants to confirm that we're using
333*7f2fe78bSCy Schubert# the in-tree versions.
334*7f2fe78bSCy SchubertCOM_ERR_VERSION = @COM_ERR_VERSION@
335*7f2fe78bSCy SchubertCOM_ERR_DEPS	= $(COM_ERR_DEPS-@COM_ERR_VERSION@)
336*7f2fe78bSCy SchubertCOM_ERR_DEPS-sys =
337*7f2fe78bSCy SchubertCOM_ERR_DEPS-intlsys =
338*7f2fe78bSCy SchubertCOM_ERR_DEPS-k5	= $(BUILDTOP)/include/com_err.h
339*7f2fe78bSCy SchubertSS_VERSION	= @SS_VERSION@
340*7f2fe78bSCy SchubertSS_DEPS		= $(SS_DEPS-@SS_VERSION@)
341*7f2fe78bSCy SchubertSS_DEPS-sys	=
342*7f2fe78bSCy SchubertSS_DEPS-k5	= $(BUILDTOP)/include/ss/ss.h $(BUILDTOP)/include/ss/ss_err.h
343*7f2fe78bSCy SchubertVERTO_VERSION	= @VERTO_VERSION@
344*7f2fe78bSCy SchubertVERTO_DEPS	= $(VERTO_DEPS-@VERTO_VERSION@)
345*7f2fe78bSCy SchubertVERTO_DEPS-sys	=
346*7f2fe78bSCy SchubertVERTO_DEPS-k5	= $(BUILDTOP)/include/verto.h
347*7f2fe78bSCy Schubert
348*7f2fe78bSCy Schubert# LIBS gets substituted in... e.g. -lnsl -lsocket
349*7f2fe78bSCy Schubert
350*7f2fe78bSCy Schubert# GEN_LIB is -lgen if needed for regexp
351*7f2fe78bSCy SchubertGEN_LIB		= @GEN_LIB@
352*7f2fe78bSCy Schubert
353*7f2fe78bSCy Schubert# Editline or readline flags and libraries.
354*7f2fe78bSCy SchubertRL_CFLAGS	= @RL_CFLAGS@
355*7f2fe78bSCy SchubertRL_LIBS		= @RL_LIBS@
356*7f2fe78bSCy Schubert
357*7f2fe78bSCy SchubertSS_LIB		= $(SS_LIB-@SS_VERSION@)
358*7f2fe78bSCy SchubertSS_LIB-sys	= @SS_LIB@
359*7f2fe78bSCy SchubertSS_LIB-k5	= $(TOPLIBD)/libss.a $(RL_LIBS)
360*7f2fe78bSCy SchubertKDB5_LIB	= -lkdb5 $(KDB5_PLUGIN_LIBS)
361*7f2fe78bSCy Schubert
362*7f2fe78bSCy SchubertVERTO_DEPLIB	= $(VERTO_DEPLIB-@VERTO_VERSION@)
363*7f2fe78bSCy SchubertVERTO_DEPLIB-sys = # empty
364*7f2fe78bSCy SchubertVERTO_DEPLIB-k5	= $(TOPLIBD)/libverto$(DEPLIBEXT)
365*7f2fe78bSCy SchubertVERTO_CFLAGS	= @VERTO_CFLAGS@
366*7f2fe78bSCy SchubertVERTO_LIBS	= @VERTO_LIBS@
367*7f2fe78bSCy Schubert
368*7f2fe78bSCy SchubertDL_LIB		= @DL_LIB@
369*7f2fe78bSCy Schubert
370*7f2fe78bSCy SchubertCMOCKA_LIBS	= @CMOCKA_LIBS@
371*7f2fe78bSCy SchubertLDAP_LIBS	= @LDAP_LIBS@
372*7f2fe78bSCy SchubertLMDB_LIBS	= @LMDB_LIBS@
373*7f2fe78bSCy Schubert
374*7f2fe78bSCy SchubertKRB5_LIB			= -lkrb5
375*7f2fe78bSCy SchubertK5CRYPTO_LIB			= -lk5crypto
376*7f2fe78bSCy SchubertGSS_KRB5_LIB			= -lgssapi_krb5
377*7f2fe78bSCy SchubertSUPPORT_LIB			= -l$(SUPPORT_LIBNAME)
378*7f2fe78bSCy Schubert
379*7f2fe78bSCy Schubert# HESIOD_LIBS is -lhesiod...
380*7f2fe78bSCy SchubertHESIOD_LIBS	= @HESIOD_LIBS@
381*7f2fe78bSCy Schubert
382*7f2fe78bSCy SchubertKRB5_BASE_LIBS	= $(KRB5_LIB) $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB) $(GEN_LIB) $(LIBS) $(DL_LIB)
383*7f2fe78bSCy SchubertKDB5_LIBS	= $(KDB5_LIB) $(GSSRPC_LIBS)
384*7f2fe78bSCy SchubertGSS_LIBS	= $(GSS_KRB5_LIB)
385*7f2fe78bSCy Schubert# needs fixing if ever used on macOS!
386*7f2fe78bSCy SchubertGSSRPC_LIBS	= -lgssrpc $(GSS_LIBS)
387*7f2fe78bSCy SchubertKADM_COMM_LIBS	= $(GSSRPC_LIBS)
388*7f2fe78bSCy Schubert# need fixing if ever used on macOS!
389*7f2fe78bSCy SchubertKADMSRV_LIBS	= -lkadm5srv_mit $(HESIOD_LIBS) $(KDB5_LIBS) $(KADM_COMM_LIBS)
390*7f2fe78bSCy SchubertKADMCLNT_LIBS	= -lkadm5clnt_mit $(KADM_COMM_LIBS)
391*7f2fe78bSCy Schubert
392*7f2fe78bSCy Schubert# Misc stuff for linking server programs (and maybe some others,
393*7f2fe78bSCy Schubert# eventually) but which we don't want to install.
394*7f2fe78bSCy SchubertAPPUTILS_LIB	= -lapputils
395*7f2fe78bSCy Schubert
396*7f2fe78bSCy Schubert# So test programs can find their libraries without "make install", etc.
397*7f2fe78bSCy SchubertRUN_SETUP=@KRB5_RUN_ENV@
398*7f2fe78bSCy SchubertRUN_VARS=@KRB5_RUN_VARS@
399*7f2fe78bSCy Schubert
400*7f2fe78bSCy Schubert# Appropriate command prefix for most C test programs: use libraries
401*7f2fe78bSCy Schubert# from the build tree, avoid referencing the installed krb5.conf and
402*7f2fe78bSCy Schubert# message catalog, and use valgrind when asked.
403*7f2fe78bSCy SchubertRUN_TEST=$(RUN_SETUP) KRB5_CONFIG=$(top_srcdir)/config-files/krb5.conf \
404*7f2fe78bSCy Schubert    LC_ALL=C $(VALGRIND)
405*7f2fe78bSCy Schubert
406*7f2fe78bSCy Schubert# libk5crypto dependencies
407*7f2fe78bSCy SchubertCRYPTO_IMPL_CFLAGS	= @CRYPTO_IMPL_CFLAGS@
408*7f2fe78bSCy SchubertCRYPTO_IMPL_LIBS	= @CRYPTO_IMPL_LIBS@
409*7f2fe78bSCy Schubert
410*7f2fe78bSCy Schubert# TLS implementation selection
411*7f2fe78bSCy SchubertTLS_IMPL	= @TLS_IMPL@
412*7f2fe78bSCy SchubertTLS_IMPL_CFLAGS = @TLS_IMPL_CFLAGS@
413*7f2fe78bSCy SchubertTLS_IMPL_LIBS	= @TLS_IMPL_LIBS@
414*7f2fe78bSCy Schubert
415*7f2fe78bSCy Schubert# SPAKE preauth back-end libraries
416*7f2fe78bSCy SchubertSPAKE_OPENSSL_LIBS = @SPAKE_OPENSSL_LIBS@
417*7f2fe78bSCy Schubert
418*7f2fe78bSCy Schubert# Whether we have the SASL header file for the LDAP KDB module
419*7f2fe78bSCy SchubertHAVE_SASL = @HAVE_SASL@
420*7f2fe78bSCy Schubert
421*7f2fe78bSCy Schubert# Whether we are building support for NIST SPAKE groups using OpenSSL
422*7f2fe78bSCy SchubertHAVE_SPAKE_OPENSSL = @HAVE_SPAKE_OPENSSL@
423*7f2fe78bSCy Schubert
424*7f2fe78bSCy Schubert# Whether we are building the LMDB KDB module
425*7f2fe78bSCy SchubertHAVE_LMDB = @HAVE_LMDB@
426*7f2fe78bSCy Schubert
427*7f2fe78bSCy Schubert# Whether we have libresolv 1.1.5 for URI discovery tests
428*7f2fe78bSCy SchubertHAVE_RESOLV_WRAPPER = @HAVE_RESOLV_WRAPPER@
429*7f2fe78bSCy Schubert
430*7f2fe78bSCy SchubertSIZEOF_TIME_T = @SIZEOF_TIME_T@
431*7f2fe78bSCy Schubert
432*7f2fe78bSCy Schubert# error table rules
433*7f2fe78bSCy Schubert#
434*7f2fe78bSCy Schubert### /* these are invoked as $(...) foo.et, which works, but could be better */
435*7f2fe78bSCy SchubertCOMPILE_ET= $(COMPILE_ET-@COM_ERR_VERSION@)
436*7f2fe78bSCy SchubertCOMPILE_ET-sys= compile_et
437*7f2fe78bSCy SchubertCOMPILE_ET-intlsys= compile_et --textdomain mit-krb5
438*7f2fe78bSCy SchubertCOMPILE_ET-k5= $(BUILDTOP)/util/et/compile_et -d $(top_srcdir)/util/et \
439*7f2fe78bSCy Schubert	--textdomain mit-krb5
440*7f2fe78bSCy Schubert
441*7f2fe78bSCy Schubert.SUFFIXES:  .h .c .et .ct
442*7f2fe78bSCy Schubert
443*7f2fe78bSCy Schubert# These versions cause both .c and .h files to be generated at once.
444*7f2fe78bSCy Schubert# But GNU make doesn't understand this, and parallel builds can trigger
445*7f2fe78bSCy Schubert# both of them at once, causing them to stomp on each other.  The versions
446*7f2fe78bSCy Schubert# below only update one of the files, so compile_et has to get run twice,
447*7f2fe78bSCy Schubert# but it won't break parallel builds.
448*7f2fe78bSCy Schubert#.et.h: ; $(COMPILE_ET) $<
449*7f2fe78bSCy Schubert#.et.c: ; $(COMPILE_ET) $<
450*7f2fe78bSCy Schubert
451*7f2fe78bSCy Schubert.et.h:
452*7f2fe78bSCy Schubert	$(RM) et-h-$*.et et-h-$*.c et-h-$*.h
453*7f2fe78bSCy Schubert	$(CP) $< et-h-$*.et
454*7f2fe78bSCy Schubert	$(COMPILE_ET) et-h-$*.et
455*7f2fe78bSCy Schubert	$(MV) et-h-$*.h $*.h
456*7f2fe78bSCy Schubert	$(RM) et-h-$*.et et-h-$*.c
457*7f2fe78bSCy Schubert.et.c:
458*7f2fe78bSCy Schubert	$(RM) et-c-$*.et et-c-$*.c et-c-$*.h
459*7f2fe78bSCy Schubert	$(CP) $< et-c-$*.et
460*7f2fe78bSCy Schubert	$(COMPILE_ET) et-c-$*.et
461*7f2fe78bSCy Schubert	$(MV) et-c-$*.c $*.c
462*7f2fe78bSCy Schubert	$(RM) et-c-$*.et et-c-$*.h
463*7f2fe78bSCy Schubert
464*7f2fe78bSCy Schubert# rule to make object files
465*7f2fe78bSCy Schubert#
466*7f2fe78bSCy Schubert.SUFFIXES: .cpp .c .o
467*7f2fe78bSCy Schubert.c.o:
468*7f2fe78bSCy Schubert	$(CC) $(ALL_CFLAGS) -c $<
469*7f2fe78bSCy Schubert# Use .cpp because that's what autoconf uses in its test.
470*7f2fe78bSCy Schubert# If the compiler doesn't accept a .cpp suffix here, it wouldn't
471*7f2fe78bSCy Schubert# have accepted it when autoconf tested it.
472*7f2fe78bSCy Schubert.cpp.o:
473*7f2fe78bSCy Schubert	$(CXX) $(ALL_CXXFLAGS) -c $<
474*7f2fe78bSCy Schubert
475*7f2fe78bSCy Schubert# ss command table rules
476*7f2fe78bSCy Schubert#
477*7f2fe78bSCy SchubertMAKE_COMMANDS= $(MAKE_COMMANDS-@SS_VERSION@)
478*7f2fe78bSCy SchubertMAKE_COMMANDS-sys= mk_cmds
479*7f2fe78bSCy SchubertMAKE_COMMANDS-k5= $(BUILDTOP)/util/ss/mk_cmds
480*7f2fe78bSCy Schubert
481*7f2fe78bSCy Schubert.ct.c:
482*7f2fe78bSCy Schubert	$(MAKE_COMMANDS) $<
483*7f2fe78bSCy Schubert
484*7f2fe78bSCy Schubert## Parameters to be set by configure for use in lib.in:
485*7f2fe78bSCy Schubert##
486*7f2fe78bSCy Schubert#
487*7f2fe78bSCy Schubert# These settings are for building shared libraries only.  Including
488*7f2fe78bSCy Schubert# libpriv.in will override with values appropriate for static
489*7f2fe78bSCy Schubert# libraries that we don't install.  Some values will depend on whether
490*7f2fe78bSCy Schubert# the platform supports major and minor version number extensions on
491*7f2fe78bSCy Schubert# shared libraries, hence the FOO_@@ settings.
492*7f2fe78bSCy Schubert
493*7f2fe78bSCy SchubertLN_S=@LN_S@
494*7f2fe78bSCy SchubertAR=@AR@
495*7f2fe78bSCy Schubert
496*7f2fe78bSCy Schubert# Set to "lib$(LIBBASE)$(STLIBEXT) lib$(LIBBASE)$(SHLIBEXT)" or some
497*7f2fe78bSCy Schubert# subset thereof by configure; determines which types of libs get
498*7f2fe78bSCy Schubert# built.
499*7f2fe78bSCy SchubertLIBLIST=@LIBLIST@
500*7f2fe78bSCy Schubert
501*7f2fe78bSCy Schubert# Set by configure; list of library symlinks to make to $(TOPLIBD)
502*7f2fe78bSCy SchubertLIBLINKS=@LIBLINKS@
503*7f2fe78bSCy Schubert
504*7f2fe78bSCy Schubert# Set by configure; name of plugin module to build (libfoo.a or foo.so)
505*7f2fe78bSCy SchubertPLUGIN=@PLUGIN@
506*7f2fe78bSCy Schubert
507*7f2fe78bSCy Schubert# Set by configure; symlink for plugin module for static plugin linking
508*7f2fe78bSCy SchubertPLUGINLINK=@PLUGINLINK@
509*7f2fe78bSCy Schubert
510*7f2fe78bSCy Schubert# Set by configure; list of install targets for libraries
511*7f2fe78bSCy SchubertLIBINSTLIST=@LIBINSTLIST@
512*7f2fe78bSCy Schubert
513*7f2fe78bSCy Schubert# Set by configure; install target
514*7f2fe78bSCy SchubertPLUGININST=@PLUGININST@
515*7f2fe78bSCy Schubert
516*7f2fe78bSCy Schubert# Some of these should really move to pre.in, since programs will need
517*7f2fe78bSCy Schubert# it too. (e.g. stuff that has dependencies on the libraries)
518*7f2fe78bSCy Schubert
519*7f2fe78bSCy Schubert# usually .a
520*7f2fe78bSCy SchubertSTLIBEXT=@STLIBEXT@
521*7f2fe78bSCy Schubert
522*7f2fe78bSCy Schubert# usually .so.$(LIBMAJOR).$(LIBMINOR)
523*7f2fe78bSCy SchubertSHLIBVEXT=@SHLIBVEXT@
524*7f2fe78bSCy Schubert
525*7f2fe78bSCy Schubert# usually .so.$(LIBMAJOR) (to allow for major-version compat)
526*7f2fe78bSCy SchubertSHLIBSEXT=@SHLIBSEXT@
527*7f2fe78bSCy Schubert
528*7f2fe78bSCy Schubert# usually .so
529*7f2fe78bSCy SchubertSHLIBEXT=@SHLIBEXT@
530*7f2fe78bSCy Schubert
531*7f2fe78bSCy Schubert# usually _p.a
532*7f2fe78bSCy SchubertPFLIBEXT=@PFLIBEXT@
533*7f2fe78bSCy Schubert
534*7f2fe78bSCy Schubert#
535*7f2fe78bSCy SchubertDYNOBJEXT=@DYNOBJEXT@
536*7f2fe78bSCy SchubertMAKE_DYNOBJ_COMMAND=@MAKE_DYNOBJ_COMMAND@
537*7f2fe78bSCy SchubertDYNOBJ_EXPDEPS=@DYNOBJ_EXPDEPS@
538*7f2fe78bSCy SchubertDYNOBJ_EXPFLAGS=@DYNOBJ_EXPFLAGS@
539*7f2fe78bSCy Schubert
540*7f2fe78bSCy Schubert# For some platforms, a flag which causes shared library creation to
541*7f2fe78bSCy Schubert# check for undefined symbols.  Suppressed when using --enable-asan.
542*7f2fe78bSCy SchubertUNDEF_CHECK=@UNDEF_CHECK@
543*7f2fe78bSCy Schubert
544*7f2fe78bSCy Schubert# File with symbol names to be exported, both functions and data,
545*7f2fe78bSCy Schubert# currently not distinguished.
546*7f2fe78bSCy SchubertSHLIB_EXPORT_FILE=$(srcdir)/$(LIBPREFIX)$(LIBBASE).exports
547*7f2fe78bSCy Schubert
548*7f2fe78bSCy Schubert# File that needs to be current for building the shared library,
549*7f2fe78bSCy Schubert# usually SHLIB_EXPORT_FILE, but not always, if we have to convert
550*7f2fe78bSCy Schubert# it to another, intermediate form for the linker.
551*7f2fe78bSCy SchubertSHLIB_EXPORT_FILE_DEP=@SHLIB_EXPORT_FILE_DEP@
552*7f2fe78bSCy Schubert
553*7f2fe78bSCy Schubert# Export file checker to run when building in maintainer mode on
554*7f2fe78bSCy Schubert# Linux.  This gets included in LDCOMBINE_TAIL.
555*7f2fe78bSCy SchubertEXPORT_CHECK_CMD = && $(PERL) -w $(top_srcdir)/util/export-check.pl \
556*7f2fe78bSCy Schubert	$(SHLIB_EXPORT_FILE) $@
557*7f2fe78bSCy SchubertEXPORT_CHECK = @MAINT@ $(EXPORT_CHECK_CMD)
558*7f2fe78bSCy Schubert
559*7f2fe78bSCy Schubert# Command to run to build a shared library.
560*7f2fe78bSCy Schubert# In systems that require multiple commands, like AIX, it may need
561*7f2fe78bSCy Schubert# to change to rearrange where the various parameters fit in.
562*7f2fe78bSCy SchubertMAKE_SHLIB_COMMAND=@MAKE_SHLIB_COMMAND@
563*7f2fe78bSCy Schubert
564*7f2fe78bSCy Schubert# run path flags for explicit libraries depending on this one,
565*7f2fe78bSCy Schubert# e.g. "-R$(SHLIB_RPATH)"
566*7f2fe78bSCy SchubertSHLIB_RPATH_FLAGS=@SHLIB_RPATH_FLAGS@
567*7f2fe78bSCy Schubert
568*7f2fe78bSCy Schubert# flags for explicit libraries depending on this one,
569*7f2fe78bSCy Schubert# e.g. "$(SHLIB_RPATH_FLAGS) $(SHLIB_SHLIB_DIRFLAGS) $(SHLIB_EXPLIBS)"
570*7f2fe78bSCy SchubertSHLIB_EXPFLAGS=@SHLIB_EXPFLAGS@
571*7f2fe78bSCy Schubert
572*7f2fe78bSCy Schubert## Parameters to be set by configure for use in libobj.in:
573*7f2fe78bSCy Schubert
574*7f2fe78bSCy Schubert# Set to "OBJS.ST OBJS.SH OBJS.PF" or some subset thereof by
575*7f2fe78bSCy Schubert# configure; determines which types of object files get built.
576*7f2fe78bSCy SchubertOBJLISTS=@OBJLISTS@
577*7f2fe78bSCy Schubert
578*7f2fe78bSCy Schubert# Note that $(LIBSRCS) *cannot* contain any variable references, or
579*7f2fe78bSCy Schubert# the suffix substitution will break on some platforms!
580*7f2fe78bSCy SchubertSHLIBOBJS=$(STLIBOBJS:.o=@SHOBJEXT@)
581*7f2fe78bSCy SchubertPFLIBOBJS=$(STLIBOBJS:.o=@PFOBJEXT@)
582*7f2fe78bSCy Schubert
583*7f2fe78bSCy Schubert#
584*7f2fe78bSCy Schubert# rules to make various types of object files
585*7f2fe78bSCy Schubert#
586*7f2fe78bSCy SchubertPICFLAGS=@PICFLAGS@
587*7f2fe78bSCy SchubertPROFFLAGS=@PROFFLAGS@
588*7f2fe78bSCy Schubert
589*7f2fe78bSCy Schubert# platform-dependent temporary files that should get cleaned up
590*7f2fe78bSCy SchubertEXTRA_FILES=@EXTRA_FILES@
591*7f2fe78bSCy Schubert
592*7f2fe78bSCy SchubertVALGRIND=
593*7f2fe78bSCy Schubert# Need absolute paths here because under kshd or ftpd we may run programs
594*7f2fe78bSCy Schubert# while in other directories.
595*7f2fe78bSCy SchubertVALGRIND_LOGDIR = `cd $(BUILDTOP)&&pwd`
596*7f2fe78bSCy SchubertVALGRIND1 = valgrind --tool=memcheck --log-file=$(VALGRIND_LOGDIR)/vg.%p --trace-children=yes --leak-check=yes --suppressions=`cd $(top_srcdir)&&pwd`/util/valgrind-suppressions
597*7f2fe78bSCy Schubert
598*7f2fe78bSCy Schubert# Set OFFLINE=yes to disable tests that assume network connectivity.
599*7f2fe78bSCy Schubert# (Specifically, this concerns the ability to fetch DNS data for
600*7f2fe78bSCy Schubert# mit.edu, to verify that SRV queries are working.)  Note that other
601*7f2fe78bSCy Schubert# tests still assume that the local hostname can be resolved into
602*7f2fe78bSCy Schubert# something that looks like an FQDN, with an IPv4 address.
603*7f2fe78bSCy SchubertOFFLINE=no
604*7f2fe78bSCy Schubert
605*7f2fe78bSCy Schubert# Used when running Python tests.
606*7f2fe78bSCy SchubertPYTESTFLAGS=
607*7f2fe78bSCy Schubert
608*7f2fe78bSCy Schubert##
609*7f2fe78bSCy Schubert## end of pre.in
610*7f2fe78bSCy Schubert############################################################
611