+Fri May 26 20:12:37 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in, Makefile.in: Add support for building shared libraries.
+
Sat Apr 22 10:58:49 1995 Ezra Peisach (epeisach@kangaroo.mit.edu)
* configure.in: Add rule for make check to descend to subdirs
LIB_SUBDIRS= error_tables asn.1 ccache ccache/stdio ccache/file \
keytab keytab/file krb rcache free os posix $(BUILDTOP)/util/profile
LIBUPDATE= $(BUILDTOP)/util/libupdate
+LIBDONE= 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 \
+ $(BUILDTOP)/util/profile/DONE
all:: all-$(WHAT)
all-windows::
-libkrb5_ranlib: libkrb5.a
- $(RANLIB) libkrb5.a
- touch $@
-
-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 \
- $(BUILDTOP)/util/profile/DONE
+libkrb5.a: $(LIBDONE)
if test -f $@ ; then \
for i in $(LIB_SUBDIRS) ; \
do \
$(LIBUPDATE) --force $@ $$i/DONE $$i ; \
done ; \
fi
- touch libkrb5.stamp
+ $(RANLIB) libkrb5.a
-install:: libkrb5_ranlib
+install::
$(INSTALL_DATA) libkrb5.a $(DESTDIR)$(KRB5_LIBDIR)/libkrb5.a
$(RANLIB) $(DESTDIR)$(KRB5_LIBDIR)/libkrb5.a
clean:: clean-$(WHAT)
clean-unix::
- $(RM) libkrb5.$(LIBEXT) libkrb5_ranlib libkrb5.stamp
+ $(RM) libkrb5.$(LIBEXT)
clean-windows::
$(RM) krb5.lib krb5.bak
+Fri May 26 20:19:15 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in, Makefile.in: Add support for building shared libraries.
+
Tue May 23 16:22:57 1995 Theodore Y. Ts'o (tytso@dcl)
* asn1_decode.c: Rearrange #include files so that krb5.h gets
EHDRDIR=$(BUILDTOP)/include/krb5/asn.1
+.c.o:
+ $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+@SHARED_RULE@
+
SRCS= \
$(srcdir)asn1_decode.c\
$(srcdir)asn1_k_decode.c\
asn1_k_encode.$(OBJEXT)\
asn1_misc.$(OBJEXT)
-all:: $(OBJS)
+all:: all-$(WHAT)
+
+all-unix:: shared $(OBJS)
+all-mac:: $(OBJS)
+all-windows:: $(OBJS)
+
+shared:
+ mkdir shared
clean:: clean-$(WHAT)
clean-unix::
- $(RM) $(OBJS)
+ $(RM) shared/* $(OBJS)
clean-mac::
$(RM) $(OBJS)
AC_INIT(configure.in)
WITH_CCOPTS
-WITH_CPPOPTS dnl since we're not doing CONFIG_RULES
-WITH_CC dnl since we're not doing CONFIG_RULES
-dnl CONFIG_RULES
+CONFIG_RULES
AC_SET_BUILDTOP
+V5_SHARED_LIB_OBJS
SubdirLibraryRule([${OBJS}])
KRB_INCLUDE
V5_AC_OUTPUT_MAKEFILE
+Fri May 26 20:19:26 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in, Makefile.in: Add support for building shared libraries.
+
Thu Apr 13 15:49:16 1995 Keith Vetter (keithv@fusion.com)
* ccbase.c: removed unneeded INTERFACE from non-api functions.
##DOSLIBNAME=..\krb5.lib
##DOS!include $(BUILDTOP)\config\windows.in
+.c.o:
+ $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+@SHARED_RULE@
+
OBJS= ccbase.$(OBJEXT) \
ccdefault.$(OBJEXT) \
ccdefops.$(OBJEXT)
$(srcdir)/ccdefault.c \
$(srcdir)/ccdefops.c
-all:: $(OBJS) all-$(WHAT)
+all:: all-$(WHAT)
+
+all-unix:: shared $(OBJS)
-all-unix::
-all-mac::
-all-windows::
+all-mac:: $(OBJS)
+all-windows:: $(OBJS)
cd FILE
@echo Making in ccache\file
-$(MAKE) -$(MFLAGS) LIBCMD=$(LIBCMD)
cd ..
+shared:
+ mkdir shared
+
clean:: clean-$(WHAT)
clean-unix::
+ $(RM) shared/*
+
clean-mac:
clean-windows::
cd FILE
AC_PROG_RANLIB
MAKE_SUBDIRS("making",all)
MAKE_SUBDIRS("cleaning",clean)
+V5_SHARED_LIB_OBJS
SubdirLibraryRule([$(OBJS)])
KRB_INCLUDE
V5_AC_OUTPUT_MAKEFILE
+Fri May 26 20:19:39 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in, Makefile.in: Add support for building shared libraries.
+
Thu May 25 15:37:39 1995 Keith Vetter (keithv@fusion.com)
* fcc_maybe.c: the NEED_SOCKETS has to be before the #include line.
##DOSLIBNAME=..\..\krb5.lib
##DOS!include $(BUILDTOP)\config\windows.in
+.c.o:
+ $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+@SHARED_RULE@
+
OBJS = fcc_close.$(OBJEXT) fcc_destry.$(OBJEXT) fcc_eseq.$(OBJEXT) \
fcc_gennew.$(OBJEXT) fcc_getnam.$(OBJEXT) fcc_gprin.$(OBJEXT) \
fcc_init.$(OBJEXT) fcc_nseq.$(OBJEXT) fcc_read.$(OBJEXT) \
$(srcdir)/fcc_write.c $(srcdir)/fcc_sflags.c $(srcdir)/fcc_defops.c \
$(srcdir)/fcc_errs.c $(srcdir)/fcc_maybe.c
-all:: $(OBJS)
+all:: all-$(WHAT)
+
+all-unix:: shared $(OBJS)
+all-mac:: $(OBJS)
+all-windows:: $(OBJS)
+
+shared:
+ mkdir shared
+
+clean:: clean-$(WHAT)
+
+clean-unix::
+ $(RM) shared/*
+clean-mac::
+clean-windows::
CONFIG_RULES
AC_HAVE_HEADERS(unistd.h)
AC_FUNC_CHECK(flock,AC_DEFINE(HAVE_FLOCK))
+V5_SHARED_LIB_OBJS
SubdirLibraryRule([${OBJS}])
KRB_INCLUDE
V5_AC_OUTPUT_MAKEFILE
+Fri May 26 20:19:49 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in, Makefile.in: Add support for building shared libraries.
+
Thu Apr 13 16:32:12 1995 Keith Vetter (keithv@fusion.com)
* scc_genn.c: __STDC__ conditional also checks the _WINDOWS define.
CFLAGS = $(CCOPTS) $(DEFS)
+.c.o:
+ $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+@SHARED_RULE@
+
OBJS = scc_close.o scc_destry.o scc_eseq.o \
scc_gennew.o scc_getnam.o scc_gprin.o scc_init.o \
scc_nseq.o scc_read.o scc_reslv.o scc_retrv.o \
$(srcdir)/scc_errs.c $(srcdir)/scc_maybe.c
-all:: $(OBJS)
+all:: all-$(WHAT)
+
+all-unix:: shared $(OBJS)
+all-mac:: $(OBJS)
+all-windows:: $(OBJS)
test: ${OBJS} scc_test.o
${CC} -o test ${OBJS} scc_test.o
+shared:
+ mkdir shared
+
+clean:: clean-$(WHAT)
+
+clean-unix::
+ $(RM) shared/*
+
+clean-mac::
+clean-windows::
+
+
WITH_CCOPTS
AC_SET_BUILDTOP
CONFIG_RULES
+V5_SHARED_LIB_OBJS
SubdirLibraryRule([${OBJS}])
KRB_INCLUDE
V5_AC_OUTPUT_MAKEFILE
MAKE_SUBDIRS("making",all)
MAKE_SUBDIRS("cleaning",clean)
MAKE_SUBDIRS("checking",check)
-AppendRule([all:: libkrb5.a libkrb5_ranlib])
+AppendRule([all:: libkrb5.a])
+V5_MAKE_SHARED_LIB(libkrb5)
V5_AC_OUTPUT_MAKEFILE
+Fri May 26 20:19:59 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in, Makefile.in: Add support for building shared libraries.
+
Tue May 23 16:46:30 1995 Theodore Y. Ts'o (tytso@dcl)
* Makefile.in: Don't install the error table header files; they
#SRCTOP2 = $(BUILDTOP2)
#EHDRDIR2=$(BUILDTOP2)/include/krb5
+.c.o:
+ $(CC) $(CFLAGS) -c $*.c
+@SHARED_RULE_LOCAL@
+
HDRS= asn1_err.h kdb5_err.h krb5_err.h kv5m_err.h adm_err.h
OBJS= asn1_err.$(OBJEXT) kdb5_err.$(OBJEXT) krb5_err.$(OBJEXT) \
kv5m_err.$(OBJEXT) adm_err.$(OBJEXT) init_ets.$(OBJEXT)
all:: all-$(WHAT)
-all-unix:: $(HDRS) includes $(OBJS)
+all-unix:: $(HDRS) includes shared $(OBJS)
all-mac:: $(OBJS)
all-windows:: $(OBJS)
+shared:
+ mkdir shared
+
unixmac: $(HDRS) includes $(SRCS)
awk-windows:
clean:: clean-$(WHAT)
clean-unix:: clean-hdrs
- $(RM) $(HDRS) $(ETSRCS)
+ $(RM) $(HDRS) $(ETSRCS) shared/*
clean-mac:: clean-hdrs
$(RM) $(HDRS) $(ETSRCS)
clean-windows::
+init_ets.o: $(srcdir)/init_ets.c
+ $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+@SHARED_RULE@
includes:: $(HDRS)
for x in $(HDRS); do \
ET_RULES
SS_RULES
KRB_INCLUDE
+V5_SHARED_LIB_OBJS
SubdirLibraryRule([${OBJS}])
V5_AC_OUTPUT_MAKEFILE
+Fri May 26 20:20:10 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in, Makefile.in: Add support for building shared libraries.
+
Thu Apr 13 15:49:16 1995 Keith Vetter (keithv@fusion.com)
* *.[ch]: removed unneeded INTERFACE from non-api functions.
##DOSLIBNAME=..\krb5.lib
##DOS!include $(BUILDTOP)\config\windows.in
+.c.o:
+ $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+@SHARED_RULE@
+
OBJS= \
f_addr.$(OBJEXT) \
f_address.$(OBJEXT) \
$(srcdir)/f_cred.c \
$(srcdir)/f_cred_enc.c
-all:: $(OBJS)
+all:: all-$(WHAT)
+
+all-unix:: shared $(OBJS)
+all-mac:: $(OBJS)
+all-windows:: $(OBJS)
+
+shared:
+ mkdir shared
+
+clean:: clean-$(WHAT)
+
+clean-unix::
+ $(RM) shared/*
+
+clean-mac::
+clean-windows::
+
WITH_CCOPTS
AC_SET_BUILDTOP
CONFIG_RULES
+V5_SHARED_LIB_OBJS
SubdirLibraryRule([${OBJS}])
KRB_INCLUDE
V5_AC_OUTPUT_MAKEFILE
+Fri May 26 20:20:18 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in, Makefile.in: Add support for building shared libraries.
+
Thu Apr 13 15:49:16 1995 Keith Vetter (keithv@fusion.com)
* *.c: removed unneeded INTERFACE from non-api functions.
##DOSLIBNAME=..\krb5.lib
##DOS!include $(BUILDTOP)\config\windows.in
+.c.o:
+ $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+@SHARED_RULE@
+
OBJS= \
ktadd.$(OBJEXT) \
ktbase.$(OBJEXT) \
$(srcdir)/ktremove.c \
$(srcdir)/read_servi.c
-all:: $(OBJS) all-$(WHAT)
+all:: all-$(WHAT)
+
+shared:
+ mkdir shared
-all-unix::
-all-mac::
-all-windows::
+all-unix:: shared $(OBJS)
+all-mac:: $(OBJS)
+all-windows:: $(OBJS)
cd file
@echo Making in keytab\file
-$(MAKE) -$(MFLAGS) LIBCMD=$(LIBCMD)
clean:: clean-$(WHAT)
clean-unix::
+ $(RM) shared/*
+
clean-mac::
clean-windows::
cd file
AC_PROG_RANLIB
MAKE_SUBDIRS("making",all)
MAKE_SUBDIRS("cleaning",clean)
+V5_SHARED_LIB_OBJS
SubdirLibraryRule([$(OBJS)])
KRB_INCLUDE
V5_AC_OUTPUT_MAKEFILE
+Fri May 26 20:20:29 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in, Makefile.in: Add support for building shared libraries.
+
Thu Apr 13 15:49:16 1995 Keith Vetter (keithv@fusion.com)
* *.[ch]: removed unneeded INTERFACE from non-api functions.
##DOSLIBNAME=..\..\krb5.lib
##DOS!include $(BUILDTOP)\config\windows.in
+.c.o:
+ $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+@SHARED_RULE@
+
SRCS= \
$(srcdir)/ktf_add.c \
$(srcdir)/ktf_endget.c \
ktf_wreslv.$(OBJEXT) \
ktf_defops.$(OBJEXT)
-all:: $(OBJS)
+all:: all-$(WHAT)
+
+all-unix:: shared $(OBJS)
+all-mac:: $(OBJS)
+all-windows:: $(OBJS)
+
+shared:
+ mkdir shared
+
+clean:: clean-$(WHAT)
+
+clean-unix::
+ $(RM) shared/*
+
+clean-mac::
+clean-windows::
WITH_CCOPTS
AC_SET_BUILDTOP
CONFIG_RULES
+V5_SHARED_LIB_OBJS
SubdirLibraryRule([${OBJS}])
KRB_INCLUDE
V5_AC_OUTPUT_MAKEFILE
+Fri May 26 20:20:58 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in, Makefile.in: Add support for building shared libraries.
+
Thu May 25 15:33:45 1995 Keith Vetter (keithv@fusion.com)
* os-proto.h: moved prototype for krb5_make_fulladdr to
##DOSLIBNAME=..\krb5.lib
##DOS!include $(BUILDTOP)\config\windows.in
+.c.o:
+ $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+@SHARED_RULE@
+
OBJS= \
an_to_ln.$(OBJEXT) \
def_realm.$(OBJEXT) \
$(srcdir)/ustime.c \
$(srcdir)/write_msg.c
-all:: $(OBJS)
+all:: all-$(WHAT)
+
+all-unix:: shared $(OBJS)
+
+all-mac:: $(OBJS)
+
+all-windows:: $(OBJS)
+
+shared:
+ mkdir shared
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
cmp test.out $(srcdir)/ref_std_conf.out
$(RM) test.out
-clean::
+clean:: clean-$(WHAT)
$(RM) $(TEST_PROGS) test.out t_std_conf.o
+
+clean-unix::
+ $(RM) shared/*
+clean-mac::
+clean-windows::
+
AC_HAVE_HEADERS(unistd.h sys/time.h)
AC_HEADER_EGREP(time_t, sys/types.h, AC_DEFINE(POSIX_TYPES))
HAS_ANSI_VOLATILE
+V5_SHARED_LIB_OBJS
SubdirLibraryRule([${OBJS}])
KRB_INCLUDE
V5_AC_OUTPUT_MAKEFILE
+Fri May 26 20:21:09 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in, Makefile.in: Add support for building shared libraries.
+
Tue May 23 16:30:03 1995 Theodore Y. Ts'o (tytso@dcl)
* daemon.c: Rearrange #include files so that krb5.h gets included
##DOSLIBNAME=..\krb5.lib
##DOS!include $(BUILDTOP)\config\windows.in
+.c.o:
+ $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+@SHARED_RULE@
+
OBJS = @LIBOBJS@
all:: all-$(WHAT)
-all-unix:: $(OBJS)
+all-unix:: shared $(OBJS)
all-mac: $(OBJS)
all-windows:: syslog.obj
+
+shared:
+ mkdir shared
+
+clean:: clean-$(WHAT)
+
+clean-unix::
+ $(RM) shared/*
+
+clean-mac::
+clean-windows::
+
+
AC_SET_BUILDTOP
CONFIG_RULES
SubdirLibraryRule([${OBJS}])
+V5_SHARED_LIB_OBJS
KRB_INCLUDE
AC_CONST
AC_HEADER_CHECK(paths.h,AC_DEFINE(HAS_PATHS_H))
+Fri May 26 20:21:19 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in, Makefile.in: Add support for building shared libraries.
+
Tue May 23 16:30:29 1995 Theodore Y. Ts'o (tytso@dcl)
* rc_io.c: Rearrange #include files so that krb5.h gets included
##DOSLIBNAME=..\krb5.lib
##DOS!include $(BUILDTOP)\config\windows.in
+.c.o:
+ $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+@SHARED_RULE@
+
OBJS= \
rc_base.$(OBJEXT) \
rc_dfl.$(OBJEXT) \
$(srcdir)/rcdef.c \
$(srcdir)/rc_conv.c
-all:: $(OBJS)
+all:: all-$(WHAT)
+
+all-unix:: shared $(OBJS)
+all-mac:: $(OBJS)
+all-windows:: $(OBJS)
+
+shared:
+ mkdir shared
+
+clean:: clean-$(WHAT)
+
+clean-mac::
+clean-windows::
+
+clean-unix::
+ $(RM) shared/*
WITH_CCOPTS
AC_SET_BUILDTOP
CONFIG_RULES
+V5_SHARED_LIB_OBJS
SubdirLibraryRule([${OBJS}])
KRB_INCLUDE
AC_TYPE_UID_T
Fri May 26 20:07:13 1995 Theodore Y. Ts'o (tytso@dcl)
- * configure.in, Makefile.in: Add support for shared libraries.
+ * configure.in, Makefile.in: Add support for building shared libraries.
Sat May 6 17:21:59 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>