--- /dev/null
+# $Source$
+# $Author$
+# $Id$
+#
+# Copyright 1990,1991 by the Massachusetts Institute of Technology.
+# All Rights Reserved.
+#
+# Export of this software from the United States of America is assumed
+# to require a specific license from the United States Government.
+# It is the responsibility of any person or organization contemplating
+# export to obtain such a license before exporting.
+#
+# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+# distribute this software and its documentation for any purpose and
+# without fee is hereby granted, provided that the above copyright
+# notice appear in all copies and that both that copyright notice and
+# this permission notice appear in supporting documentation, and that
+# the name of M.I.T. not be used in advertising or publicity pertaining
+# to distribution of the software without specific, written prior
+# permission. M.I.T. makes no representations about the suitability of
+# this software for any purpose. It is provided "as is" without express
+# or implied warranty.
+#
+#
+#define IHaveSubdirs
+#define PassCDebugFlags
+
+SUBDIRS = des crc32 md4 md5 os
+
+MakeSubdirs($(SUBDIRS))
+
+NormalLibraryObjectRule()
+
+OBJS= cryptoconf.o
+SRCS= cryptoconf.c
+
+libcrypto.a: des/DONE md4/DONE md5/DONE crc32/DONE os/DONE $(OBJS)
+ (cd des; $(ARADD) ../$@ `cat DONE`)
+ (cd crc32; $(ARADD) ../$@ `cat DONE`)
+ (cd md4; $(ARADD) ../$@ `cat DONE`)
+ (cd md5; $(ARADD) ../$@ `cat DONE`)
+ (cd os; $(ARADD) ../$@ `cat DONE`)
+ $(ARADD) $@ $(OBJS)
+ RanLibrary($@)
+
+all:: libcrypto.a
+
+Krb5InstallLibrary($(DESLIB),$(KRB5_LIBDIR))
+
+clean::
+ $(RM) libcrypto.a
CRCTESTOBJ = crctest.o
-OtherdirLibraryTarget(..,$(DESLIB),$(OBJS))
+SubdirLibraryRule($(OBJS))
NormalProgramTarget(crctest,$(CRCTESTOBJ),$(OBJS),$(OBJS),)
all::
depend:: des.c $(SRCS)
-OtherdirLibraryTarget(..,$(DESLIB),$(OBJS))
+SubdirLibraryRule($(OBJS))
DependTarget()
clean::
$(RM) fp.c ip.c key_perm.h odd.h p.c p_table.h s_table.h
-EXT_LIB = $(TOP)/error_tables/krb5_err.o \
- $(TOP)/error_tables/isode_err.o \
- $(TOP)/lib/cryptoconf.o \
- $(TOP)/lib/crc-32/libcrc32.a \
+EXT_LIB = $(TOP)/lib/krb5/error_tables/krb5_err.o \
+ $(TOP)/lib/krb5/error_tables/isode_err.o \
+ $(TOP)/lib/crypto/cryptoconf.o \
+ $(TOP)/lib/crypto/crc-32/libcrc32.a \
libdes.a $(OSLIB) $(COMERRLIB)
NormalProgramTarget(verify,$(VERIFYOBJ),libdes.a,$(EXT_LIB),)
DEFINES= $(DESDEFINES)
-OtherdirLibraryTarget(..,$(DESLIB),$(OBJS))
+SubdirLibraryRule($(OBJS))
DependTarget()
DEFINES= $(DESDEFINES)
-OtherdirLibraryTarget(..,$(DESLIB),$(OBJS))
+SubdirLibraryRule($(OBJS))
DependTarget()
--- /dev/null
+# $Source$
+# $Author$
+# $Id$
+#
+# Copyright 1990,1991 by the Massachusetts Institute of Technology.
+# All Rights Reserved.
+#
+# Export of this software from the United States of America is assumed
+# to require a specific license from the United States Government.
+# It is the responsibility of any person or organization contemplating
+# export to obtain such a license before exporting.
+#
+# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+# distribute this software and its documentation for any purpose and
+# without fee is hereby granted, provided that the above copyright
+# notice appear in all copies and that both that copyright notice and
+# this permission notice appear in supporting documentation, and that
+# the name of M.I.T. not be used in advertising or publicity pertaining
+# to distribution of the software without specific, written prior
+# permission. M.I.T. makes no representations about the suitability of
+# this software for any purpose. It is provided "as is" without express
+# or implied warranty.
+#
+#
+NormalLibraryObjectRule()
+
+OBJS= rnd_confoun.o localaddr.o ustime.o
+
+SRCS= rnd_confoun.c localaddr.c ustime.c
+
+SubdirLibraryRule($(OBJS))
+
+depend:: localaddr.c ustime.c
+
+DependTarget()
+
+localaddr.c: ../../krb5/os/localaddr.c
+ $(LN) ../../krb5/os/localaddr.c $@
+
+ustime.c: ../../krb5/os/ustime.c
+ $(LN) ../../krb5/os/ustime.c $@
+
#
#define IHaveSubdirs
#define PassCDebugFlags
-NormalLibraryObjectRule()
SUBDIRS1 = error_tables
-SUBDIRS2 = ccache keytab krb rcache free os kdb des \
- des425 crc32 krb425 md4 md5 gssapi
+SUBDIRS2 = ccache keytab krb rcache free os posix
SUBDIRS = $(SUBDIRS1) asn.1 $(SUBDIRS2)
-#ifdef HasVfprintf
-VPOBJS=
-VPSRCS=
-#else
-VPOBJS=vfprintf.o vsprintf.o
-VPSRCS=$(SRCDIR)vfprintf.c $(SRCDIR)vsprintf.c
-#endif
-#ifdef HasVsyslog
-VSOBJS=
-VSSRCS=
-#else
-VSOBJS=syslog.o
-VSSRCS=$(SRCDIR)syslog.c
-#endif
-#ifdef HasStrdup
-STOBJS=
-STSRCS=
-#else
-STOBJS=strdup.o
-STSRCS=$(SRCDIR)strdup.c
-#endif
-#ifndef HasStrerror
-PEOBJS=perror.o
-PESRCS=$(SRCDIR)perror.c
-#endif
-
-INCLUDES=$(STDC_TOP_INCLUDES)
-
-OBJS = \
- cryptoconf.o \
- $(PEOBJS) $(VSOBJS) $(VPOBJS) $(STOBJS)
-
-SRCS = \
- $(SRCDIR)cryptoconf.c \
- $(PESRCS) $(VSSRCS) $(VPSRCS) $(STSRCS)
-
MakeSubdirs($(SUBDIRS))
#ifdef UseSedHack
#endif /* UseSedHack */
-AdditiveLibraryTarget(krb5,$(OBJS),-L$(KRB5_LIBDIR) -Lshared $(LDLOCATIONS) -l$(DESLIB) $(ISODELIB) -lcom_err)
-
-RanlibLibraryTarget($(DESLIB),)
+libkrb5.a: error_tables/DONE asn.1/DONE ccache/DONE ccache/stdio/DONE \
+ ccache/file/DONE keytab/DONE keytab/file/DONE krb/DONE \
+ rcache/DONE free/DONE os/DONE posix/DONE
+ (cd error_tables; $(ARADD) ../$@ `cat DONE`)
+ (cd asn.1; $(ARADD) ../$@ `cat DONE`)
+ (cd ccache; $(ARADD) ../$@ `cat DONE`)
+ (cd ccache/stdio; $(ARADD) ../../$@ `cat DONE`)
+ (cd ccache/file; $(ARADD) ../../$@ `cat DONE`)
+ (cd keytab; $(ARADD) ../$@ `cat DONE`)
+ (cd keytab/file; $(ARADD) ../../$@ `cat DONE`)
+ (cd krb; $(ARADD) ../$@ `cat DONE`)
+ (cd rcache; $(ARADD) ../$@ `cat DONE`)
+ (cd free; $(ARADD) ../$@ `cat DONE`)
+ (cd os; $(ARADD) ../$@ `cat DONE`)
+ (cd posix; $(ARADD) ../$@ `cat DONE`)
+ RanLibrary($@)
+
+all:: libkrb5.a
-Krb5InstallLibrary(krb5,$(KRB5_LIBDIR))
Krb5InstallLibrary($(DESLIB),$(KRB5_LIBDIR))
+Krb5InstallLibrary(krb5,$(KRB5_LIBDIR))
-SharedLibraryTarget(kdb5,-L$(KRB5_LIBDIR) -Lshared $(LDLOCATIONS) -lkrb5 -l$(DESLIB) $(ISODELIB) -lcom_err)
+# SharedLibraryTarget(kdb5,-L$(KRB5_LIBDIR) -Lshared $(LDLOCATIONS) -lkrb5 -l$(DESLIB) $(ISODELIB) -lcom_err)
/* SharedLibraryTarget(des425,-L$(KRB5_LIBDIR) -Lshared $(LDLOCATIONS) -l$(DESLIB)) */
includes:: KRB5-types.h
-OtherdirLibraryTarget($(TOP)/lib,krb5,$(OBJS))
+SubdirLibraryRule($(OBJS))
PepsyTarget(KRB5)
$(SRCDIR)ccdefault.c \
$(SRCDIR)ccdefops.c
-OtherdirLibraryTarget($(TOP)/lib,krb5,$(OBJS))
+SubdirLibraryRule($(OBJS))
all:: ${OBJS}
-OtherdirLibraryTarget($(TOP)/lib,krb5,$(OBJS))
+SubdirLibraryRule($(OBJS))
DependTarget()
all:: ${OBJS}
-OtherdirLibraryTarget($(TOP)/lib,krb5,$(OBJS))
+SubdirLibraryRule($(OBJS))
DependTarget()
CopyHeader(adm_err.h,$(EHDRDIR))
-OtherdirLibraryTarget($(TOP)/lib,krb5,$(OBJS))
+SubdirLibraryRule($(OBJS))
depend:: $(ETSRCS)
$(SRCDIR)f_cred.c \
$(SRCDIR)f_cred_enc.c
-OtherdirLibraryTarget($(TOP)/lib,krb5,$(OBJS))
+SubdirLibraryRule($(OBJS))
DependTarget()
$(SRCDIR)ktremove.c \
$(SRCDIR)read_servi.c
-OtherdirLibraryTarget($(TOP)/lib,krb5,$(OBJS))
+SubdirLibraryRule($(OBJS))
DependTarget()
ktf_wreslv.o \
ktf_defops.o
-OtherdirLibraryTarget($(TOP)/lib,krb5,$(OBJS))
+SubdirLibraryRule($(OBJS))
DependTarget()
$(SRCDIR)unparse.c \
$(SRCDIR)walk_rtree.c
-OtherdirLibraryTarget($(TOP)/lib,krb5,$(OBJS))
+SubdirLibraryRule($(OBJS))
DependTarget()
#
NormalLibraryObjectRule()
-KRBOBJS= \
+OBJS= \
an_to_ln.o \
def_realm.o \
ccdefname.o \
ustime.o \
write_msg.o
-DESOBJS= \
- rnd_confoun.o
-
-OBJS = $(KRBOBJS) $(DESOBJS)
-
-
SRCS= \
$(SRCDIR)an_to_ln.c \
$(SRCDIR)def_realm.c \
$(SRCDIR)read_msg.c \
$(SRCDIR)read_pwd.c \
$(SRCDIR)port2ip.c \
- $(SRCDIR)rnd_confoun.c \
$(SRCDIR)sendto_kdc.c \
$(SRCDIR)sn2princ.c \
$(SRCDIR)timeofday.c \
$(SRCDIR)ustime.c \
$(SRCDIR)write_msg.c
-OtherdirLibraryTarget(..,$(DESLIB),localaddr.o ustime.o $(DESOBJS))
-
-OtherdirLibraryTarget(..,krb5,$(KRBOBJS))
+SubdirLibraryRule($(OBJS))
DependTarget()
--- /dev/null
+# $Source$
+# $Author$
+# $Id$
+#
+# Copyright 1990,1991 by the Massachusetts Institute of Technology.
+# All Rights Reserved.
+#
+# Export of this software from the United States of America is assumed
+# to require a specific license from the United States Government.
+# It is the responsibility of any person or organization contemplating
+# export to obtain such a license before exporting.
+#
+# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+# distribute this software and its documentation for any purpose and
+# without fee is hereby granted, provided that the above copyright
+# notice appear in all copies and that both that copyright notice and
+# this permission notice appear in supporting documentation, and that
+# the name of M.I.T. not be used in advertising or publicity pertaining
+# to distribution of the software without specific, written prior
+# permission. M.I.T. makes no representations about the suitability of
+# this software for any purpose. It is provided "as is" without express
+# or implied warranty.
+#
+#
+#define PassCDebugFlags
+NormalLibraryObjectRule()
+
+#ifdef HasVfprintf
+VPOBJS=
+VPSRCS=
+#else
+VPOBJS=vfprintf.o vsprintf.o
+VPSRCS=$(SRCDIR)vfprintf.c $(SRCDIR)vsprintf.c
+#endif
+#ifdef HasVsyslog
+VSOBJS=
+VSSRCS=
+#else
+VSOBJS=syslog.o
+VSSRCS=$(SRCDIR)syslog.c
+#endif
+#ifdef HasStrdup
+STOBJS=
+STSRCS=
+#else
+STOBJS=strdup.o
+STSRCS=$(SRCDIR)strdup.c
+#endif
+#ifndef HasStrerror
+PEOBJS=perror.o
+PESRCS=$(SRCDIR)perror.c
+#endif
+
+INCLUDES=$(STDC_TOP_INCLUDES)
+
+OBJS = $(PEOBJS) $(VSOBJS) $(VPOBJS) $(STOBJS)
+
+SRCS = $(PESRCS) $(VSSRCS) $(VPSRCS) $(STSRCS)
+
+SubdirLibraryRule($(OBJS))
+
+DependTarget()
$(SRCDIR)rcdef.c \
$(SRCDIR)rc_conv.c
-OtherdirLibraryTarget($(TOP)/lib,krb5,$(OBJS))
+SubdirLibraryRule($(OBJS))
DependTarget()