summaryrefslogtreecommitdiffstats
path: root/src/config/lib.in
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-05-16 14:21:12 -0400
committerGreg Hudson <ghudson@mit.edu>2013-05-16 20:09:27 -0400
commit4b0985f8573840838bcfa8ec1df3dcd39a3dbf15 (patch)
treea9ac284b8ef9000f968cb610cc8ff79061e8293b /src/config/lib.in
parent780b34cd19c0360458395e87f35550e9803a5194 (diff)
downloadkrb5-4b0985f8573840838bcfa8ec1df3dcd39a3dbf15.tar.gz
krb5-4b0985f8573840838bcfa8ec1df3dcd39a3dbf15.tar.xz
krb5-4b0985f8573840838bcfa8ec1df3dcd39a3dbf15.zip
Reduce boilerplate in makefiles
Provide default values in pre.in for PROG_LIBPATH, PROG_RPATH, SHLIB_DIRS, SHLIB_RDIRS, and STOBJLISTS so that they don't have to be specified in the common case. Rename KRB5_RUN_ENV and KRB5_RUN_VARS to RUN_SETUP (already the most commonly used name) and RUN_VARS. Make sure to use DEFINES for local defines (not DEFS). Remove some other unnecessary makefile content.
Diffstat (limited to 'src/config/lib.in')
-rw-r--r--src/config/lib.in14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/config/lib.in b/src/config/lib.in
index 26d1d5ae47..8dd54757ec 100644
--- a/src/config/lib.in
+++ b/src/config/lib.in
@@ -8,25 +8,17 @@
# LIBBASE library name without "lib" or extension
# LIBMAJOR library major version
# LIBMINOR library minor version
-# STOBJLISTS list of files, each of which is an OBJS.ST created by
-# libobj.in; *DO NOT* use ./OBJS.ST for the current
-# directory as that will cause some makes to lose.
# SHLIB_EXPDEPS list of libraries that this one has explicit
# dependencies on, pref. in the form libfoo$(SHLIBEXT)
# SHLIB_EXPLIBS list of libraries that this one has explicit
# dependencies on, in "-lfoo" form.
-# SHLIB_DIRS list of directories where $(SHLIB_EXPLIBS) can be
-# found, in the form -Ldir1 -Ldir2 ...
-# since there are very few systems where -L is the
-# wrong thing (notable exception of SunOS but we
-# deal with it...)
-# SHLIB_RDIRS rpath directories to search; given in the
-# form dir1:dir2 ...
# RELDIR path to this directory relative to $(TOPLIBD)
+#
+# Makefile.in can also override the defaults for SHLIB_DIRS,
+# SHLIB_RDIRS, and STOBJLISTS from pre.in.
LIBPREFIX=lib
-# STOBJLISTS=dir1/OBJS.ST dir2/OBJS.ST etc...
SHOBJLISTS=$(STOBJLISTS:.ST=.SH)
PFOBJLISTS=$(STOBJLISTS:.ST=.PF)