]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Reduce SUBDIROBJLISTS repetition in makefiles 1260/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 12 Jul 2022 19:17:48 +0000 (15:17 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 13 Jul 2022 20:29:07 +0000 (16:29 -0400)
Where applicable, define STOBJLISTS in terms of SUBDIROBJLISTS.

src/lib/crypto/builtin/Makefile.in
src/lib/crypto/openssl/Makefile.in
src/lib/gssapi/Makefile.in
src/lib/krb5/Makefile.in

index daf19da19541cc7eaf9cb7732de09f35d067caa4..243bb17ba35e01d5a4065afd7089eb0303e9d309 100644 (file)
@@ -25,14 +25,6 @@ SRCS=\
        $(srcdir)/kdf.c         \
        $(srcdir)/pbkdf2.c      
 
-STOBJLISTS= des/OBJS.ST md4/OBJS.ST    \
-       md5/OBJS.ST sha1/OBJS.ST sha2/OBJS.ST   \
-       enc_provider/OBJS.ST            \
-       hash_provider/OBJS.ST           \
-       aes/OBJS.ST                     \
-       camellia/OBJS.ST                \
-       OBJS.ST
-
 SUBDIROBJLISTS= des/OBJS.ST md4/OBJS.ST        \
                md5/OBJS.ST sha1/OBJS.ST sha2/OBJS.ST   \
                enc_provider/OBJS.ST            \
@@ -40,6 +32,8 @@ SUBDIROBJLISTS= des/OBJS.ST md4/OBJS.ST       \
                aes/OBJS.ST                     \
                camellia/OBJS.ST 
 
+STOBJLISTS= $(SUBDIROBJLISTS) OBJS.ST
+
 ##DOS##LIBOBJS = $(OBJS)
 
 all-unix: all-libobjs
index 08de047d0aa1275332c61c2cd7e7034a826bc69e..cf11f6847ba1523c6e2b5afc8f7b7476aadd1ca4 100644 (file)
@@ -24,19 +24,14 @@ SRCS=\
        $(srcdir)/pbkdf2.c      \
        $(srcdir)/sha256.c
 
-STOBJLISTS= des/OBJS.ST md4/OBJS.ST    \
-       md5/OBJS.ST sha1/OBJS.ST sha2/OBJS.ST   \
-       enc_provider/OBJS.ST            \
-       hash_provider/OBJS.ST           \
-       aes/OBJS.ST                     \
-       OBJS.ST
-
 SUBDIROBJLISTS= des/OBJS.ST md4/OBJS.ST        \
                md5/OBJS.ST sha1/OBJS.ST sha2/OBJS.ST   \
                enc_provider/OBJS.ST            \
                hash_provider/OBJS.ST           \
                aes/OBJS.ST 
 
+STOBJLISTS= $(SUBDIROBJLISTS) OBJS.ST
+
 all-unix: all-libobjs
 includes: depend
 
index 64ed0a4d22a4196ee704773978d7525f0bf9e7b4..46a9a6bcc449689654ee5ffa35ab42b47e72c48d 100644 (file)
@@ -23,8 +23,8 @@ LIBMAJOR=2
 LIBMINOR=2
 #LIBINITFUNC=gssint_lib_init
 #LIBFINIFUNC=gssint_lib_fini
-STOBJLISTS=OBJS.ST generic/OBJS.ST mechglue/OBJS.ST krb5/OBJS.ST spnego/OBJS.ST
 SUBDIROBJLISTS=generic/OBJS.ST mechglue/OBJS.ST krb5/OBJS.ST spnego/OBJS.ST
+STOBJLISTS=OBJS.ST $(SUBDIROBJLISTS)
 SHLIB_EXPDEPS=\
        $(KRB5_DEPLIB) $(CRYPTO_DEPLIB) $(SUPPORT_DEPLIB) $(COM_ERR_DEPLIB)
 SHLIB_EXPLIBS=-lkrb5 -lk5crypto $(COM_ERR_LIB) $(SUPPORT_LIB) $(DL_LIB) $(LIBS)
index 4e9547c2fcd61ecb65ec6ee0f42adce05368120a..1ed0cf346185b4596344d5c46e45c61530556ffe 100644 (file)
@@ -23,18 +23,6 @@ LIBMINOR=3
 LIBINITFUNC=profile_library_initializer krb5int_lib_init
 LIBFINIFUNC=profile_library_finalizer krb5int_lib_fini
 
-STOBJLISTS= \
-       OBJS.ST \
-       error_tables/OBJS.ST \
-       asn.1/OBJS.ST \
-       ccache/OBJS.ST \
-       keytab/OBJS.ST \
-       krb/OBJS.ST \
-       rcache/OBJS.ST \
-       unicode/OBJS.ST \
-       os/OBJS.ST \
-       $(BUILDTOP)/util/profile/OBJS.ST
-
 SUBDIROBJLISTS= \
        error_tables/OBJS.ST \
        asn.1/OBJS.ST \
@@ -46,6 +34,8 @@ SUBDIROBJLISTS= \
        os/OBJS.ST \
        $(BUILDTOP)/util/profile/OBJS.ST
 
+STOBJLISTS= OBJS.ST $(SUBDIROBJLISTS)
+
 OBJS=\
        $(OUTPRE)krb5_libinit.$(OBJEXT)