From: Mark Eichin Date: Thu, 9 Jun 1994 23:07:20 +0000 (+0000) Subject: autoconf enhancements for kerberos X-Git-Tag: krb5-1.0-beta4~161 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bfada90ca02dc1dc5c554eddf8ccba269e24ab99;p=krb5.git autoconf enhancements for kerberos git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3690 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/admin/Makefile.in b/src/admin/Makefile.in new file mode 100644 index 000000000..e2d867610 --- /dev/null +++ b/src/admin/Makefile.in @@ -0,0 +1,22 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g +LDFLAGS = -g + +SUBDIRS = @SUBDIRS@ + +RM = rm -f +CP = cp +RANLIB = @RANLIB@ +ARCHIVE = @ARCHIVE@ +LN = @LN_S@ + +KRB5ROOT = @KRB5ROOT@ +KRB5_LIBDIR = $(KRB5ROOT)/lib + +all:: + diff --git a/src/admin/aname/Makefile.in b/src/admin/aname/Makefile.in new file mode 100644 index 000000000..160c7c17f --- /dev/null +++ b/src/admin/aname/Makefile.in @@ -0,0 +1,33 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=../.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= +KDBLIB=$(TOPLIBD)/libkdb5.a + +all:: + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + + +DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) +LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) + +all:: kdb5_anadd + +kdb5_anadd: kdb5_anadd.o $(DEPLIBS) + $(CC) $(CFLAGS) -o kdb5_anadd kdb5_anadd.o $(LOCAL_LIBRARIES) $(LIBS) + +install:: + $(INSTALLPROG) kdb5_anadd ${DESTDIR}$(ADMIN_BINDIR)/kdb5_anadd + $(INSTALLPROG) kdb5_anadd.M ${DESTDIR}$(ADMIN_MANDIR)/kdb5_anadd.$(ADMIN_MANSUFFIX) diff --git a/src/admin/aname/configure.in b/src/admin/aname/configure.in new file mode 100644 index 000000000..0fafabf57 --- /dev/null +++ b/src/admin/aname/configure.in @@ -0,0 +1,7 @@ +AC_INIT(kdb5_anadd.c) +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/admin/configure.in b/src/admin/configure.in new file mode 100644 index 000000000..e87fb4df0 --- /dev/null +++ b/src/admin/configure.in @@ -0,0 +1,7 @@ +AC_INIT(configure.in) +CONFIG_DIRS(create destroy edit stash aname convert) +MAKE_SUBDIRS("making",all) +MAKE_SUBDIRS("cleaning",clean) +CONFIG_RULES +WITH_KRB5ROOT +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/admin/convert/Makefile.in b/src/admin/convert/Makefile.in new file mode 100644 index 000000000..980e4deb0 --- /dev/null +++ b/src/admin/convert/Makefile.in @@ -0,0 +1,36 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=../.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= +KDBLIB=$(TOPLIBD)/libkdb5.a +KDB4LIB=/usr/kerberos/lib/libkdb.a +KRB4LIB=/usr/kerberos/lib/libkrb.a /usr/kerberos/lib/libdes.a + +all:: + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + + +DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) +LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) $(KDB4LIB) $(KRB4LIB) +LOCALINCLUDE=-I$(SRCTOP)/include/kerberosIV -I$(BUILDTOP)/include/kerberosIV + +all:: kdb5_convert + +kdb5_convert: kdb5_convert.o $(DEPLIBS) + $(CC) $(CFLAGS) -o kdb5_convert kdb5_convert.o $(LOCAL_LIBRARIES) $(LIBS) + +install:: + $(INSTALLPROG) kdb5_convert ${DESTDIR}$(ADMIN_BINDIR)/kdb5_convert + $(INSTALLPROG) kdb5_convert.M ${DESTDIR}$(ADMIN_MANDIR)/kdb5_convert.$(ADMIN_MANSUFFIX) diff --git a/src/admin/convert/configure.in b/src/admin/convert/configure.in new file mode 100644 index 000000000..471a94964 --- /dev/null +++ b/src/admin/convert/configure.in @@ -0,0 +1,7 @@ +AC_INIT(kdb5_convert.c) +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/admin/create/Makefile.in b/src/admin/create/Makefile.in new file mode 100644 index 000000000..0ebe65c61 --- /dev/null +++ b/src/admin/create/Makefile.in @@ -0,0 +1,33 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=../.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= +KDBLIB=$(TOPLIBD)/libkdb5.a + +all:: + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + + +DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) +LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) + +all:: kdb5_create + +kdb5_create: kdb5_create.o $(DEPLIBS) + $(CC) $(CFLAGS) -o kdb5_create kdb5_create.o $(LOCAL_LIBRARIES) $(LIBS) + +install:: + $(INSTALLPROG) kdb5_create ${DESTDIR}$(ADMIN_BINDIR)/kdb5_create + $(INSTALLPROG) kdb5_create.M ${DESTDIR}$(ADMIN_MANDIR)/kdb5_create.$(ADMIN_MANSUFFIX) diff --git a/src/admin/create/configure.in b/src/admin/create/configure.in new file mode 100644 index 000000000..d2310e478 --- /dev/null +++ b/src/admin/create/configure.in @@ -0,0 +1,7 @@ +AC_INIT(kdb5_create.c) +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/admin/destroy/Makefile.in b/src/admin/destroy/Makefile.in new file mode 100644 index 000000000..508ff06b7 --- /dev/null +++ b/src/admin/destroy/Makefile.in @@ -0,0 +1,33 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=../.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= +KDBLIB=$(TOPLIBD)/libkdb5.a + +all:: + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + + +DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) +LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) + +all:: kdb5_destroy + +kdb5_destroy: kdb5_destroy.o $(DEPLIBS) + $(CC) $(CFLAGS) -o kdb5_destroy kdb5_destroy.o $(LOCAL_LIBRARIES) $(LIBS) + +install:: + $(INSTALLPROG) kdb5_destroy ${DESTDIR}$(ADMIN_BINDIR)/kdb5_destroy + $(INSTALLPROG) kdb5_destroy.M ${DESTDIR}$(ADMIN_MANDIR)/kdb5_destroy.$(ADMIN_MANSUFFIX) diff --git a/src/admin/destroy/configure.in b/src/admin/destroy/configure.in new file mode 100644 index 000000000..88f8fb545 --- /dev/null +++ b/src/admin/destroy/configure.in @@ -0,0 +1,7 @@ +AC_INIT(kdb5_destroy.c) +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/admin/edit/Makefile.in b/src/admin/edit/Makefile.in new file mode 100644 index 000000000..3d5df5a6e --- /dev/null +++ b/src/admin/edit/Makefile.in @@ -0,0 +1,48 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=../.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +SSLIB=$(BUILDTOP)/util/ss/libss.a +DBMLIB= +KDBLIB=$(TOPLIBD)/libkdb5.a + +all:: + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(SSLIB) $(COMERRLIB) $(DBMLIB) + + +DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) +LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) + +OBJS= kdb5_edit.o kdb5_ed_ct.o util.o dump.o +SRCS= $(srcdir)/kdb5_edit.c $(srcdir)/kdb5_ed_ct.c $(srcdir)/util.c $(srcdir)/dump.c + +all:: kdb5_edit + +kdb5_edit: kdb5_edit.o $(DEPLIBS) $(OBJS) + $(CC) $(CFLAGS) -o kdb5_edit $(OBJS) $(LOCAL_LIBRARIES) $(LIBS) + +install:: + $(INSTALLPROG) kdb5_edit ${DESTDIR}$(ADMIN_BINDIR)/kdb5_edit + $(INSTALLPROG) kdb5_edit.M ${DESTDIR}$(ADMIN_MANDIR)/kdb5_edit.$(ADMIN_MANSUFFIX) + +# needed until we run makedepend +kdb5_ed_ct.c: kdb5_ed_ct.ct + +kdb5_ed_ct.o: kdb5_ed_ct.c + +clean:: + $(RM) kdb5_ed_ct.c + +depend:: kdb5_ed_ct.c + diff --git a/src/admin/edit/configure.in b/src/admin/edit/configure.in new file mode 100644 index 000000000..5b80c3106 --- /dev/null +++ b/src/admin/edit/configure.in @@ -0,0 +1,8 @@ +AC_INIT(kdb5_edit.c) +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +SS_RULES +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/admin/stash/Makefile.in b/src/admin/stash/Makefile.in new file mode 100644 index 000000000..9ac8c6d3c --- /dev/null +++ b/src/admin/stash/Makefile.in @@ -0,0 +1,33 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=../.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= +KDBLIB=$(TOPLIBD)/libkdb5.a + +all:: + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + + +DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) +LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) + +all:: kdb5_stash + +kdb5_stash: kdb5_stash.o $(DEPLIBS) + $(CC) $(CFLAGS) -o kdb5_stash kdb5_stash.o $(LOCAL_LIBRARIES) $(LIBS) + +install:: + $(INSTALLPROG) kdb5_stash ${DESTDIR}$(ADMIN_BINDIR)/kdb5_stash + $(INSTALLPROG) kdb5_stash.M ${DESTDIR}$(ADMIN_MANDIR)/kdb5_stash.$(ADMIN_MANSUFFIX) diff --git a/src/admin/stash/configure.in b/src/admin/stash/configure.in new file mode 100644 index 000000000..ee61debce --- /dev/null +++ b/src/admin/stash/configure.in @@ -0,0 +1,7 @@ +AC_INIT(kdb5_stash.c) +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/appl/Makefile.in b/src/appl/Makefile.in new file mode 100644 index 000000000..2cc270244 --- /dev/null +++ b/src/appl/Makefile.in @@ -0,0 +1,13 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g +LDFLAGS = -g + +SUBDIRS = @SUBDIRS@ + + + diff --git a/src/appl/configure.in b/src/appl/configure.in new file mode 100644 index 000000000..ade63b8ea --- /dev/null +++ b/src/appl/configure.in @@ -0,0 +1,6 @@ +AC_INIT(configure.in) +CONFIG_DIRS(telnet sample simple bsd popper movemail user_user) +MAKE_SUBDIRS("making",all) +MAKE_SUBDIRS("cleaning",clean) +CONFIG_RULES +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/appl/telnet/Makefile.in b/src/appl/telnet/Makefile.in new file mode 100644 index 000000000..efe7e891e --- /dev/null +++ b/src/appl/telnet/Makefile.in @@ -0,0 +1,21 @@ +TELNET_OPSYS= @TELNET@ + +all:: + cd libtelnet; make CC="${CC}" TELNET_OPSYS=$(TELNET_OPSYS) + cd telnet; make CC="${CC}" TELNET_OPSYS=$(TELNET_OPSYS) + cd telnetd; make CC="${CC}" TELNET_OPSYS=$(TELNET_OPSYS) + +clean:: + cd libtelnet; make CC="${CC}" TELNET_OPSYS=$(TELNET_OPSYS) clean + cd telnet; make CC="${CC}" TELNET_OPSYS=$(TELNET_OPSYS) clean + cd telnetd; make CC="${CC}" TELNET_OPSYS=$(TELNET_OPSYS) clean + +install:: + cd libtelnet; make CC="${CC}" DESTDIR=$(DESTDIR) \ + TELNET_OPSYS=$(TELNET_OPSYS) install + cd telnet; make CC="${CC}" DESTDIR=$(DESTDIR) \ + TELNET_OPSYS=$(TELNET_OPSYS) install + cd telnetd; make CC="${CC}" DESTDIR=$(DESTDIR) \ + TELNET_OPSYS=$(TELNET_OPSYS) install + + diff --git a/src/appl/telnet/configure.in b/src/appl/telnet/configure.in new file mode 100644 index 000000000..d84b86095 --- /dev/null +++ b/src/appl/telnet/configure.in @@ -0,0 +1,4 @@ +AC_INIT(configure.in) +CONFIG_DIRS(libtelnet telnet telnetd) +CONFIG_RULES +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/appl/telnet/libtelnet/Makefile.in b/src/appl/telnet/libtelnet/Makefile.in new file mode 100644 index 000000000..9d0519958 --- /dev/null +++ b/src/appl/telnet/libtelnet/Makefile.in @@ -0,0 +1,53 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= + +all:: + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + + +# +# Everything happens in ../Makefile.config and Makefile.generic +# + +all: + @-if [ -f ../Config.local ]; \ + then \ + echo make -f ../Config.local WHAT="" CC="${CC}" \ + KLIB="$(KLIB)" DEPKLIB="$(DEPKLIB)"; \ + make -f ../Config.local WHAT="" CC="${CC}" \ + KLIB="$(KLIB)" DEPKLIB="$(DEPKLIB)"; \ + else \ + echo make -f ../Config.generic WHAT="" CC="${CC}" \ + KLIB="$(KLIB)" DEPKLIB="$(DEPKLIB)" $(TELNET_OPSYS); \ + make -f ../Config.generic WHAT="" CC="${CC}" \ + KLIB="$(KLIB)" DEPKLIB="$(DEPKLIB)" $(TELNET_OPSYS); \ + fi + +.DEFAULT: + @-if [ -f ../Config.local ]; \ + then \ + echo make -f ../Config.local WHAT=$@ CC="${CC}" \ + DESTDIR=$(DESTDIR) DEST=$(DEST) $(TELNET_OPSYS); \ + make -f ../Config.local WHAT=$@ CC="${CC}" \ + DESTDIR=$(DESTDIR) DEST=$(DEST) $(TELNET_OPSYS); \ + else \ + echo make -f ../Config.generic WHAT=$@ CC="${CC}" \ + DESTDIR=$(DESTDIR) DEST=$(DEST) $(TELNET_OPSYS); \ + make -f ../Config.generic WHAT=$@ CC="${CC}" \ + DESTDIR=$(DESTDIR) DEST=$(DEST) $(TELNET_OPSYS); \ + fi + diff --git a/src/appl/telnet/libtelnet/configure.in b/src/appl/telnet/libtelnet/configure.in new file mode 100644 index 000000000..15e2337d5 --- /dev/null +++ b/src/appl/telnet/libtelnet/configure.in @@ -0,0 +1,5 @@ +AC_INIT(auth.c) +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/clients/Makefile.in b/src/clients/Makefile.in new file mode 100644 index 000000000..2cc270244 --- /dev/null +++ b/src/clients/Makefile.in @@ -0,0 +1,13 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g +LDFLAGS = -g + +SUBDIRS = @SUBDIRS@ + + + diff --git a/src/clients/configure.in b/src/clients/configure.in new file mode 100644 index 000000000..a66530a61 --- /dev/null +++ b/src/clients/configure.in @@ -0,0 +1,6 @@ +AC_INIT(configure.in) +CONFIG_DIRS(klist kinit kdestroy) +MAKE_SUBDIRS("making",all) +MAKE_SUBDIRS("cleaning",clean) +CONFIG_RULES +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/clients/kdestroy/Makefile.in b/src/clients/kdestroy/Makefile.in new file mode 100644 index 000000000..ec8bccba1 --- /dev/null +++ b/src/clients/kdestroy/Makefile.in @@ -0,0 +1,34 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=../.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= + +all:: + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + +kdestroy: kdestroy.o + $(CC) $(CFLAGS) -o kdestroy kdestroy.o $(KLIB) + +kdestroy.o: $(srcdir)/kdestroy.c + +all:: kdestroy + + +clean:: + $(RM) kdestroy.o kdestroy + +install:: + $(INSTALLPROG) kdestroy ${DESTDIR}$(CLIENT_BINDIR)/kdestroy + $(INSTALLPROG) kdestroy.M ${DESTDIR}$(CLIENT_MANDIR)/kdestroy.$(CLIENT_MANSUFFIX) diff --git a/src/clients/kdestroy/configure.in b/src/clients/kdestroy/configure.in new file mode 100644 index 000000000..3b43bb629 --- /dev/null +++ b/src/clients/kdestroy/configure.in @@ -0,0 +1,5 @@ +AC_INIT(kdestroy.c) +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/clients/kinit/Makefile.in b/src/clients/kinit/Makefile.in new file mode 100644 index 000000000..ff9b5ed5b --- /dev/null +++ b/src/clients/kinit/Makefile.in @@ -0,0 +1,34 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=../.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= + +all:: + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + +kinit: kinit.o + $(CC) $(CFLAGS) -o kinit kinit.o $(KLIB) $(LIBS) + +kinit.o: $(srcdir)/kinit.c + +all:: kinit + + +clean:: + $(RM) kinit.o kinit + +install:: + $(INSTALLPROG) kinit ${DESTDIR}$(CLIENT_BINDIR)/kinit + $(INSTALLPROG) kinit.M ${DESTDIR}$(CLIENT_MANDIR)/kinit.$(CLIENT_MANSUFFIX) diff --git a/src/clients/kinit/configure.in b/src/clients/kinit/configure.in new file mode 100644 index 000000000..d380cf2a0 --- /dev/null +++ b/src/clients/kinit/configure.in @@ -0,0 +1,7 @@ +AC_INIT(kinit.c) +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/clients/klist/Makefile.in b/src/clients/klist/Makefile.in new file mode 100644 index 000000000..36d811081 --- /dev/null +++ b/src/clients/klist/Makefile.in @@ -0,0 +1,34 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=../.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= + +all:: + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + +klist: klist.o + $(CC) $(CFLAGS) -o klist klist.o $(KLIB) + +klist.o: $(srcdir)/klist.c + +all:: klist + + +clean:: + $(RM) klist.o klist + +install:: + $(INSTALLPROG) klist ${DESTDIR}$(CLIENT_BINDIR)/klist + $(INSTALLPROG) klist.M ${DESTDIR}$(CLIENT_MANDIR)/klist.$(CLIENT_MANSUFFIX) diff --git a/src/clients/klist/configure.in b/src/clients/klist/configure.in new file mode 100644 index 000000000..10d47de16 --- /dev/null +++ b/src/clients/klist/configure.in @@ -0,0 +1,5 @@ +AC_INIT(klist.c) +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/include/Makefile.in b/src/include/Makefile.in new file mode 100644 index 000000000..bbccd9096 --- /dev/null +++ b/src/include/Makefile.in @@ -0,0 +1,3 @@ +# nothing needed here +srcdir = @srcdir@ +SUBDIRS = @SUBDIRS@ diff --git a/src/include/configure.in b/src/include/configure.in new file mode 100644 index 000000000..3b0a6590a --- /dev/null +++ b/src/include/configure.in @@ -0,0 +1,6 @@ +AC_INIT(configure.in) +CONFIG_DIRS(krb5 kerberosIV) +MAKE_SUBDIRS("making",all) +MAKE_SUBDIRS("cleaning",clean) +CONFIG_RULES +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/include/kerberosIV/Makefile.in b/src/include/kerberosIV/Makefile.in new file mode 100644 index 000000000..c72c0c0b2 --- /dev/null +++ b/src/include/kerberosIV/Makefile.in @@ -0,0 +1,16 @@ +KRB4_HEADERS=krb.h des.h kadm.h mit-copyright.h + +all:: + +clean:: + +depend:: + +KRB5ROOT = @KRB5ROOT@ + +KRB5_INCDIR = $(KRB5ROOT)/include + +install:: $(KRB4_HEADERS) + @set -x; for f in $(KRB4_HEADERS) ; \ + do $(INSTALL) -c $(INSTDATFLAGS) $$f $(KRB5_INCDIR)/kerberosIV/$$f ; \ + done diff --git a/src/include/kerberosIV/configure.in b/src/include/kerberosIV/configure.in new file mode 100644 index 000000000..e216b524a --- /dev/null +++ b/src/include/kerberosIV/configure.in @@ -0,0 +1,4 @@ +AC_INIT(configure.in) +CONFIG_RULES +WITH_KRB5ROOT +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/include/krb5/Makefile.in b/src/include/krb5/Makefile.in new file mode 100644 index 000000000..97160f6d8 --- /dev/null +++ b/src/include/krb5/Makefile.in @@ -0,0 +1,40 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +BUILDTOP = ../.. + +RM = rm -f + +CP = cp + +KRB5_HEADERS = asn1.h base-defs.h ccache.h crc-32.h encryption.h \ + error_def.h errors.h ext-proto.h fieldbits.h \ + free.h func-proto.h hostaddr.h kdb.h kdb_dbm.h \ + keytab.h krb5.h libos.h los-proto.h macros.h mit-des.h \ + narrow.h proto.h rcache.h rsa-md4.h safepriv.h \ + sysincl.h widen.h wordsize.h + +all:: autoconf.h + +includes:: autoconf.h + +# Run a header through a preprocessor to generate an architecture/environment +# specific header file. note that unifdef's exit status will normally be 1, +# indicating some adjustment of the file took place. + +autoconf.h: $(srcdir)/configure + $(srcdir)/configure + +clean:: + $(RM) autoconf.h + +depend:: + +KRB5ROOT = @KRB5ROOT@ + +KRB5_INCDIR = $(KRB5ROOT)/include + +install:: $(KRB5_HEADERS) config.h osconf.h autoconf.h + @set -x; for f in $(KRB5_HEADERS) config.h osconf.h ; \ + do $(INSTALL) -c $(INSTDATFLAGS) $$f $(KRB5_INCDIR)/krb5/$$f ; \ + done diff --git a/src/include/krb5/configure.in b/src/include/krb5/configure.in new file mode 100644 index 000000000..b6a303ef2 --- /dev/null +++ b/src/include/krb5/configure.in @@ -0,0 +1,76 @@ +AC_INIT(config.h) +AC_CONFIG_HEADER(autoconf.h) +HAVE_YYLINENO +AC_FUNC_CHECK(strdup,AC_DEFINE(HAS_STRDUP)) +CHECK_DIRENT +CHECK_FCNTL +CHECK_WAIT_TYPE + +dnl stuff from config.h +AC_HEADER_CHECK(termios.h,AC_FUNC_CHECK([tcsetattr],AC_DEFINE(POSIX_TERMIOS))) + +AC_HEADER_CHECK(flock.h,[echo found flock.h for non-posix locks], +AC_COMPILE_CHECK([POSIX file locking -- structs and flags], +[#include +#include ], +[struct flock f; 1+F_SETLK;], +AC_DEFINE(POSIX_FILE_LOCKS))) + +dnl time_t, only used in lib/krb5/os/timeofday.c +AC_HEADER_EGREP(time_t, sys/types.h, AC_DEFINE(POSIX_TYPES)) + + +dnl AC_RETSIGTYPE isn't quite right, but almost. +AC_COMPILE_CHECK([POSIX signal handlers], +[#include +#include +#ifdef signal +#undef signal +#endif +extern void (*signal ()) ();], , +[AC_DEFINE(krb5_sigtype, void) AC_DEFINE(POSIX_SIGTYPE)], +[AC_DEFINE(krb5_sigtype, int)]) + +AC_HEADER_CHECK(string.h,AC_DEFINE(USE_STRING_H)) +AC_HEADER_CHECK(stdlib.h,AC_DEFINE(HAS_STDLIB_H),AC_DEFINE(NO_STDLIB_H)) +CHECK_STDARG + +dnl this is misused to *also* mean that "b" is needed to fopen binary... +AC_FUNC_CHECK([setvbuf],AC_DEFINE(ANSI_STDIO)) + + +AC_COMPILE_CHECK([prototype support], +[int x(double y, int z);],,AC_DEFINE(KRB5_PROVIDE_PROTOTYPES)) +dnl *never* set NARROW_PROTOTYPES + +AC_COMPILE_CHECK([prototypes in structs], +[typedef int i_t; typedef struct foo { int (*foofn)(i_t, i_t); } *footype;],,, +AC_DEFINE(NO_NESTED_PROTOTYPES)) + +AC_COMPILE_CHECK([void],[void x();], , AC_DEFINE(HAS_VOID_TYPE)) + + +dnl base-defs.h tries to do the same thing anyhow. +dnl HAS_ANSI_CONST is here, but -Dconst= is better... +AC_CONST +AC_DEFINE(HAS_ANSI_CONST) + +AC_COMPILE_CHECK([volatile],[volatile int x();], ,AC_DEFINE(HAS_ANSI_VOLATILE)) + +dnl BITS16, BITS32, BITS64 +AC_DEFINE(BITS32) + +dnl then from osconf.h, we have +AC_TIME_WITH_SYS_TIME +AC_HEADER_CHECK(sys/time.h,AC_DEFINE(USE_SYS_TIME_H)) + +AC_HEADER_CHECK(netinet/in.h,AC_DEFINE(KRB5_USE_INET)) +AC_HEADER_CHECK(unistd.h,AC_DEFINE(HAS_UNISTD_H)) + +AC_HAVE_LIBRARY(-lndbm) +AC_HAVE_LIBRARY(-ldbm) +AC_FUNC_CHECK([dbm_open], , AC_DEFINE(ODBM)) + +CONFIG_RULES +WITH_KRB5ROOT +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/kadmin/Makefile.in b/src/kadmin/Makefile.in new file mode 100644 index 000000000..66b26e480 --- /dev/null +++ b/src/kadmin/Makefile.in @@ -0,0 +1,20 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g +LDFLAGS = -g + +SUBDIRS = @SUBDIRS@ + +RM = rm -f +CP = cp +LN = @LN_S@ + +KRB5ROOT = @KRB5ROOT@ +KRB5_LIBDIR = $(KRB5ROOT)/lib + +all:: + diff --git a/src/kadmin/client/Makefile.in b/src/kadmin/client/Makefile.in new file mode 100644 index 000000000..3f56b59dc --- /dev/null +++ b/src/kadmin/client/Makefile.in @@ -0,0 +1,61 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=../.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +SSLIB=$(BUILDTOP)/util/ss/libss.a +DBMLIB= +KDBLIB=$(TOPLIBD)/libkdb5.a + +all:: + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(SSLIB) $(COMERRLIB) $(DBMLIB) + +DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) +LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) + + +SRCS = \ + $(srcdir)/kadmin.c \ + $(srcdir)/kadmin_add.c \ + $(srcdir)/kadmin_adr.c \ + $(srcdir)/kadmin_cpr.c \ + $(srcdir)/kadmin_inq.c \ + $(srcdir)/kadmin_msnd.c \ + $(srcdir)/kadmin_mod.c \ + $(srcdir)/kadmin_cpw.c \ + $(srcdir)/kadmin_del.c \ + $(srcdir)/kadmin_done.c + +OBJS = \ + kadmin.o \ + kadmin_add.o \ + kadmin_adr.o \ + kadmin_cpr.o \ + kadmin_inq.o \ + kadmin_msnd.o \ + kadmin_mod.o \ + kadmin_cpw.o \ + kadmin_del.o \ + kadmin_done.o + +all:: kadmin + +kadmin: $(KDBDEPLIB) $(OBJS) $(DEBKLIB) + $(CC) $(CFLAGS) -o kadmin $(OBJS) $(KLIB) $(LIBS) + +install:: + $(INSTALLPROG) kadmin ${DESTDIR}$(CLIENT_BINDIR)/kadmin + $(INSTALLPROG) kadmin.M ${DESTDIR}$(CLIENT_MANDIR)/kadmin.$(CLIENT_MANSUFFIX) + +clean:: + diff --git a/src/kadmin/client/configure.in b/src/kadmin/client/configure.in new file mode 100644 index 000000000..192775cb0 --- /dev/null +++ b/src/kadmin/client/configure.in @@ -0,0 +1,8 @@ +AC_INIT(kadmin.c) +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +ET_RULES +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/kadmin/configure.in b/src/kadmin/configure.in new file mode 100644 index 000000000..a5c516b0e --- /dev/null +++ b/src/kadmin/configure.in @@ -0,0 +1,7 @@ +AC_INIT(configure.in) +CONFIG_DIRS(client kpasswd server) +MAKE_SUBDIRS("making",all) +MAKE_SUBDIRS("cleaning",clean) +CONFIG_RULES +WITH_KRB5ROOT +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/kadmin/kpasswd/Makefile.in b/src/kadmin/kpasswd/Makefile.in new file mode 100644 index 000000000..fbaaa2acb --- /dev/null +++ b/src/kadmin/kpasswd/Makefile.in @@ -0,0 +1,46 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=../.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +SSLIB=$(BUILDTOP)/util/ss/libss.a +DBMLIB= +KDBLIB=$(TOPLIBD)/libkdb5.a + +all:: + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(SSLIB) $(COMERRLIB) $(DBMLIB) + +DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) +LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) + +SRCS = \ + $(srcdir)/networked.c \ + $(srcdir)/kpasswd.c + +OBJS = \ + networked.o \ + kpasswd.o + + +all:: kpasswd + +kpasswd: $(KDBDEPLIB) $(OBJS) $(DEBKLIB) + $(CC) $(CFLAGS) -o kpasswd $(OBJS) $(KLIB) $(LIBS) + +install:: + $(INSTALLPROG) kpasswd ${DESTDIR}$(CLIENT_BINDIR)/kpasswd + $(INSTALLPROG) kpasswd.M ${DESTDIR}$(CLIENT_MANDIR)/kpasswd.$(CLIENT_MANSUFFIX) + +clean:: + + diff --git a/src/kadmin/kpasswd/configure.in b/src/kadmin/kpasswd/configure.in new file mode 100644 index 000000000..169694b38 --- /dev/null +++ b/src/kadmin/kpasswd/configure.in @@ -0,0 +1,8 @@ +AC_INIT(kpasswd.c) +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +ET_RULES +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/kdc/Makefile.in b/src/kdc/Makefile.in new file mode 100644 index 000000000..8f66bb73f --- /dev/null +++ b/src/kdc/Makefile.in @@ -0,0 +1,80 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= +KDBLIB=$(TOPLIBD)/libkdb5.a + +RM = rm -f +CP = cp + +AWK = @AWK@ + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + +all:: + + +#ifdef Krb4KDCCompat +KRB4DEF = -DKRB4 +K4LIB=$(KRB4LIB) +#endif +DEFINES = -DBACKWARD_COMPAT $(KRB4DEF) + +INCLUDES = $(KRB4INCLUDES) -I. +SRCS= \ + kdc5_err.c \ + $(srcdir)/dispatch.c \ + $(srcdir)/do_as_req.c \ + $(srcdir)/do_tgs_req.c \ + $(srcdir)/kdc_util.c \ + $(srcdir)/main.c \ + $(srcdir)/network.c \ + $(srcdir)/policy.c \ + $(srcdir)/extern.c \ + $(srcdir)/replay.c \ + $(srcdir)/kerberos_v4.c + +OBJS= \ + kdc5_err.o \ + dispatch.o \ + do_as_req.o \ + do_tgs_req.o \ + kdc_util.o \ + main.o \ + network.o \ + policy.o \ + extern.o \ + replay.o \ + kerberos_v4.o + +all:: krb5kdc + +depend:: kdc5_err.c + +kdc5_err.c: kdc5_err.et + +kdc5_err.h: kdc5_err.et + +kdc5_err.o: kdc5_err.h + +krb5kdc: $(OBJS) $(KDBDEPLIB) $(DEPKLIB) + $(CC) $(CFLAGS) -o krb5kdc $(OBJS) $(KDBLIB) $(KLIB) $(K4LIB) $(LIBS) + +install:: + $(INSTALLPROG) krb5kdc ${DESTDIR}$(SERVER_BINDIR)/krb5kdc + $(INSTALLPROG) krb5kdc.M ${DESTDIR}$(SERVER_MANDIR)/krb5kdc.$(SERVER_MANSUFFIX) + +clean:: + $(RM) kdc5_err.h kdc5_err.c + diff --git a/src/kdc/configure.in b/src/kdc/configure.in new file mode 100644 index 000000000..cb4a74c69 --- /dev/null +++ b/src/kdc/configure.in @@ -0,0 +1,8 @@ +AC_INIT(main.c) +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +ET_RULES +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in new file mode 100644 index 000000000..50f139975 --- /dev/null +++ b/src/lib/Makefile.in @@ -0,0 +1,31 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g +LDFLAGS = -g + +SUBDIRS = @SUBDIRS@ + +RM = rm -f +CP = cp +RANLIB = @RANLIB@ +ARCHIVE = @ARCHIVE@ +LN = @LN_S@ + +KRB5ROOT = @KRB5ROOT@ +KRB5_LIBDIR = $(KRB5ROOT)/lib + +all:: + +install:: libkrb425.a + $(RM) $(KRB5_LIBDIR)/libkrb425.a + $(CP) libkrb425.a $(KRB5_LIBDIR)/libkrb425.a + $(RANLIB) $(KRB5_LIBDIR)/libkrb425.a + +install:: libdes425.a + $(RM) $(KRB5_LIBDIR)/libdes425.a + $(CP) libdes425.a $(KRB5_LIBDIR)/libdes425.a + $(RANLIB) $(KRB5_LIBDIR)/libdes425.a diff --git a/src/lib/configure.in b/src/lib/configure.in new file mode 100644 index 000000000..876f490e2 --- /dev/null +++ b/src/lib/configure.in @@ -0,0 +1,14 @@ +AC_INIT(configure.in) +CONFIG_DIRS(krb5 kdb des425 krb425 crypto gssapi) +AC_PROG_ARCHIVE +AC_PROG_RANLIB +MAKE_SUBDIRS("making",all) +MAKE_SUBDIRS("cleaning",clean) +LinkFile(libkrb5.a, krb5/libkrb5.a) +LinkFile(libcrypto.a, crypto/libcrypto.a) +LinkFile(libgssapi_krb5.a, gssapi/libgssapi_krb5.a) +AppendRule([all:: libkrb5.a libcrypto.a]) +AppendRule([all:: libgssapi_krb5.a]) +CONFIG_RULES +WITH_KRB5ROOT +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/crypto/Makefile.in b/src/lib/crypto/Makefile.in new file mode 100644 index 000000000..70026ab49 --- /dev/null +++ b/src/lib/crypto/Makefile.in @@ -0,0 +1,39 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +ARCHIVE = @ARCHIVE@ +ARADD = @ARADD@ + +SUBDIRS = @SUBDIRS@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp +RANLIB = @RANLIB@ + +BUILDTOP = ../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +OBJS= cryptoconf.o +SRCS= $(srcdir)/cryptoconf.c + +all:: + +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) + $(RANLIB) $@ + +install:: libcrypto.a + $(RM) $(KRB5_LIBDIR)/lib/libcrypto.a + $(CP) libcrypto.a $(KRB5_LIBDIR)/lib/libcrypto.a + $(RANLIB) $(KRB5_LIBDIR)/lib/libcrypto.a diff --git a/src/lib/crypto/configure.in b/src/lib/crypto/configure.in new file mode 100644 index 000000000..dd05b0eb9 --- /dev/null +++ b/src/lib/crypto/configure.in @@ -0,0 +1,11 @@ +AC_INIT(configure.in) +CONFIG_DIRS(des crc32 md4 md5 os) +AC_PROG_ARCHIVE +AC_PROG_ARCHIVE_ADD +AC_PROG_RANLIB +MAKE_SUBDIRS("making",all) +MAKE_SUBDIRS("cleaning",clean) +AppendRule([all:: libcrypto.a]) +KRB_INCLUDE +CONFIG_RULES +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/crypto/crc32/Makefile.in b/src/lib/crypto/crc32/Makefile.in new file mode 100644 index 000000000..c2c88a4ef --- /dev/null +++ b/src/lib/crypto/crc32/Makefile.in @@ -0,0 +1,28 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + + + +OBJS= crc.o + +SRCS= $(srcdir)/crc.c $(srcdir)/crctest.c + +crctest: crctest.o $(OBJS) + $(RM) crctest + $(CC) -o $@ crctest.o $(LDFLAGS) $(OBJS) diff --git a/src/lib/crypto/crc32/configure.in b/src/lib/crypto/crc32/configure.in new file mode 100644 index 000000000..184c6f447 --- /dev/null +++ b/src/lib/crypto/crc32/configure.in @@ -0,0 +1,5 @@ +AC_INIT(configure.in) +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/crypto/des/Makefile.in b/src/lib/crypto/des/Makefile.in new file mode 100644 index 000000000..f8a3ffc9a --- /dev/null +++ b/src/lib/crypto/des/Makefile.in @@ -0,0 +1,85 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + +OTHERSRCS=$(srcdir)/f_cbc.c $(srcdir)/f_cksum.c $(srcdir)/f_pcbc.c \ + $(srcdir)/f_sched.c $(srcdir)/f_ecb.c $(srcdir)/f_parity.c \ + $(srcdir)/f_tables.c + +OTHEROBJS=f_cbc.o f_cksum.o f_pcbc.o f_sched.o f_ecb.o f_parity.o f_tables.o + +OBJS= cksum.o \ + cbc_cksum.o \ + cs_entry.o \ + enc_dec.o \ + krb_glue.o \ + finish_key.o \ + fin_rndkey.o \ + init_rkey.o \ + process_ky.o \ + random_key.o \ + string2key.o \ + new_rn_key.o \ + key_sched.o \ + weak_key.o \ + $(OTHEROBJS) + +SRCS= $(srcdir)/cksum.c \ + $(srcdir)/cs_entry.c \ + $(srcdir)/cbc_cksum.c \ + $(srcdir)/enc_dec.c \ + $(srcdir)/krb_glue.c \ + $(srcdir)/finish_key.c \ + $(srcdir)/fin_rndkey.c \ + $(srcdir)/init_rkey.c \ + $(srcdir)/process_ky.c \ + $(srcdir)/random_key.c \ + $(srcdir)/string2key.c \ + $(srcdir)/new_rn_key.c \ + $(srcdir)/key_sched.c \ + $(srcdir)/weak_key.c \ + $(OTHERSRCS) + +includes:: depend + +all:: +depend:: $(SRCS) + +clean:: + $(RM) fp.c ip.c key_perm.h odd.h p.c p_table.h s_table.h + +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) + +verify: verify.o libdes.o + $(RM) verify.o + $(CC) -o $@ verify.o $(LDFLAGS) $(EXT_LIB) + +clean:: + $(RM) verify + +destest: destest.o libdes.o + $(RM) destest.o + $(CC) -o $@ destest.o $(LDFLAGS) $(EXT_LIB) + +clean:: + $(RM) destest + diff --git a/src/lib/crypto/des/configure.in b/src/lib/crypto/des/configure.in new file mode 100644 index 000000000..184c6f447 --- /dev/null +++ b/src/lib/crypto/des/configure.in @@ -0,0 +1,5 @@ +AC_INIT(configure.in) +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/crypto/md4/Makefile.in b/src/lib/crypto/md4/Makefile.in new file mode 100644 index 000000000..04e56f404 --- /dev/null +++ b/src/lib/crypto/md4/Makefile.in @@ -0,0 +1,26 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + + + +OBJS= md4.o md4glue.o md4crypto.o + +SRCS= $(srcdir)/md4.c $(srcdir)/md4glue.c $(srcdir)/md4crypto.c + + diff --git a/src/lib/crypto/md4/configure.in b/src/lib/crypto/md4/configure.in new file mode 100644 index 000000000..184c6f447 --- /dev/null +++ b/src/lib/crypto/md4/configure.in @@ -0,0 +1,5 @@ +AC_INIT(configure.in) +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/crypto/md5/Makefile.in b/src/lib/crypto/md5/Makefile.in new file mode 100644 index 000000000..ff2571bb8 --- /dev/null +++ b/src/lib/crypto/md5/Makefile.in @@ -0,0 +1,26 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + + + +OBJS= md5.o md5glue.o md5crypto.o + +SRCS= $(srcdir)/md5.c $(srcdir)/md5glue.c $(srcdir)/md5crypto.c + + diff --git a/src/lib/crypto/md5/configure.in b/src/lib/crypto/md5/configure.in new file mode 100644 index 000000000..184c6f447 --- /dev/null +++ b/src/lib/crypto/md5/configure.in @@ -0,0 +1,5 @@ +AC_INIT(configure.in) +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/crypto/os/Makefile.in b/src/lib/crypto/os/Makefile.in new file mode 100644 index 000000000..333750843 --- /dev/null +++ b/src/lib/crypto/os/Makefile.in @@ -0,0 +1,39 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp +LN = @LN_S@ + +LIBOBJS = @LIBOBJS@ + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + + + +OBJS= rnd_confoun.o localaddr.o ustime.o $(LIBOBJS) + +SRCS= rnd_confoun.c localaddr.c ustime.c + +localaddr.c: ../../krb5/os/localaddr.c + $(LN) ../../krb5/os/localaddr.c $@ + +ustime.c: ../../krb5/os/ustime.c + $(LN) ../../krb5/os/ustime.c $@ + +memmove.c: ../../krb5/posix/memmove.c + $(LN) ../../krb5/posix/memmove.c $@ + + + diff --git a/src/lib/crypto/os/configure.in b/src/lib/crypto/os/configure.in new file mode 100644 index 000000000..f7d18016d --- /dev/null +++ b/src/lib/crypto/os/configure.in @@ -0,0 +1,7 @@ +AC_INIT(configure.in) +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +AC_LN_S +AC_REPLACE_FUNCS(memmove) +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/des425/Makefile.in b/src/lib/des425/Makefile.in new file mode 100644 index 000000000..0c436341a --- /dev/null +++ b/src/lib/des425/Makefile.in @@ -0,0 +1,71 @@ +RANLIB = @RANLIB@ +ARCHIVE = @ARCHIVE@ +ARADD = @ARADD@ + +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + +OBJS= cksum.o \ + des.o \ + enc_dec.o \ + key_parity.o \ + key_sched.o \ + new_rnd_key.o \ + pcbc_encrypt.o \ + quad_cksum.o \ + random_key.o \ + read_passwd.o \ + str_to_key.o \ + weak_key.o + +SRCS= $(srcdir)/cksum.c \ + $(srcdir)/des.c \ + $(srcdir)/enc_dec.c \ + $(srcdir)/key_parity.c \ + $(srcdir)/key_sched.c \ + $(srcdir)/new_rnd_key.c \ + $(srcdir)/pcbc_encrypt.c \ + $(srcdir)/quad_cksum.c \ + $(srcdir)/random_key.c \ + $(srcdir)/read_passwd.c \ + $(srcdir)/str_to_key.c \ + $(srcdir)/weak_key.c + + +EXT_LIB= $(TOPDIR)/lib/cryptoconf.o $(TOPDIR)/lib/crypto/libcrypto.a libdes425.a $(COMERRLIB) + +verify: verify.o libdes425.o + $(RM) verify.o + $(CC) -o $@ verify.o $(LDFLAGS) $(EXT_LIB) + +clean:: + $(RM) verify + +libdes425.a: $(OBJS) + $(RM) $@ + $(ARADD) $@ $(OBJS) + $(RANLIB) $@ + $(RM) $(TOPLIBD)/libdes425.a + $(CP) libdes425.a $(BUILDTOP)/lib/libdes425.a + $(RANLIB) $(BUILDTOP)/lib/libdes425.a + +install:: libdes425.a + $(RM) $(KRB5_LIBDIR)/lib/libdes425.a + $(CP) libdes425.a $(KRB5_LIBDIR)/lib/libdes425.a + $(RANLIB) $(KRB5_LIBDIR)/lib/libdes425.a diff --git a/src/lib/des425/configure.in b/src/lib/des425/configure.in new file mode 100644 index 000000000..f0cb91d40 --- /dev/null +++ b/src/lib/des425/configure.in @@ -0,0 +1,9 @@ +AC_INIT(configure.in) +AC_PROG_ARCHIVE +AC_PROG_ARCHIVE_ADD +AC_PROG_RANLIB +AppendRule([all:: libdes425.a]) +KRB_INCLUDE +WITH_KRB5ROOT +CONFIG_RULES +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/gssapi/Makefile.in b/src/lib/gssapi/Makefile.in new file mode 100644 index 000000000..02f3bb2fe --- /dev/null +++ b/src/lib/gssapi/Makefile.in @@ -0,0 +1,24 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +ARCHIVE = @ARCHIVE@ +ARADD = @ARADD@ + +SUBDIRS = @SUBDIRS@ + +RM = rm -f +CP = cp +RANLIB = @RANLIB@ + +all:: + +libgssapi_krb5.a: generic/DONE krb5/DONE + (cd generic; $(ARADD) ../$@ `cat DONE`) + (cd krb5; $(ARADD) ../$@ `cat DONE`) + $(RANLIB) $@ + +install:: libgssapi_krb5.a + $(RM) $(KRB5_LIBDIR)/lib/libgssapi_krb5.a + $(CP) libgssapi_krb5.a $(KRB5_LIBDIR)/lib/libgssapi_krb5.a + $(RANLIB) $(KRB5_LIBDIR)/lib/libgssapi_krb5.a + diff --git a/src/lib/gssapi/configure.in b/src/lib/gssapi/configure.in new file mode 100644 index 000000000..7522785d7 --- /dev/null +++ b/src/lib/gssapi/configure.in @@ -0,0 +1,10 @@ +AC_INIT(configure.in) +CONFIG_DIRS(generic krb5) +AC_PROG_ARCHIVE +AC_PROG_ARCHIVE_ADD +AC_PROG_RANLIB +MAKE_SUBDIRS("making",all) +MAKE_SUBDIRS("cleaning",clean) +AppendRule([all:: libgssapi_krb5.a]) +CONFIG_RULES +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/gssapi/generic/Makefile.in b/src/lib/gssapi/generic/Makefile.in new file mode 100644 index 000000000..769f58041 --- /dev/null +++ b/src/lib/gssapi/generic/Makefile.in @@ -0,0 +1,79 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +AWK = @AWK@ + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + +ETSRCS= gssapi_generic_err.c +ETOBJS= gssapi_generic_err.o +ETHDRS= gssapi_generic_err.h + +#if HasHashLibrary +# UTIL_VALIDATE_SRC= $(srcdir)/util_validate.c +# UTIL_VALIDATE_OBJ= util_validate.o +#else +UTIL_VALIDATE_SRC= $(srcdir)/util_val_nohash.c +UTIL_VALIDATE_OBJ= util_val_nohash.o +#endif + +CCSRCS = \ + $(srcdir)/display_major_status.c \ + $(srcdir)/display_com_err_status.c \ + $(srcdir)/gssapi_generic.c \ + $(srcdir)/release_buffer.c \ + $(srcdir)/release_oid_set.c \ + $(srcdir)/util_buffer.c \ + $(srcdir)/util_canonhost.c \ + $(srcdir)/util_dup.c \ + $(srcdir)/util_oid.c \ + $(srcdir)/util_token.c \ + $(UTIL_VALIDATE_SRC) + +CCOBJS = \ + display_major_status.o \ + display_com_err_status.o \ + gssapi_generic.o \ + release_buffer.o \ + release_oid_set.o \ + util_buffer.o \ + util_canonhost.o \ + util_dup.o \ + util_oid.o \ + util_token.o \ + $(UTIL_VALIDATE_OBJ) + + +EHDRDIR= $(BUILDTOP)/include/gssapi +EXPORTED_HEADERS= gssapi.h gssapi_generic.h + +SRCS= $(ETSRCS) $(CCSRCS) +OBJS= $(ETOBJS) $(CCOBJS) +HDRS= $(ETHDRS) + +all:: $(SRCS) $(HDRS) includes $(OBJS) + +clean:: + $(RM) $(ETHDRS) $(ETSRCS) + +# Krb5InstallHeaders($(EXPORTED_HEADERS), $(KRB5_INCDIR)/krb5) + +includes:: + @-mkdir $(EHDRDIR) + +depend:: $(ETSRCS) + diff --git a/src/lib/gssapi/generic/configure.in b/src/lib/gssapi/generic/configure.in new file mode 100644 index 000000000..402a6fc6a --- /dev/null +++ b/src/lib/gssapi/generic/configure.in @@ -0,0 +1,8 @@ +AC_INIT(configure.in) +ET_RULES +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +CopyHeader(gssapi.h,[$(EHDRDIR)]) +CopyHeader(gssapi_generic.h,[$(EHDRDIR)]) +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/gssapi/krb5/Makefile.in b/src/lib/gssapi/krb5/Makefile.in new file mode 100644 index 000000000..b0bc84a44 --- /dev/null +++ b/src/lib/gssapi/krb5/Makefile.in @@ -0,0 +1,100 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +AWK = @AWK@ + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + +ETSRCS= gssapi_krb5_err.c +ETOBJS= gssapi_krb5_err.o +ETHDRS= gssapi_krb5_err.h + +CCSRCS = \ + $(srcdir)/accept_sec_context.c \ + $(srcdir)/acquire_cred.c \ + $(srcdir)/compare_name.c \ + $(srcdir)/context_time.c \ + $(srcdir)/delete_sec_context.c \ + $(srcdir)/display_name.c \ + $(srcdir)/display_status.c \ + $(srcdir)/get_tkt_flags.c \ + $(srcdir)/gssapi_krb5.c \ + $(srcdir)/import_name.c \ + $(srcdir)/indicate_mechs.c \ + $(srcdir)/init_sec_context.c \ + $(srcdir)/inquire_context.c \ + $(srcdir)/inquire_cred.c \ + $(srcdir)/k5seal.c \ + $(srcdir)/k5unseal.c \ + $(srcdir)/krb5_gss_glue.c \ + $(srcdir)/process_context_token.c \ + $(srcdir)/release_cred.c \ + $(srcdir)/release_name.c \ + $(srcdir)/seal.c \ + $(srcdir)/sign.c \ + $(srcdir)/unseal.c \ + $(srcdir)/util_cksum.c \ + $(srcdir)/util_crypt.c \ + $(srcdir)/util_seed.c \ + $(srcdir)/util_seqnum.c \ + $(srcdir)/verify.c + +CCOBJS = \ + accept_sec_context.o \ + acquire_cred.o \ + compare_name.o \ + context_time.o \ + delete_sec_context.o \ + display_name.o \ + display_status.o \ + get_tkt_flags.o \ + gssapi_krb5.o \ + import_name.o \ + indicate_mechs.o \ + init_sec_context.o \ + inquire_context.o \ + inquire_cred.o \ + k5seal.o \ + k5unseal.o \ + krb5_gss_glue.o \ + process_context_token.o \ + release_cred.o \ + release_name.o \ + seal.o \ + sign.o \ + unseal.o \ + util_cksum.o \ + util_crypt.o \ + util_seed.o \ + util_seqnum.o \ + verify.o + +SRCS= $(ETSRCS) $(CCSRCS) +OBJS= $(ETOBJS) $(CCOBJS) +HDRS= $(ETHDRS) + +EHDRDIR=$(TOP)/include/gssapi + +all:: $(SRCS) $(HDRS) includes $(OBJS) + +clean:: + $(RM) $(ETHDRS) $(ETSRCS) + +depend:: $(ETSRCS) + +includes:: + diff --git a/src/lib/gssapi/krb5/configure.in b/src/lib/gssapi/krb5/configure.in new file mode 100644 index 000000000..0843821e4 --- /dev/null +++ b/src/lib/gssapi/krb5/configure.in @@ -0,0 +1,6 @@ +AC_INIT(configure.in) +ET_RULES +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/kdb/Makefile.in b/src/lib/kdb/Makefile.in new file mode 100644 index 000000000..1870b3a9e --- /dev/null +++ b/src/lib/kdb/Makefile.in @@ -0,0 +1,54 @@ +RANLIB = @RANLIB@ +ARCHIVE = @ARCHIVE@ +ARADD = @ARADD@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + + +SRCS= \ + $(srcdir)/encrypt_key.c \ + $(srcdir)/decrypt_key.c \ + $(srcdir)/kdb_dbm.c \ + $(srcdir)/verify_mky.c \ + $(srcdir)/fetch_mkey.c \ + $(srcdir)/setup_mkey.c \ + $(srcdir)/store_mkey.c + +OBJS= \ + encrypt_key.o \ + decrypt_key.o \ + kdb_dbm.o \ + verify_mky.o \ + fetch_mkey.o \ + setup_mkey.o \ + store_mkey.o + +TOPLIBD = $(BUILDTOP)/lib + +libkdb5.a: $(OBJS) + $(RM) $@ + $(ARADD) $@ $(OBJS) + $(RANLIB) $@ + $(RM) $(TOPLIBD)/libkdb5.a + $(CP) libkdb5.a $(BUILDTOP)/lib/libkdb5.a + $(RANLIB) $(BUILDTOP)/lib/libkdb5.a + +install:: libkdb5.a + $(RM) $(KRB5_LIBDIR)/lib/libkdb5.a + $(CP) libkdb5.a $(KRB5_LIBDIR)/lib/libkdb5.a + $(RANLIB) $(KRB5_LIBDIR)/lib/libkdb5.a diff --git a/src/lib/kdb/configure.in b/src/lib/kdb/configure.in new file mode 100644 index 000000000..576db04b2 --- /dev/null +++ b/src/lib/kdb/configure.in @@ -0,0 +1,9 @@ +AC_INIT(configure.in) +AC_PROG_ARCHIVE +AC_PROG_ARCHIVE_ADD +AC_PROG_RANLIB +AppendRule([all:: libkdb5.a]) +KRB_INCLUDE +WITH_KRB5ROOT +CONFIG_RULES +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb425/Makefile.in b/src/lib/krb425/Makefile.in new file mode 100644 index 000000000..b17b53ec0 --- /dev/null +++ b/src/lib/krb425/Makefile.in @@ -0,0 +1,81 @@ +RANLIB = @RANLIB@ +ARCHIVE = @ARCHIVE@ +ARADD = @ARADD@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) -I$(SRCTOP)/include/kerberosIV +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + +OBJS= 425data.o \ + 425error.o \ + des_sched.o \ + err_txt.o \ + get_cred.o \ + get_krbhst.o \ + get_lrealm.o \ + get_phost.o \ + kn_parse.o \ + kntoln.o \ + kuserok.o \ + mk_priv.o \ + mk_req.o \ + mk_safe.o \ + net_read.o \ + net_write.o \ + rd_priv.o \ + rd_req.o \ + rd_safe.o \ + realmhost.o \ + recvauth.o \ + sendauth.o \ + set_key.o + +SRCS= $(srcdir)/425data.c \ + $(srcdir)/425error.c \ + $(srcdir)/des_sched.c \ + $(srcdir)/err_txt.c \ + $(srcdir)/get_cred.c \ + $(srcdir)/get_krbhst.c \ + $(srcdir)/get_lrealm.c \ + $(srcdir)/get_phost.c \ + $(srcdir)/kn_parse.c \ + $(srcdir)/kntoln.c \ + $(srcdir)/kuserok.c \ + $(srcdir)/mk_priv.c \ + $(srcdir)/mk_req.c \ + $(srcdir)/mk_safe.c \ + $(srcdir)/net_read.c \ + $(srcdir)/net_write.c \ + $(srcdir)/rd_priv.c \ + $(srcdir)/rd_req.c \ + $(srcdir)/rd_safe.c \ + $(srcdir)/realmhost.c \ + $(srcdir)/recvauth.c \ + $(srcdir)/sendauth.c \ + $(srcdir)/set_key.c + +libkrb425.a: ${OBJS} + $(RM) $@ + $(ARADD) $@ $(OBJS) + $(RANLIB) $@ + $(RM) $(TOPLIBD)/libkrb425.a + $(CP) libkrb425.a $(BUILDTOP)/lib/libkrb425.a + $(RANLIB) $(BUILDTOP)/lib/libkrb425.a + +install:: libkrb425.a + $(RM) $(KRB5_LIBDIR)/lib/libkrb425.a + $(CP) libkrb425.a $(KRB5_LIBDIR)/lib/libkrb425.a + $(RANLIB) $(KRB5_LIBDIR)/lib/libkrb425.a diff --git a/src/lib/krb425/configure.in b/src/lib/krb425/configure.in new file mode 100644 index 000000000..8a6845d25 --- /dev/null +++ b/src/lib/krb425/configure.in @@ -0,0 +1,10 @@ +AC_INIT(configure.in) +AC_PROG_ARCHIVE +AC_PROG_ARCHIVE_ADD +AC_PROG_RANLIB +AppendRule([all:: libkrb425.a]) +KRB_INCLUDE +WITH_KRB5ROOT +ISODE_INCLUDE +CONFIG_RULES +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb5/Makefile.in b/src/lib/krb5/Makefile.in new file mode 100644 index 000000000..4da82a904 --- /dev/null +++ b/src/lib/krb5/Makefile.in @@ -0,0 +1,36 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +ARCHIVE = @ARCHIVE@ +ARADD = @ARADD@ + +SUBDIRS = @SUBDIRS@ + +RM = rm -f +CP = cp +RANLIB = @RANLIB@ + +all:: + +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`) + $(RANLIB) $@ + +install:: libkrb5.a + $(RM) $(KRB5_LIBDIR)/lib/libkrb5.a + $(CP) libkrb5.a $(KRB5_LIBDIR)/lib/libkrb5.a + $(RANLIB) $(KRB5_LIBDIR)/lib/libkrb5.a + diff --git a/src/lib/krb5/asn.1/Makefile.in b/src/lib/krb5/asn.1/Makefile.in new file mode 100644 index 000000000..ee4ff4600 --- /dev/null +++ b/src/lib/krb5/asn.1/Makefile.in @@ -0,0 +1,171 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +# -I. for isode/ +CFLAGS = -g $(DEFS) -DPEPSY_LINKABLE_FUNCS -I. +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../.. + +PEPSY = @PEPSY@ +PSYFLAGS = @PSYFLAGS@ + +KRB5ROOT = @KRB5ROOT@ + +KRB5_INCDIR = $(KRB5ROOT)/include + +all:: + +SRCTOP=$(srcdir)/$(BUILDTOP) + +EHDRDIR=$(BUILDTOP)/include/krb5/asn.1 + +SRCS= \ + KRB5_tables.c \ + $(srcdir)/encode.c \ + $(srcdir)/decode.c \ + $(srcdir)/adat2kadat.c \ + $(srcdir)/addr2kaddr.c \ + $(srcdir)/adr2kadr.c \ + $(srcdir)/aprp2kaprp.c \ + $(srcdir)/aprq2kaprq.c \ + $(srcdir)/arep2karep.c \ + $(srcdir)/auth2kauth.c \ + $(srcdir)/cvt_flags.c \ + $(srcdir)/ck2kck.c \ + $(srcdir)/edat2kedat.c \ + $(srcdir)/ekrp2kekrp.c \ + $(srcdir)/enck2kkey.c \ + $(srcdir)/err2kerr.c \ + $(srcdir)/etpt2ketpt.c \ + $(srcdir)/g2unix.c \ + $(srcdir)/kadat2adat.c \ + $(srcdir)/kaddr2addr.c \ + $(srcdir)/kadr2adr.c \ + $(srcdir)/kaprp2aprp.c \ + $(srcdir)/kaprq2aprq.c \ + $(srcdir)/karep2arep.c \ + $(srcdir)/kauth2auth.c \ + $(srcdir)/kck2ck.c \ + $(srcdir)/kdcr2kkdcr.c \ + $(srcdir)/kdcr2ktgsr.c \ + $(srcdir)/kedat2edat.c \ + $(srcdir)/kekrp2ekrp.c \ + $(srcdir)/kerr2err.c \ + $(srcdir)/ketpt2etpt.c \ + $(srcdir)/kkdcr2kdcr.c \ + $(srcdir)/kkey2enck.c \ + $(srcdir)/klsrq2lsrq.c \ + $(srcdir)/kprep2prep.c \ + $(srcdir)/kprin2prin.c \ + $(srcdir)/kpriv2priv.c \ + $(srcdir)/ksafe2safe.c \ + $(srcdir)/ktran2tran.c \ + $(srcdir)/ktgrq2tgrq.c \ + $(srcdir)/ktgsr2kdcr.c \ + $(srcdir)/ktkt2tkt.c \ + $(srcdir)/lsrq2klsrq.c \ + $(srcdir)/prep2kprep.c \ + $(srcdir)/prin2kprin.c \ + $(srcdir)/priv2kpriv.c \ + $(srcdir)/qbuf2data.c \ + $(srcdir)/safe2ksafe.c \ + $(srcdir)/tran2ktran.c \ + $(srcdir)/tgrq2ktgrq.c \ + $(srcdir)/tkt2ktkt.c \ + $(srcdir)/u2gen.c \ + $(srcdir)/ktgsr2kdcr.c \ + $(srcdir)/kpwd2pwd.c \ + $(srcdir)/kpwds2pwds.c \ + $(srcdir)/pwd2kpwd.c \ + $(srcdir)/pwds2kpwds.c \ + $(srcdir)/cred2kcred.c \ + $(srcdir)/crep2kcrep.c \ + $(srcdir)/kcred2cred.c \ + $(srcdir)/kcrep2crep.c + +OBJS= \ + KRB5_tables.o \ + encode.o \ + decode.o \ + adat2kadat.o \ + addr2kaddr.o \ + adr2kadr.o \ + aprp2kaprp.o \ + aprq2kaprq.o \ + arep2karep.o \ + auth2kauth.o \ + cvt_flags.o \ + ck2kck.o \ + edat2kedat.o \ + ekrp2kekrp.o \ + enck2kkey.o \ + err2kerr.o \ + etpt2ketpt.o \ + g2unix.o \ + kadat2adat.o \ + kaddr2addr.o \ + kadr2adr.o \ + kaprp2aprp.o \ + kaprq2aprq.o \ + karep2arep.o \ + kauth2auth.o \ + kck2ck.o \ + kdcr2kkdcr.o \ + kdcr2ktgsr.o \ + kedat2edat.o \ + kekrp2ekrp.o \ + kerr2err.o \ + ketpt2etpt.o \ + kkdcr2kdcr.o \ + kkey2enck.o \ + klsrq2lsrq.o \ + kprep2prep.o \ + kprin2prin.o \ + kpriv2priv.o \ + ksafe2safe.o \ + ktran2tran.o \ + ktgrq2tgrq.o \ + ktgsr2kdcr.o \ + ktkt2tkt.o \ + lsrq2klsrq.o \ + prep2kprep.o \ + prin2kprin.o \ + priv2kpriv.o \ + qbuf2data.o \ + safe2ksafe.o \ + tran2ktran.o \ + tgrq2ktgrq.o \ + tkt2ktkt.o \ + u2gen.o \ + kpwd2pwd.o \ + kpwds2pwds.o \ + pwd2kpwd.o \ + pwds2kpwds.o \ + cred2kcred.o \ + crep2kcrep.o \ + kcred2cred.o \ + kcrep2crep.o + +all:: includes + +includes:: KRB5-types.h + +clean:: + $(RM) KRB5.ph KRB5_defs.h KRB5_pre_defs.h KRB5-types.h KRB5_tables.c + +KRB5_tables.o: KRB5_tables.c + + +depend:: KRB5_tables.c + + +clean:: + $(RM) $(OBJS) + diff --git a/src/lib/krb5/asn.1/configure.in b/src/lib/krb5/asn.1/configure.in new file mode 100644 index 000000000..2cf4f07ff --- /dev/null +++ b/src/lib/krb5/asn.1/configure.in @@ -0,0 +1,13 @@ +AC_INIT(configure.in) +UsePepsy +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +CopyHeader(KRB5-types.h,[$(EHDRDIR)]) +CopyHeader(KRB5_defs.h,[$(EHDRDIR)]) +CopyHeader(KRB5_pre_defs.h,[$(EHDRDIR)]) +Krb5InstallHeaders(KRB5_defs.h KRB5_pre_defs.h KRB5-types.h, [$(KRB5_INCDIR)/krb5/asn.1]) +PepsyTarget(KRB5) +KRB_INCLUDE +ISODE_INCLUDE +WITH_KRB5ROOT +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb5/ccache/Makefile.in b/src/lib/krb5/ccache/Makefile.in new file mode 100644 index 000000000..b8f12a336 --- /dev/null +++ b/src/lib/krb5/ccache/Makefile.in @@ -0,0 +1,27 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + +OBJS= ccbase.o \ + ccdefault.o \ + ccdefops.o + +SRCS= $(srcdir)/ccbase.c \ + $(srcdir)/ccdefault.c \ + $(srcdir)/ccdefops.c + diff --git a/src/lib/krb5/ccache/configure.in b/src/lib/krb5/ccache/configure.in new file mode 100644 index 000000000..c3f602750 --- /dev/null +++ b/src/lib/krb5/ccache/configure.in @@ -0,0 +1,11 @@ +AC_INIT(configure.in) +CONFIG_DIRS(file stdio) +AC_PROG_ARCHIVE +AC_PROG_ARCHIVE_ADD +AC_PROG_RANLIB +MAKE_SUBDIRS("making",all) +MAKE_SUBDIRS("cleaning",clean) +CONFIG_RULES +SubdirLibraryRule([$(OBJS)]) +KRB_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb5/ccache/file/Makefile.in b/src/lib/krb5/ccache/file/Makefile.in new file mode 100644 index 000000000..9050efd87 --- /dev/null +++ b/src/lib/krb5/ccache/file/Makefile.in @@ -0,0 +1,35 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + +clean:: + $(RM) $(OBJS) + +OBJS = fcc_close.o fcc_destry.o fcc_eseq.o \ + fcc_gennew.o fcc_getnam.o fcc_gprin.o fcc_init.o \ + fcc_nseq.o fcc_read.o fcc_reslv.o fcc_retrv.o \ + fcc_sseq.o fcc_store.o fcc_skip.o fcc_ops.o fcc_write.o \ + fcc_sflags.o fcc_defops.o fcc_errs.o fcc_maybe.o + +SRCS = $(srcdir)/fcc_close.c $(srcdir)/fcc_destry.c $(srcdir)/fcc_eseq.c \ + $(srcdir)/fcc_gennew.c $(srcdir)/fcc_getnam.c $(srcdir)/fcc_gprin.c \ + $(srcdir)/fcc_init.c $(srcdir)/fcc_nseq.c $(srcdir)/fcc_read.c \ + $(srcdir)/fcc_reslv.c $(srcdir)/fcc_retrv.c $(srcdir)/fcc_sseq.c \ + $(srcdir)/fcc_store.c $(srcdir)/fcc_skip.c $(srcdir)/fcc_ops.c \ + $(srcdir)/fcc_write.c $(srcdir)/fcc_sflags.c $(srcdir)/fcc_defops.c \ + $(srcdir)/fcc_errs.c $(srcdir)/fcc_maybe.c + + diff --git a/src/lib/krb5/ccache/file/configure.in b/src/lib/krb5/ccache/file/configure.in new file mode 100644 index 000000000..184c6f447 --- /dev/null +++ b/src/lib/krb5/ccache/file/configure.in @@ -0,0 +1,5 @@ +AC_INIT(configure.in) +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb5/ccache/stdio/Makefile.in b/src/lib/krb5/ccache/stdio/Makefile.in new file mode 100644 index 000000000..e7acee5fd --- /dev/null +++ b/src/lib/krb5/ccache/stdio/Makefile.in @@ -0,0 +1,38 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + +clean:: + $(RM) $(OBJS) + +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 \ + scc_sseq.o scc_store.o scc_skip.o scc_ops.o scc_write.o \ + scc_sflags.o scc_defops.o scc_errs.o scc_maybe.o + +SRCS = $(srcdir)/scc_close.c $(srcdir)/scc_destry.c $(srcdir)/scc_eseq.c \ + $(srcdir)/scc_gennew.c $(srcdir)/scc_getnam.c $(srcdir)/scc_gprin.c \ + $(srcdir)/scc_init.c $(srcdir)/scc_nseq.c $(srcdir)/scc_read.c \ + $(srcdir)/scc_reslv.c $(srcdir)/scc_retrv.c $(srcdir)/scc_sseq.c \ + $(srcdir)/scc_store.c $(srcdir)/scc_skip.c $(srcdir)/scc_ops.c \ + $(srcdir)/scc_write.c $(srcdir)/scc_sflags.c $(srcdir)/scc_defops.c \ + $(srcdir)/scc_errs.c $(srcdir)/scc_maybe.c + + +test: ${OBJS} scc_test.o + ${CC} -o test ${OBJS} scc_test.o + diff --git a/src/lib/krb5/ccache/stdio/configure.in b/src/lib/krb5/ccache/stdio/configure.in new file mode 100644 index 000000000..184c6f447 --- /dev/null +++ b/src/lib/krb5/ccache/stdio/configure.in @@ -0,0 +1,5 @@ +AC_INIT(configure.in) +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb5/configure.in b/src/lib/krb5/configure.in new file mode 100644 index 000000000..5e8349336 --- /dev/null +++ b/src/lib/krb5/configure.in @@ -0,0 +1,10 @@ +AC_INIT(configure.in) +CONFIG_DIRS(error_tables asn.1 ccache keytab krb rcache free os posix) +AC_PROG_ARCHIVE +AC_PROG_ARCHIVE_ADD +AC_PROG_RANLIB +MAKE_SUBDIRS("making",all) +MAKE_SUBDIRS("cleaning",clean) +AppendRule([all:: libkrb5.a]) +CONFIG_RULES +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb5/error_tables/Makefile.in b/src/lib/krb5/error_tables/Makefile.in new file mode 100644 index 000000000..7ce525c1b --- /dev/null +++ b/src/lib/krb5/error_tables/Makefile.in @@ -0,0 +1,41 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +AWK = @AWK@ + +BUILDTOP = ../../.. + +EHDRDIR=$(BUILDTOP)/include/krb5 + +HDRS=isode_err.h kdb5_err.h krb5_err.h adm_err.h +OBJS=isode_err.o kdb5_err.o krb5_err.o adm_err.o init_ets.o +ETSRCS=isode_err.c kdb5_err.c krb5_err.c adm_err.c +SRCS=$(ETSRCS) $(srcdir)/init_ets.c + +all:: ${HDRS} includes ${OBJS} + +# +# dependencies for traditional makes +# +isode_err.o: isode_err.c +kdb5_err.o: kdb5_err.c +krb5_err.o: krb5_err.c +adm_err.o: adm_err.c + + +clean:: + $(RM) $(HDRS) $(ETSRCS) + +clean:: + $(RM) $(OBJS) + + diff --git a/src/lib/krb5/error_tables/configure.in b/src/lib/krb5/error_tables/configure.in new file mode 100644 index 000000000..de80b5a78 --- /dev/null +++ b/src/lib/krb5/error_tables/configure.in @@ -0,0 +1,11 @@ +AC_INIT(configure.in) +ET_RULES +SS_RULES +CONFIG_RULES +KRB_INCLUDE +SubdirLibraryRule([${OBJS}]) +CopyHeader(isode_err.h,[$(EHDRDIR)]) +CopyHeader(krb5_err.h,[$(EHDRDIR)]) +CopyHeader(kdb5_err.h,[$(EHDRDIR)]) +CopyHeader(adm_err.h,[$(EHDRDIR)]) +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb5/free/Makefile.in b/src/lib/krb5/free/Makefile.in new file mode 100644 index 000000000..c1f65c67c --- /dev/null +++ b/src/lib/krb5/free/Makefile.in @@ -0,0 +1,85 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + +OBJS= \ + f_addr.o \ + f_address.o \ + f_ap_rep.o \ + f_ap_req.o \ + f_arep_enc.o \ + f_authdata.o \ + f_authent.o \ + f_auth_cnt.o \ + f_cksum.o \ + f_creds.o \ + f_cred_cnt.o \ + f_enc_kdc.o \ + f_enc_tkt.o \ + f_error.o \ + f_kdc_rep.o \ + f_kdc_req.o \ + f_keyblock.o \ + f_last_req.o \ + f_padata.o \ + f_princ.o \ + f_priv.o \ + f_priv_enc.o \ + f_safe.o \ + f_ticket.o \ + f_tickets.o \ + f_tgt_cred.o \ + f_tkt_auth.o \ + f_pwd_data.o \ + f_pwd_seq.o \ + f_cred.o \ + f_cred_enc.o + +SRCS= \ + $(srcdir)/f_addr.c \ + $(srcdir)/f_address.c \ + $(srcdir)/f_arep_enc.c \ + $(srcdir)/f_ap_rep.c \ + $(srcdir)/f_ap_req.c \ + $(srcdir)/f_authdata.c \ + $(srcdir)/f_authent.c \ + $(srcdir)/f_auth_cnt.c \ + $(srcdir)/f_cksum.c \ + $(srcdir)/f_creds.c \ + $(srcdir)/f_cred_cnt.c \ + $(srcdir)/f_enc_kdc.c \ + $(srcdir)/f_enc_tkt.c \ + $(srcdir)/f_error.c \ + $(srcdir)/f_kdc_rep.c \ + $(srcdir)/f_kdc_req.c \ + $(srcdir)/f_keyblock.c \ + $(srcdir)/f_last_req.c \ + $(srcdir)/f_padata.c \ + $(srcdir)/f_princ.c \ + $(srcdir)/f_priv.c \ + $(srcdir)/f_priv_enc.c \ + $(srcdir)/f_safe.c \ + $(srcdir)/f_ticket.c \ + $(srcdir)/f_tickets.c \ + $(srcdir)/f_tgt_cred.c \ + $(srcdir)/f_tkt_auth.c \ + $(srcdir)/f_pwd_data.c \ + $(srcdir)/f_pwd_seq.c \ + $(srcdir)/f_cred.c \ + $(srcdir)/f_cred_enc.c + diff --git a/src/lib/krb5/free/configure.in b/src/lib/krb5/free/configure.in new file mode 100644 index 000000000..465abd0b2 --- /dev/null +++ b/src/lib/krb5/free/configure.in @@ -0,0 +1,6 @@ +AC_INIT(configure.in) +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb5/keytab/Makefile.in b/src/lib/krb5/keytab/Makefile.in new file mode 100644 index 000000000..48f0cca84 --- /dev/null +++ b/src/lib/krb5/keytab/Makefile.in @@ -0,0 +1,37 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + + + +OBJS= \ + ktadd.o \ + ktbase.o \ + ktdefault.o \ + ktfr_entry.o \ + ktremove.o \ + read_servi.o + +SRCS= \ + $(srcdir)/ktadd.c \ + $(srcdir)/ktbase.c \ + $(srcdir)/ktdefault.c \ + $(srcdir)/ktfr_entry.c \ + $(srcdir)/ktremove.c \ + $(srcdir)/read_servi.c + diff --git a/src/lib/krb5/keytab/configure.in b/src/lib/krb5/keytab/configure.in new file mode 100644 index 000000000..f95f46243 --- /dev/null +++ b/src/lib/krb5/keytab/configure.in @@ -0,0 +1,11 @@ +AC_INIT(configure.in) +CONFIG_DIRS(file) +AC_PROG_ARCHIVE +AC_PROG_ARCHIVE_ADD +AC_PROG_RANLIB +MAKE_SUBDIRS("making",all) +MAKE_SUBDIRS("cleaning",clean) +CONFIG_RULES +SubdirLibraryRule([$(OBJS)]) +KRB_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb5/keytab/file/Makefile.in b/src/lib/krb5/keytab/file/Makefile.in new file mode 100644 index 000000000..cacaedb2a --- /dev/null +++ b/src/lib/krb5/keytab/file/Makefile.in @@ -0,0 +1,54 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + +clean:: + $(RM) $(OBJS) + + + +SRCS= \ + $(srcdir)/ktf_add.c \ + $(srcdir)/ktf_endget.c \ + $(srcdir)/ktf_next.c \ + $(srcdir)/ktf_resolv.c \ + $(srcdir)/ktf_wops.c \ + $(srcdir)/ktf_close.c \ + $(srcdir)/ktf_get_en.c \ + $(srcdir)/ktf_ops.c \ + $(srcdir)/ktf_ssget.c \ + $(srcdir)/ktf_wreslv.c \ + $(srcdir)/ktf_defops.c \ + $(srcdir)/ktf_get_na.c \ + $(srcdir)/ktf_remove.c \ + $(srcdir)/ktf_util.c + +OBJS = \ + ktf_add.o \ + ktf_close.o \ + ktf_endget.o \ + ktf_get_en.o \ + ktf_get_na.o \ + ktf_next.o \ + ktf_resolv.o \ + ktf_remove.o \ + ktf_ssget.o \ + ktf_util.o \ + ktf_ops.o \ + ktf_wops.o \ + ktf_wreslv.o \ + ktf_defops.o + diff --git a/src/lib/krb5/keytab/file/configure.in b/src/lib/krb5/keytab/file/configure.in new file mode 100644 index 000000000..184c6f447 --- /dev/null +++ b/src/lib/krb5/keytab/file/configure.in @@ -0,0 +1,5 @@ +AC_INIT(configure.in) +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb5/krb/Makefile.in b/src/lib/krb5/krb/Makefile.in new file mode 100644 index 000000000..56990f917 --- /dev/null +++ b/src/lib/krb5/krb/Makefile.in @@ -0,0 +1,139 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + + + +OBJS= addr_comp.o \ + addr_order.o \ + addr_srch.o \ + bld_pr_ext.o \ + bld_princ.o \ + compat_recv.o \ + conv_princ.o \ + copy_addrs.o \ + copy_auth.o \ + copy_athctr.o \ + copy_cksum.o \ + copy_creds.o \ + copy_data.o \ + copy_key.o \ + copy_princ.o \ + copy_tick.o \ + cp_key_cnt.o \ + decode_kdc.o \ + decrypt_tk.o \ + encode_kdc.o \ + encrypt_tk.o \ + free_rtree.o \ + faddr_ordr.o \ + gc_frm_kdc.o \ + gc_via_tgt.o \ + gc_2tgt.o \ + gen_seqnum.o \ + gen_subkey.o \ + get_creds.o \ + get_in_tkt.o \ + in_tkt_pwd.o \ + in_tkt_sky.o \ + kdc_rep_dc.o \ + krbconfig.o \ + mk_error.o \ + mk_priv.o \ + mk_rep.o \ + mk_req.o \ + mk_req_ext.o \ + mk_safe.o \ + parse.o \ + pr_to_salt.o \ + preauth.o \ + princ_comp.o \ + rd_error.o \ + rd_priv.o \ + rd_rep.o \ + rd_req.o \ + rd_req_sim.o \ + rd_req_dec.o \ + rd_safe.o \ + recvauth.o \ + sendauth.o \ + send_tgs.o \ + srv_rcache.o \ + tgtname.o \ + unparse.o \ + walk_rtree.o + +SRCS= $(srcdir)/addr_comp.c \ + $(srcdir)/addr_order.c \ + $(srcdir)/addr_srch.c \ + $(srcdir)/bld_pr_ext.c \ + $(srcdir)/bld_princ.c \ + $(srcdir)/compat_recv.c \ + $(srcdir)/conv_princ.c \ + $(srcdir)/copy_addrs.c \ + $(srcdir)/copy_auth.c \ + $(srcdir)/copy_athctr.c \ + $(srcdir)/copy_cksum.c \ + $(srcdir)/copy_creds.c \ + $(srcdir)/copy_data.c \ + $(srcdir)/copy_key.c \ + $(srcdir)/copy_princ.c \ + $(srcdir)/copy_tick.c \ + $(srcdir)/cp_key_cnt.c \ + $(srcdir)/decode_kdc.c \ + $(srcdir)/decrypt_tk.c \ + $(srcdir)/encode_kdc.c \ + $(srcdir)/encrypt_tk.c \ + $(srcdir)/free_rtree.c \ + $(srcdir)/faddr_ordr.c \ + $(srcdir)/gc_frm_kdc.c \ + $(srcdir)/gc_via_tgt.c \ + $(srcdir)/gc_2tgt.c \ + $(srcdir)/gen_seqnum.c \ + $(srcdir)/gen_subkey.c \ + $(srcdir)/get_creds.c \ + $(srcdir)/get_in_tkt.c \ + $(srcdir)/in_tkt_pwd.c \ + $(srcdir)/in_tkt_sky.c \ + $(srcdir)/kdc_rep_dc.c \ + $(srcdir)/krbconfig.c \ + $(srcdir)/mk_error.c \ + $(srcdir)/mk_priv.c \ + $(srcdir)/mk_rep.c \ + $(srcdir)/mk_req.c \ + $(srcdir)/mk_req_ext.c \ + $(srcdir)/mk_safe.c \ + $(srcdir)/parse.c \ + $(srcdir)/pr_to_salt.c \ + $(srcdir)/preauth.c \ + $(srcdir)/princ_comp.c \ + $(srcdir)/rd_error.c \ + $(srcdir)/rd_priv.c \ + $(srcdir)/rd_rep.c \ + $(srcdir)/rd_req.c \ + $(srcdir)/rd_req_sim.c \ + $(srcdir)/rd_req_dec.c \ + $(srcdir)/rd_safe.c \ + $(srcdir)/recvauth.c \ + $(srcdir)/sendauth.c \ + $(srcdir)/send_tgs.c \ + $(srcdir)/srv_rcache.c \ + $(srcdir)/tgtname.c \ + $(srcdir)/unparse.c \ + $(srcdir)/walk_rtree.c + diff --git a/src/lib/krb5/krb/configure.in b/src/lib/krb5/krb/configure.in new file mode 100644 index 000000000..3f298de95 --- /dev/null +++ b/src/lib/krb5/krb/configure.in @@ -0,0 +1,9 @@ +AC_INIT(configure.in) +AC_PROG_ARCHIVE +AC_PROG_ARCHIVE_ADD +AC_PROG_RANLIB +CONFIG_RULES +SubdirLibraryRule([$(OBJS)]) +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb5/os/Makefile.in b/src/lib/krb5/os/Makefile.in new file mode 100644 index 000000000..0a7bbe062 --- /dev/null +++ b/src/lib/krb5/os/Makefile.in @@ -0,0 +1,79 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + +OBJS= \ + an_to_ln.o \ + def_realm.o \ + ccdefname.o \ + free_krbhs.o \ + free_hstrl.o \ + full_ipadr.o \ + get_krbhst.o \ + gen_port.o \ + gen_rname.o \ + hst_realm.o \ + krbfileio.o \ + ktdefname.o \ + kuserok.o \ + localaddr.o \ + locate_kdc.o \ + lock_file.o \ + net_read.o \ + net_write.o \ + osconfig.o \ + port2ip.o \ + read_msg.o \ + read_pwd.o \ + sendto_kdc.o \ + sn2princ.o \ + timeofday.o \ + unlck_file.o \ + ustime.o \ + write_msg.o + +SRCS= \ + $(srcdir)/an_to_ln.c \ + $(srcdir)/def_realm.c \ + $(srcdir)/ccdefname.c \ + $(srcdir)/free_krbhs.c \ + $(srcdir)/free_hstrl.c \ + $(srcdir)/full_ipadr.c \ + $(srcdir)/get_krbhst.c \ + $(srcdir)/gen_port.c \ + $(srcdir)/gen_rname.c \ + $(srcdir)/hst_realm.c \ + $(srcdir)/krbfileio.c \ + $(srcdir)/ktdefname.c \ + $(srcdir)/kuserok.c \ + $(srcdir)/localaddr.c \ + $(srcdir)/locate_kdc.c \ + $(srcdir)/lock_file.c \ + $(srcdir)/net_read.c \ + $(srcdir)/net_write.c \ + $(srcdir)/osconfig.c \ + $(srcdir)/read_msg.c \ + $(srcdir)/read_pwd.c \ + $(srcdir)/port2ip.c \ + $(srcdir)/sendto_kdc.c \ + $(srcdir)/sn2princ.c \ + $(srcdir)/timeofday.c \ + $(srcdir)/unlck_file.c \ + $(srcdir)/ustime.c \ + $(srcdir)/write_msg.c + diff --git a/src/lib/krb5/os/configure.in b/src/lib/krb5/os/configure.in new file mode 100644 index 000000000..465abd0b2 --- /dev/null +++ b/src/lib/krb5/os/configure.in @@ -0,0 +1,6 @@ +AC_INIT(configure.in) +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb5/posix/Makefile.in b/src/lib/krb5/posix/Makefile.in new file mode 100644 index 000000000..26eb2ead7 --- /dev/null +++ b/src/lib/krb5/posix/Makefile.in @@ -0,0 +1,21 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + +OBJS = @LIBOBJS@ + diff --git a/src/lib/krb5/posix/configure.in b/src/lib/krb5/posix/configure.in new file mode 100644 index 000000000..9400c463a --- /dev/null +++ b/src/lib/krb5/posix/configure.in @@ -0,0 +1,8 @@ +AC_INIT(configure.in) +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +ISODE_INCLUDE +AC_REPLACE_FUNCS(vfprintf vsprintf strdup strerror memmove) +AC_FUNC_CHECK(vsyslog, ,[LIBOBJS="[$]LIBOBJS syslog.o"]) +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/lib/krb5/rcache/Makefile.in b/src/lib/krb5/rcache/Makefile.in new file mode 100644 index 000000000..615727459 --- /dev/null +++ b/src/lib/krb5/rcache/Makefile.in @@ -0,0 +1,32 @@ +SUBDIRS = @SUBDIRS@ + +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) +LDFLAGS = -g + +RM = rm -f +CP = cp + +BUILDTOP = ../../.. +SRCTOP = $(srcdir)/$(BUILDTOP) + +all:: $(OBJS) + +OBJS= \ + rc_base.o \ + rc_dfl.o \ + rc_io.o \ + rcdef.o \ + rc_conv.o + +SRCS= \ + $(srcdir)/rc_base.c \ + $(srcdir)/rc_dfl.c \ + $(srcdir)/rc_io.c \ + $(srcdir)/rcdef.c \ + $(srcdir)/rc_conv.c diff --git a/src/lib/krb5/rcache/configure.in b/src/lib/krb5/rcache/configure.in new file mode 100644 index 000000000..465abd0b2 --- /dev/null +++ b/src/lib/krb5/rcache/configure.in @@ -0,0 +1,6 @@ +AC_INIT(configure.in) +CONFIG_RULES +SubdirLibraryRule([${OBJS}]) +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/slave/Makefile.in b/src/slave/Makefile.in new file mode 100644 index 000000000..cfda0329f --- /dev/null +++ b/src/slave/Makefile.in @@ -0,0 +1,52 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +BUILDTOP=.. +SRCTOP = $(srcdir)/$(BUILDTOP) +TOPLIBD = $(BUILDTOP)/lib +ISODELIB=$(TOPLIBD)/libisode.a +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= +KDBLIB=$(TOPLIBD)/libkdb5.a + +RM = rm -f +CP = cp + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + +all:: + + + DEPLIBS = $(DEPKLIB) +LOCAL_LIBRARIES = $(KLIB) + +CLIENTSRCS= $(srcdir)/kprop.c +CLIENTOBJS= kprop.o + +SERVERSRCS= $(srcdir)/kpropd.c +SERVEROBJS= kpropd.o + +SRCS= $(CLIENTSRCS) $(SERVERSRCS) + +all:: kprop kpropd + +kprop: $(CLIENTOBJS) $(DEPLIBS) + $(CC) $(CFLAGS) -o kprop $(CLIENTOBJS) $(LOCAL_LIBRARIES) $(LIBS) + +install:: + $(INSTALLPROG) kprop ${DESTDIR}$(SERVER_BINDIR)/kprop + $(INSTALLPROG) kprop.M ${DESTDIR}$(SERVER_MANDIR)/kprop.$(SERVER_MANSUFFIX) + +kpropd: $(SERVEROBJS) $(DEPLIBS) + $(CC) $(CFLAGS) -o kpropd $(SERVEROBJS) $(LOCAL_LIBRARIES) $(LIBS) + +install:: + $(INSTALLPROG) kpropd ${DESTDIR}$(SERVER_BINDIR)/kpropd + $(INSTALLPROG) kpropd.M ${DESTDIR}$(SERVER_MANDIR)/kpropd.$(SERVER_MANSUFFIX) + diff --git a/src/slave/configure.in b/src/slave/configure.in new file mode 100644 index 000000000..0cae09e06 --- /dev/null +++ b/src/slave/configure.in @@ -0,0 +1,7 @@ +AC_INIT(kprop.c) +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +CONFIG_RULES +KRB_INCLUDE +ISODE_INCLUDE +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/util/Makefile.in b/src/util/Makefile.in new file mode 100644 index 000000000..2cc270244 --- /dev/null +++ b/src/util/Makefile.in @@ -0,0 +1,13 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g +LDFLAGS = -g + +SUBDIRS = @SUBDIRS@ + + + diff --git a/src/util/configure.in b/src/util/configure.in new file mode 100644 index 000000000..e2387b44c --- /dev/null +++ b/src/util/configure.in @@ -0,0 +1,6 @@ +AC_INIT(configure.in) +CONFIG_DIRS(unifdef et ss) +MAKE_SUBDIRS("making",all) +MAKE_SUBDIRS("cleaning",clean) +CONFIG_RULES +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/util/unifdef/Makefile.in b/src/util/unifdef/Makefile.in new file mode 100644 index 000000000..88765b4f3 --- /dev/null +++ b/src/util/unifdef/Makefile.in @@ -0,0 +1,26 @@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +DEFS = @DEFS@ +LIBS = @LIBS@ + +CFLAGS = -g $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +all:: + +unifdef: unifdef.o + $(CC) $(CFLAGS) -o unifdef unifdef.o + +unifdef.o: unifdef.c + +all:: unifdef + + +clean:: + $(RM) unifdef.o unifdef + +includes:: unifdef + +install:: + $(INSTALLPROG) unifdef ${DESTDIR}$(PROGDIR)/unifdef diff --git a/src/util/unifdef/configure.in b/src/util/unifdef/configure.in new file mode 100644 index 000000000..f56fa1022 --- /dev/null +++ b/src/util/unifdef/configure.in @@ -0,0 +1,3 @@ +AC_INIT(unifdef.c) +CONFIG_RULES +AC_OUTPUT(Makefile,[EXTRA_RULES])