Clean up more stuff in make clean
[krb5.git] / src / config / pre.in
1 ############################################################
2 ## config/pre.in
3 ## common prefix for all Makefile.in in the Kerberos V5 tree.
4 ##
5
6 # These are set per-directory by autoconf 2.52 and 2.53:
7 #  srcdir=@srcdir@
8 #  top_srcdir=@top_srcdir@
9 # but these are only set by autoconf 2.53, and thus not useful to us on
10 # Mac OS X yet (as of 10.2):
11 #  abs_srcdir=@abs_srcdir@
12 #  abs_top_srcdir=@abs_top_srcdir@
13 #  builddir=@builddir@
14 #  abs_builddir=@abs_builddir@
15 #  top_builddir=@top_builddir@
16 #  abs_top_builddir=@abs_top_builddir@
17 # The "top" variables refer to the directory with the configure (or
18 # config.status) script.
19
20 WHAT = unix
21 SHELL=/bin/sh
22
23 all:: all-$(WHAT)
24
25 clean:: clean-$(WHAT)
26
27 distclean:: distclean-$(WHAT)
28
29 install:: install-$(WHAT)
30
31 check:: check-$(WHAT)
32
33 install-headers:: install-headers-$(WHAT)
34
35 ##############################
36 # Recursion rule support
37 #
38
39 # The commands for the recursion targets live in config/post.in.
40 #
41 # General form of recursion rules:
42 #
43 # Each recursive target foo-unix has related targets: foo-prerecurse,
44 # foo-recurse, and foo-postrecurse
45 #
46 # The foo-recurse rule is in post.in.  It is what actually recursively
47 # calls make.
48 #
49 # foo-recurse depends on foo-prerecurse, so any targets that must be
50 # built before descending into subdirectories must be dependencies of
51 # foo-prerecurse.
52 #
53 # foo-postrecurse depends on foo-recurse, but targets that must be
54 # built after descending into subdirectories should be have
55 # foo-recurse as dependencies in addition to being listed under
56 # foo-postrecurse, to avoid ordering issues.
57 #
58 # The foo-prerecurse, foo-recurse, and foo-postrecurse rules are all
59 # single-colon rules, to avoid nasty ordering problems with
60 # double-colon rules.
61 #
62 # e.g.
63 # all:: includes foo
64 # foo:
65 #       echo foo
66 # includes::
67 #       echo bar
68 # includes::
69 #       echo baz
70 #
71 # will result in "bar", "foo", "baz" on AIX, and possibly others.
72 all-unix:: all-postrecurse
73 all-postrecurse: all-recurse
74 all-recurse: all-prerecurse
75
76 all-prerecurse:
77 all-postrecurse:
78
79 clean-unix:: clean-postrecurse
80 clean-postrecurse: clean-recurse
81 clean-recurse: clean-prerecurse
82
83 clean-prerecurse:
84 clean-postrecurse:
85
86 distclean-unix: distclean-postrecurse
87 distclean-postrecurse: distclean-recurse
88 distclean-recurse: distclean-prerecurse
89
90 distclean-prerecurse:
91 distclean-postrecurse:
92
93 install-unix:: install-postrecurse
94 install-postrecurse: install-recurse
95 install-recurse: install-prerecurse
96
97 install-prerecurse:
98 install-postrecurse:
99
100 install-headers-unix:: install-headers-postrecurse
101 install-headers-postrecurse: install-headers-recurse
102 install-headers-recurse: install-headers-prerecurse
103
104 install-headers-prerecurse:
105 install-headers-postrecurse:
106
107 check-unix:: check-postrecurse
108 check-postrecurse: check-recurse
109 check-recurse: check-prerecurse
110
111 check-prerecurse:
112 check-postrecurse:
113
114 Makefiles: Makefiles-postrecurse
115 Makefiles-postrecurse: Makefiles-recurse
116 Makefiles-recurse: Makefiles-prerecurse
117
118 Makefiles-prerecurse:
119 Makefiles-postrecurse:
120
121 generate-files-mac: generate-files-mac-postrecurse
122 generate-files-mac-postrecurse: generate-files-mac-recurse
123 generate-files-mac-recurse: generate-files-mac-prerecurse
124 generate-files-mac-prerecurse:
125
126 #
127 # end recursion rule support
128 ##############################
129
130 # Directory syntax:
131 #
132 # begin relative path
133 REL=
134 # this is magic... should only be used for preceding a program invocation
135 C=./
136 # "/" for UNIX, "\" for Windows; *sigh*
137 S=/
138
139 #
140 srcdir = @srcdir@
141 top_srcdir = @top_srcdir@
142 VPATH = @srcdir@
143 CONFIG_RELTOPDIR = @CONFIG_RELTOPDIR@
144
145 # DEFS          set by configure
146 # DEFINES       set by local Makefile.in
147 # LOCALINCLUDES set by local Makefile.in
148 # CPPFLAGS      user override
149 # CFLAGS        user override but starts off set by configure
150 # WARN_CFLAGS   user override but starts off set by configure
151 # PTHREAD_CFLAGS set by configure, not included in CFLAGS so that we
152 #               don't pull the pthreads library into shared libraries
153 ALL_CFLAGS = $(DEFS) $(DEFINES) $(KRB_INCLUDES) $(LOCALINCLUDES) \
154         -DKRB5_DEPRECATED=1 \
155         -DKRB5_PRIVATE \
156         $(CPPFLAGS) $(CFLAGS) $(WARN_CFLAGS) $(PTHREAD_CFLAGS)
157 ALL_CXXFLAGS = $(DEFS) $(DEFINES) $(KRB_INCLUDES) $(LOCALINCLUDES) \
158         -DKRB5_DEPRECATED=1 \
159         -DKRB5_PRIVATE \
160         $(CPPFLAGS) $(CXXFLAGS) $(WARN_CXXFLAGS) $(PTHREAD_CFLAGS)
161
162 CFLAGS = @CFLAGS@
163 CXXFLAGS = @CXXFLAGS@
164 WARN_CFLAGS = @WARN_CFLAGS@
165 WARN_CXXFLAGS = @WARN_CXXFLAGS@
166 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
167 PTHREAD_LIBS = @PTHREAD_LIBS@
168 THREAD_LINKOPTS = $(PTHREAD_CFLAGS) $(PTHREAD_LIBS)
169 CPPFLAGS = @CPPFLAGS@
170 DEFS = @DEFS@
171 CC = @CC@
172 CXX = @CXX@
173 LD = $(PURE) @LD@
174 DEPLIBS = @DEPLIBS@
175 KRB_INCLUDES = -I$(BUILDTOP)/include -I$(top_srcdir)/include
176 LDFLAGS = @LDFLAGS@
177 LD_UNRESOLVED_PREFIX = @LD_UNRESOLVED_PREFIX@
178 LD_SHLIBDIR_PREFIX = @LD_SHLIBDIR_PREFIX@
179 LDARGS = @LDARGS@
180 LIBS = @LIBS@
181
182 INSTALL=@INSTALL@
183 INSTALL_STRIP=
184 INSTALL_PROGRAM=@INSTALL_PROGRAM@ $(INSTALL_STRIP)
185 INSTALL_SCRIPT=@INSTALL_PROGRAM@
186 INSTALL_DATA=@INSTALL_DATA@
187 INSTALL_SHLIB=@INSTALL_SHLIB@
188 INSTALL_SETUID=$(INSTALL) $(INSTALL_STRIP) -m 4755 -o root
189 ## This is needed because autoconf will sometimes define @exec_prefix@ to be
190 ## ${prefix}.
191 prefix=@prefix@
192 INSTALL_PREFIX=$(prefix)
193 INSTALL_EXEC_PREFIX=@exec_prefix@
194 exec_prefix=@exec_prefix@
195 datarootdir=@datarootdir@
196 SHLIB_TAIL_COMP=@SHLIB_TAIL_COMP@
197
198 datadir = @datadir@
199 EXAMPLEDIR = $(datadir)/examples/krb5
200
201 KRB5MANROOT = @mandir@
202 ADMIN_BINDIR = @sbindir@
203 SERVER_BINDIR = @sbindir@
204 CLIENT_BINDIR =@bindir@
205 ADMIN_MANDIR = $(KRB5MANROOT)/man8
206 SERVER_MANDIR = $(KRB5MANROOT)/man8
207 CLIENT_MANDIR = $(KRB5MANROOT)/man1
208 FILE_MANDIR = $(KRB5MANROOT)/man5
209 KRB5_LIBDIR = @libdir@
210 KRB5_SHLIBDIR = @libdir@$(SHLIB_TAIL_COMP)
211 KRB5_INCDIR = @includedir@
212 MODULE_DIR = @libdir@/krb5/plugins
213 KRB5_DB_MODULE_DIR = $(MODULE_DIR)/kdb
214 KRB5_PA_MODULE_DIR = $(MODULE_DIR)/preauth
215 KRB5_AD_MODULE_DIR = $(MODULE_DIR)/authdata
216 KRB5_LIBKRB5_MODULE_DIR = $(MODULE_DIR)/libkrb5
217 KRB5_LOCALEDIR = @localedir@
218 GSS_MODULE_DIR = @libdir@/gss
219 KRB5_INCSUBDIRS = \
220         $(KRB5_INCDIR)/kadm5 \
221         $(KRB5_INCDIR)/krb5 \
222         $(KRB5_INCDIR)/gssapi \
223         $(KRB5_INCDIR)/gssrpc
224
225 #
226 # Macros used by the KADM5 (OV-based) unit test system.
227 # XXX check which of these are actually used!
228 #
229 TESTDIR         = $(BUILDTOP)/kadmin/testing
230 STESTDIR        = $(top_srcdir)/kadmin/testing
231 COMPARE_DUMP    = $(TESTDIR)/scripts/compare_dump.pl
232 INITDB          = $(STESTDIR)/scripts/init_db
233 MAKE_KEYTAB     = $(TESTDIR)/scripts/make-host-keytab.pl
234 LOCAL_MAKE_KEYTAB= $(TESTDIR)/scripts/make-host-keytab.pl
235 ENV_SETUP       = $(TESTDIR)/scripts/env-setup.sh
236 CLNTTCL         = $(TESTDIR)/util/kadm5_clnt_tcl
237 SRVTCL          = $(TESTDIR)/util/kadm5_srv_tcl
238 # Dejagnu variables.
239 # We have to set the host with --host so that setup_xfail will work.
240 # If we don't set it, then the host type used is "native", which
241 # doesn't match "*-*-*".
242 host=@krb5_cv_host@
243 DEJAFLAGS       = --debug --srcdir $(srcdir) --host $(host)
244 RUNTEST         = runtest $(DEJAFLAGS)
245
246 RUNPYTEST       = PYTHONPATH=$(top_srcdir)/util VALGRIND="$(VALGRIND)" \
247                         $(PYTHON)
248
249 START_SERVERS   = $(STESTDIR)/scripts/start_servers $(TEST_SERVER) $(TEST_PATH)
250 START_SERVERS_LOCAL = $(STESTDIR)/scripts/start_servers_local
251
252 STOP_SERVERS    = $(STESTDIR)/scripts/stop_servers $(TEST_SERVER) $(TEST_PATH)
253 STOP_SERVERS_LOCAL = $(STESTDIR)/scripts/stop_servers_local
254 #
255 # End of macros for the KADM5 unit test system.
256 #
257
258 transform = @program_transform_name@
259
260 RM = rm -f
261 CP = cp
262 MV = mv -f
263 LN = ln
264 CHMOD=chmod
265 RANLIB = @RANLIB@
266 ARCHIVE = @ARCHIVE@
267 ARADD = @ARADD@
268 AWK = @AWK@
269 LEX = @LEX@
270 LEXLIB = @LEXLIB@
271 YACC = @YACC@
272 PERL = @PERL@
273 PYTHON = @PYTHON@
274 AUTOCONF = autoconf
275 AUTOCONFFLAGS =
276 AUTOHEADER = autoheader
277 AUTOHEADERFLAGS =
278 MOVEIFCHANGED = $(top_srcdir)/config/move-if-changed
279
280 SHEXT = @SHEXT@
281 STEXT=@STEXT@
282 VEXT=@VEXT@
283
284 TOPLIBD = $(BUILDTOP)/lib
285
286 OBJEXT = o
287 LIBEXT = a
288 EXEEXT =
289
290 #
291 # variables for libraries, for use in linking programs
292 # -- this may want to get broken out into a separate frag later
293 #
294 #
295 # Note: the following variables must be set in any Makefile.in that
296 # uses KRB5_BUILD_PROGRAM
297 #
298 # PROG_LIBPATH  list of dirs, in -Ldir form, to search for libraries at link
299 # PROG_RPATH    list of dirs, in dir1:dir2 form, for rpath purposes
300 #
301 # invocation is like:
302 # prog: foo.o bar.o $(KRB5_BASE_DEPLIBS)
303 #       $(CC_LINK) -o $@ foo.o bar.o $(KRB5_BASE_LIBS)
304
305
306 CC_LINK=@CC_LINK@
307 CXX_LINK=@CXX_LINK@
308
309 # prefix (with no spaces after) for rpath flag to cc
310 RPATH_FLAG=@RPATH_FLAG@
311
312 # link flags to add PROG_RPATH to the rpath
313 PROG_RPATH_FLAGS=@PROG_RPATH_FLAGS@
314
315 # this gets set by configure to either $(STLIBEXT) or $(SHLIBEXT),
316 # depending on whether we're building with shared libraries.
317 DEPLIBEXT=@DEPLIBEXT@
318
319 KDB5_PLUGIN_DEPLIBS = @KDB5_PLUGIN_DEPLIBS@
320 KDB5_PLUGIN_LIBS = @KDB5_PLUGIN_LIBS@
321
322 KADMCLNT_DEPLIB = $(TOPLIBD)/libkadm5clnt_mit$(DEPLIBEXT)
323 KADMSRV_DEPLIB  = $(TOPLIBD)/libkadm5srv_mit$(DEPLIBEXT)
324 KDB5_DEPLIB     = $(TOPLIBD)/libkdb5$(DEPLIBEXT)
325 GSSRPC_DEPLIB   = $(TOPLIBD)/libgssrpc$(DEPLIBEXT)
326 GSS_DEPLIB      = $(TOPLIBD)/libgssapi_krb5$(DEPLIBEXT)
327 KRB5_DEPLIB     = $(TOPLIBD)/libkrb5$(DEPLIBEXT)
328 CRYPTO_DEPLIB   = $(TOPLIBD)/libk5crypto$(DEPLIBEXT)
329 COM_ERR_DEPLIB  = $(COM_ERR_DEPLIB-@COM_ERR_VERSION@)
330 COM_ERR_DEPLIB-sys = # empty
331 COM_ERR_DEPLIB-intlsys = # empty
332 COM_ERR_DEPLIB-k5 = $(TOPLIBD)/libcom_err$(DEPLIBEXT)
333 SUPPORT_LIBNAME=krb5support
334 SUPPORT_DEPLIB  = $(TOPLIBD)/lib$(SUPPORT_LIBNAME)$(DEPLIBEXT)
335
336 # These are forced to use ".a" as an extension because they're never
337 # built shared.
338 SS_DEPLIB       = $(SS_DEPLIB-@SS_VERSION@)
339 SS_DEPLIB-k5    = $(TOPLIBD)/libss.a
340 SS_DEPLIB-sys   =
341 APPUTILS_DEPLIB = $(TOPLIBD)/libapputils.a
342
343 KRB5_BASE_DEPLIBS       = $(KRB5_DEPLIB) $(CRYPTO_DEPLIB) $(COM_ERR_DEPLIB) $(SUPPORT_DEPLIB)
344 KDB5_DEPLIBS            = $(KDB5_DEPLIB) $(KDB5_PLUGIN_DEPLIBS)
345 GSS_DEPLIBS             = $(GSS_DEPLIB)
346 GSSRPC_DEPLIBS          = $(GSSRPC_DEPLIB) $(GSS_DEPLIBS)
347 KADM_COMM_DEPLIBS       = $(GSSRPC_DEPLIBS) $(KDB5_DEPLIBS) $(GSSRPC_DEPLIBS)
348 KADMSRV_DEPLIBS         = $(KADMSRV_DEPLIB) $(KDB5_DEPLIBS) $(KADM_COMM_DEPLIBS)
349 KADMCLNT_DEPLIBS        = $(KADMCLNT_DEPLIB) $(KADM_COMM_DEPLIBS)
350
351 # Header file dependencies we might override.
352 # See util/depfix.sed.
353 # Also see depend-verify-* in post.in, which wants to confirm that we're using
354 # the in-tree versions.
355 COM_ERR_VERSION = @COM_ERR_VERSION@
356 COM_ERR_DEPS    = $(COM_ERR_DEPS-@COM_ERR_VERSION@)
357 COM_ERR_DEPS-sys =
358 COM_ERR_DEPS-intlsys =
359 COM_ERR_DEPS-k5 = $(BUILDTOP)/include/com_err.h
360 SS_VERSION      = @SS_VERSION@
361 SS_DEPS         = $(SS_DEPS-@SS_VERSION@)
362 SS_DEPS-sys     =
363 SS_DEPS-k5      = $(BUILDTOP)/include/ss/ss.h $(BUILDTOP)/include/ss/ss_err.h
364 VERTO_VERSION   = @VERTO_VERSION@
365 VERTO_DEPS      = $(VERTO_DEPS-@VERTO_VERSION@)
366 VERTO_DEPS-sys  =
367 VERTO_DEPS-k5   = $(BUILDTOP)/include/verto.h
368 VERTO_K5EV_DEPS = $(VERTO_K5EV_DEPS-@VERTO_VERSION@)
369 VERTO_K5EV_DEPS-sys =
370 VERTO_K5EV_DEPS-k5 = $(BUILDTOP)/include/verto-k5ev.h
371
372 # LIBS gets substituted in... e.g. -lnsl -lsocket
373
374 # GEN_LIB is -lgen if needed for regexp
375 GEN_LIB         = @GEN_LIB@
376
377 # Editline or readline flags and libraries.
378 RL_CFLAGS       = @RL_CFLAGS@
379 RL_LIBS         = @RL_LIBS@
380
381 SS_LIB          = $(SS_LIB-@SS_VERSION@)
382 SS_LIB-sys      = @SS_LIB@
383 SS_LIB-k5       = $(TOPLIBD)/libss.a $(RL_LIBS)
384 KDB5_LIB        = -lkdb5 $(KDB5_PLUGIN_LIBS)
385
386 VERTO_DEPLIB    = $(VERTO_DEPLIB-@VERTO_VERSION@)
387 VERTO_DEPLIB-sys = # empty
388 VERTO_DEPLIB-k5 = $(TOPLIBD)/libverto-k5ev$(DEPLIBEXT) $(TOPLIBD)/libverto$(DEPLIBEXT)
389 VERTO_CFLAGS    = @VERTO_CFLAGS@
390 VERTO_LIBS      = @VERTO_LIBS@
391
392 DL_LIB          = @DL_LIB@
393
394 LDAP_LIBS       = @LDAP_LIBS@
395
396 KRB5_LIB                        = -lkrb5
397 K5CRYPTO_LIB                    = -lk5crypto
398 COM_ERR_LIB                     = -lcom_err
399 GSS_KRB5_LIB                    = -lgssapi_krb5
400 SUPPORT_LIB                     = -l$(SUPPORT_LIBNAME)
401
402 # HESIOD_LIBS is -lhesiod...
403 HESIOD_LIBS     = @HESIOD_LIBS@
404
405 KRB5_BASE_LIBS  = $(KRB5_LIB) $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB) $(GEN_LIB) $(LIBS) $(DL_LIB)
406 KDB5_LIBS       = $(KDB5_LIB) $(GSSRPC_LIBS)
407 GSS_LIBS        = $(GSS_KRB5_LIB)
408 # needs fixing if ever used on Mac OS X!
409 GSSRPC_LIBS     = -lgssrpc $(GSS_LIBS)
410 KADM_COMM_LIBS  = $(GSSRPC_LIBS)
411 # need fixing if ever used on Mac OS X!
412 KADMSRV_LIBS    = -lkadm5srv_mit $(HESIOD_LIBS) $(KDB5_LIBS) $(KADM_COMM_LIBS)
413 KADMCLNT_LIBS   = -lkadm5clnt_mit $(KADM_COMM_LIBS)
414
415 # libutil for NetBSD, et al. for openpty(), etc.
416 UTIL_LIB        = @UTIL_LIB@
417
418 # Misc stuff for linking server programs (and maybe some others,
419 # eventually) but which we don't want to install.
420 APPUTILS_LIB    = -lapputils
421
422 # So test programs can find their libraries without "make install", etc.
423 KRB5_RUN_ENV=@KRB5_RUN_ENV@
424 KRB5_RUN_VARS=@KRB5_RUN_VARS@
425
426 #
427 # variables for --with-tcl=
428 TCL_LIBS        = @TCL_LIBS@
429 TCL_LIBPATH     = @TCL_LIBPATH@
430 TCL_RPATH       = @TCL_RPATH@
431 TCL_MAYBE_RPATH = @TCL_MAYBE_RPATH@
432 TCL_INCLUDES    = @TCL_INCLUDES@
433
434 # Crypto and PRNG back-end selections
435 CRYPTO_IMPL     = @CRYPTO_IMPL@
436 PRNG_ALG        = @PRNG_ALG@
437
438 # Crypto back-end selection and flags for PKINIT
439 PKINIT_CRYPTO_IMPL              = @PKINIT_CRYPTO_IMPL@
440 PKINIT_CRYPTO_IMPL_CFLAGS       = @PKINIT_CRYPTO_IMPL_CFLAGS@
441 PKINIT_CRYPTO_IMPL_LIBS         = @PKINIT_CRYPTO_IMPL_LIBS@
442
443 # error table rules
444 #
445 ### /* these are invoked as $(...) foo.et, which works, but could be better */
446 COMPILE_ET= $(COMPILE_ET-@COM_ERR_VERSION@)
447 COMPILE_ET-sys= compile_et
448 COMPILE_ET-intlsys= compile_et --textdomain mit-krb5
449 COMPILE_ET-k5= $(BUILDTOP)/util/et/compile_et -d $(top_srcdir)/util/et \
450         --textdomain mit-krb5
451
452 .SUFFIXES:  .h .c .et .ct
453
454 # These versions cause both .c and .h files to be generated at once.
455 # But GNU make doesn't understand this, and parallel builds can trigger
456 # both of them at once, causing them to stomp on each other.  The versions
457 # below only update one of the files, so compile_et has to get run twice,
458 # but it won't break parallel builds.
459 #.et.h: ; $(COMPILE_ET) $<
460 #.et.c: ; $(COMPILE_ET) $<
461
462 .et.h:
463         $(RM) et-h-$*.et et-h-$*.c et-h-$*.h
464         $(CP) $< et-h-$*.et
465         $(COMPILE_ET) et-h-$*.et
466         $(MV) et-h-$*.h $*.h
467         $(RM) et-h-$*.et et-h-$*.c
468 .et.c:
469         $(RM) et-c-$*.et et-c-$*.c et-c-$*.h
470         $(CP) $< et-c-$*.et
471         $(COMPILE_ET) et-c-$*.et
472         $(MV) et-c-$*.c $*.c
473         $(RM) et-c-$*.et et-c-$*.h
474
475 # rule to make object files
476 #
477 .SUFFIXES: .cpp .c .o
478 .c.o:
479         $(CC) $(ALL_CFLAGS) -c $<
480 # Use .cpp because that's what autoconf uses in its test.
481 # If the compiler doesn't accept a .cpp suffix here, it wouldn't
482 # have accepted it when autoconf tested it.
483 .cpp.o:
484         $(CXX) $(ALL_CXXFLAGS) -c $<
485
486 # ss command table rules
487 #
488 MAKE_COMMANDS= $(MAKE_COMMANDS-@SS_VERSION@)
489 MAKE_COMMANDS-sys= mk_cmds
490 MAKE_COMMANDS-k5= $(BUILDTOP)/util/ss/mk_cmds
491
492 .ct.c:
493         $(MAKE_COMMANDS) $<
494
495 ## Parameters to be set by configure for use in lib.in:
496 ##
497 #
498 # These settings are for building shared libraries only.  Including
499 # libpriv.in will override with values appropriate for static
500 # libraries that we don't install.  Some values will depend on whether
501 # the platform supports major and minor version number extensions on
502 # shared libraries, hence the FOO_@@ settings.
503
504 LN_S=@LN_S@
505 AR=@AR@
506
507 # Set to "lib$(LIBBASE)$(STEXT) lib$(LIBBASE)$(SHEXT) lib$(LIBBASE)$(PFEXT)" or
508 # some subset thereof by configure; determines which types of libs get
509 # built.
510 LIBLIST=@LIBLIST@
511
512 # Set by configure; list of library symlinks to make to $(TOPLIBD)
513 LIBLINKS=@LIBLINKS@
514
515 # Set by configure; name of plugin module to build (libfoo.a or foo.so)
516 PLUGIN=@PLUGIN@
517
518 # Set by configure; symlink for plugin module for static plugin linking
519 PLUGINLINK=@PLUGINLINK@
520
521 # Set by configure; list of install targets for libraries
522 LIBINSTLIST=@LIBINSTLIST@
523
524 # Set by configure; install target
525 PLUGININST=@PLUGININST@
526
527 # Some of these should really move to pre.in, since programs will need
528 # it too. (e.g. stuff that has dependencies on the libraries)
529
530 # usually .a
531 STLIBEXT=@STLIBEXT@
532
533 # usually .so.$(LIBMAJOR).$(LIBMINOR)
534 SHLIBVEXT=@SHLIBVEXT@
535
536 # usually .so.$(LIBMAJOR) (to allow for major-version compat)
537 SHLIBSEXT=@SHLIBSEXT@
538
539 # usually .so
540 SHLIBEXT=@SHLIBEXT@
541
542 # usually _p.a
543 PFLIBEXT=@PFLIBEXT@
544
545 #
546 DYNOBJEXT=@DYNOBJEXT@
547 MAKE_DYNOBJ_COMMAND=@MAKE_DYNOBJ_COMMAND@
548 DYNOBJ_EXPDEPS=@DYNOBJ_EXPDEPS@
549 DYNOBJ_EXPFLAGS=@DYNOBJ_EXPFLAGS@
550
551 # File with symbol names to be exported, both functions and data,
552 # currently not distinguished.
553 SHLIB_EXPORT_FILE=$(srcdir)/$(LIBPREFIX)$(LIBBASE).exports
554
555 # File that needs to be current for building the shared library,
556 # usually SHLIB_EXPORT_FILE, but not always, if we have to convert
557 # it to another, intermediate form for the linker.
558 SHLIB_EXPORT_FILE_DEP=@SHLIB_EXPORT_FILE_DEP@
559
560 # Command to run to build a shared library.
561 # In systems that require multiple commands, like AIX, it may need
562 # to change to rearrange where the various parameters fit in.
563 MAKE_SHLIB_COMMAND=@MAKE_SHLIB_COMMAND@
564
565 # run path flags for explicit libraries depending on this one,
566 # e.g. "-R$(SHLIB_RPATH)"
567 SHLIB_RPATH_FLAGS=@SHLIB_RPATH_FLAGS@
568
569 # flags for explicit libraries depending on this one,
570 # e.g. "$(SHLIB_RPATH_FLAGS) $(SHLIB_SHLIB_DIRFLAGS) $(SHLIB_EXPLIBS)"
571 SHLIB_EXPFLAGS=@SHLIB_EXPFLAGS@
572
573 ## Parameters to be set by configure for use in libobj.in:
574
575 # Set to "OBJS.ST OBJS.SH OBJS.PF" or some subset thereof by
576 # configure; determines which types of object files get built.
577 OBJLISTS=@OBJLISTS@
578
579 # Note that $(LIBSRCS) *cannot* contain any variable references, or
580 # the suffix substitution will break on some platforms!
581 SHLIBOBJS=$(STLIBOBJS:.o=@SHOBJEXT@)
582 PFLIBOBJS=$(STLIBOBJS:.o=@PFOBJEXT@)
583
584 # "$(CC) -G", "$(LD) -Bshareable", etc.
585 LDCOMBINE=@LDCOMBINE@
586
587 #
588 # rules to make various types of object files
589 #
590 PICFLAGS=@PICFLAGS@
591 PROFFLAGS=@PROFFLAGS@
592
593 # platform-dependent temporary files that should get cleaned up
594 EXTRA_FILES=@EXTRA_FILES@
595
596 VALGRIND=
597 # Need absolute paths here because under kshd or ftpd we may run programs
598 # while in other directories.
599 VALGRIND_LOGDIR = `cd $(BUILDTOP)&&pwd`
600 VALGRIND1 = valgrind --tool=memcheck --log-file=$(VALGRIND_LOGDIR)/vg.%p --trace-children=yes -v --leak-check=yes --suppressions=`cd $(top_srcdir)&&pwd`/util/valgrind-suppressions
601
602 # Set OFFLINE=yes to disable tests that assume network connectivity.
603 # (Specifically, this concerns the ability to fetch DNS data for
604 # mit.edu, to verify that SRV queries are working.)  Note that other
605 # tests still assume that the local hostname can be resolved into
606 # something that looks like an FQDN, with an IPv4 address.
607 OFFLINE=no
608
609 # Used when running Python tests.
610 PYTESTFLAGS=
611
612 ##
613 ## end of pre.in
614 ############################################################