+Fri Mar 17 19:19:07 1995 John Gilmore (gnu at toad.com)
+
+ * Makefile.in (LDFLAGS): Remove, duplicates config/pre.in.
+ (CFLAGS): Add -I options for file and stdio, to avoid paths in
+ #include statements.
+ (all-mac, clean-mac): Add.
+ * ccdefops.c: Avoid includes with pathnames, since they don't work
+ on the Mac. Configure the default cache based on whether the
+ system has <sys/types.h> (which defines types for low-level file
+ operations, among other things).
+ * configure.in (CONFIG_DIRS): Build stdio before file, for Mac
+ convenience (where file doesn't build).
+
Wed Mar 15 20:23:17 1995 Keith Vetter (keithv@fusion.com)
* Makefile.in: cleaned up for the PC
-CFLAGS = $(CCOPTS) $(DEFS)
-LDFLAGS = -g
+CFLAGS = $(CCOPTS) $(DEFS) -I$(C)file -I$(C)stdio
##DOSBUILDTOP = ..\..\..
##DOSLIBNAME=..\krb5.lib
all:: $(OBJS) all-$(WHAT)
all-unix::
-
+all-mac::
all-windows::
cd FILE
@echo Making in ccache\file
clean:: clean-$(WHAT)
clean-unix::
-
+clean-mac:
clean-windows::
cd FILE
@echo Making clean in ccache\file
-$(MAKE) -$(MFLAGS) clean
cd ..
@echo Making clean locally
-
* so that the user can more easily override it.
*/
-#include "file/fcc.h"
-#include "stdio/scc.h"
+#include "k5-int.h"
+#ifdef HAVE_SYS_TYPES_H
+/* Systems that have <sys/types.h> probably have Unix-like files (off_t,
+ for example, which is needed by fcc.h). */
+
+#include "fcc.h" /* From file subdir */
krb5_cc_ops *krb5_cc_dfl_ops = &krb5_cc_file_ops;
+
+#else
+/* Systems that don't have <sys/types.h> probably have stdio anyway. */
+
+#include "scc.h" /* From stdio subdir */
+krb5_cc_ops *krb5_cc_dfl_ops = &krb5_scc_ops;
+
+#endif