stropts.h not present on Linux/BSD (maybe still needed on Sun?)
Link with libafsrpc, libafsauthent instead of individual AFS libraries,
as in rxkad-kdf patch from Russ Allbery and Jeffrey Altman
https://lists.openafs.org/pipermail/openafs-info/2013-August/039828.html
APXS = @APXS@
INCLUDES = -I@KRB5_INC@ -I@AFS_INC@ -I@APACHE_INC@ -I@APR_INC@
LIB = -L@AFS_LIBS@ -L@KRB5_LIBS@ -L@APACHE_LIBS@ -lkrb5 -lk5crypto \
- -lprot -lauth -lresolv -lubik -lrxkad -lsys -lrx -llwp -ldes \
- -lcom_err -lafsutil
+ -lafsauthent -lafsrpc
APXSCC = `${APXS} -q CC` \
@WAKLOG_DEBUG@ \
#ifdef sun
#include <synch.h>
+#include <stropts.h>
#elif linux
#define use_pthreads
#include <features.h>
/**************************************************************************************************/
#include <krb5.h>
-#include <stropts.h>
#include <afs/param.h>
#if defined(sun)
#include <sys/ioccom.h>
#endif /* sun */
-#include <stropts.h>
#include <afs/venus.h>
#include <afs/auth.h>
#include <afs/dirpath.h>