-
-#/* Copyright (C) 1990, 1989 Transarc Corporation - All rights reserved */
-#
-# (C) COPYRIGHT IBM CORPORATION 1987, 1989
-# LICENSED MATERIALS - PROPERTY OF IBM
-#
+# Copyright 2000, International Business Machines Corporation and others.
+# All Rights Reserved.
+#
+# This software has been released under the terms of the IBM Public
+# License. For details, see the LICENSE file in the top-level source
+# directory or online at http://www.openafs.org/dl/license10.html
SHELL = /bin/sh
COMPONENT=auth
KERNELDIR = ../libafs/
UKERNELDIR = ../libuafs/
-INSTALL = ${SRCDIR}bin/install
COMPILE_ET = ${SRCDIR}bin/compile_et
OBJS= cellconfig.o ktc.o userok.o writeconfig.o authcon.o \
acfg_errors.o ktc_errors.o # comktc.o comvice.o comauth.o
KOBJS= cellconfig.o ktc.krb.o userok.o writeconfig.o authcon.o \
acfg_errors.o ktc_errors.o # comktc.o comvice.o comauth.o
-CFLAGS=-g -I${SRCDIR}include ${XCFLAGS}
+CFLAGS=-g -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS}
LDIRS=
LIBS= libauth.a ${DESTDIR}lib/afs/libsys.a \
${DESTDIR}lib/librxkad.a ${DESTDIR}lib/libdes.a \
cellconfig.o: cellconfig.c ${INCLS}
#comktc.o: comktc.c ${INCLS} ${SRCDIR}include/afs/vice.h
#comvice.o: comvice.c ${INCLS}
+ktc.o: ktc.c ${INCLS} ${SRCDIR}include/afs/vice.h
writeconfig.o: writeconfig.c ${INCLS}
authcon.o: authcon.c ${INCLS}
userok.o: userok.c ${INCLS}
#comauth.o: comauth.c ${INCLS} ${SRCDIR}include/afs/vice.h
ktc.krb.o: ktc.c ${INCLS} ${SRCDIR}include/afs/vice.h
- ${CC} ${CFLAGS} -DMAYBE_NO_KTC -DAFS_KERBEROS_ENV -c ktc.c
- mv ktc.o ktc.krb.o
-
-ktc.o: ktc.c ${INCLS} ${SRCDIR}include/afs/vice.h
- ${CC} ${CFLAGS} -DMAYBE_NO_KTC -c ktc.c
-# : ${SRCDIR}include/afs/ktc.h
-# ${CC} ${CFLAGS} -c ktc.c
+ ${CC} ${CFLAGS} -DAFS_KERBEROS_ENV -c ktc.c -o ktc.krb.o
libauth.a: $(OBJS) AFS_component_version_number.o
-rm -f libauth.a
${INSTALL} cellconfig.h ${DESTDIR}include/afs
${INSTALL} keys.h ${DESTDIR}include/afs
+includes: auth.h cellconfig.h keys.h
+ ${INSTALL} auth.h ${DESTDIR}include/afs
+ ${INSTALL} cellconfig.h ${DESTDIR}include/afs
+ ${INSTALL} keys.h ${DESTDIR}include/afs
+
clean:
rm -f *.o *.a copyauth testcellconf setkey auth.h cellconfig.h acfg_errors.c ktc_errors.c core\
AFS_component_version_number.c