Don't build GSSAPI library unless BuildGssapi is on
authorTheodore Tso <tytso@mit.edu>
Fri, 14 Jan 1994 20:30:53 +0000 (20:30 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 14 Jan 1994 20:30:53 +0000 (20:30 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3341 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/Imakefile

index 1ff03dfa7e4c9543dd2e7d0831ba5d798b680c03..32d5f003c5c26c3308deb6d4be57348bf9f312b5 100644 (file)
 #define IHaveSubdirs
 #define PassCDebugFlags
 
-SUBDIRS = krb5 kdb des425 krb425 crypto gssapi 
+#if BuildGssapi
+GSSAPI= gssapi
+#endif
+
+SUBDIRS = krb5 kdb des425 krb425 crypto $(GSSAPI)
 
 MakeSubdirs($(SUBDIRS))
 
-all:: libkrb5.a libcrypto.a libgssapi_krb5.a
+all:: libkrb5.a libcrypto.a 
+
 
 LinkFile(libkrb5.a, krb5/libkrb5.a)
 LinkFile(libcrypto.a, crypto/libcrypto.a)
+
+#if BuildGssapi
+all:: libgssapi_krb5.a
 LinkFile(libgssapi_krb5.a, gssapi/libgssapi_krb5.a)
+#endif
 
 Krb5InstallLibrary(krb425,$(KRB5_LIBDIR))
 Krb5InstallLibrary(des425,$(KRB5_LIBDIR))