+++ /dev/null
-#
-# $Id$
-#
-
-TOP = .
-include $(TOP)/config.mk/template
-
-SUBDIRS = ../lib/kadm5 server create passwd import export v4server \
- keytab cli testing dbutil
-
-expand SubdirTarget
+++ /dev/null
-TOP = ..
-include $(TOP)/config.mk/template
-
-PROG = kadmin
-SRCS = kadmin.c kadmin_ct.c ss_wrapper.c getdate.c keytab.c
-OBJS = kadmin.o kadmin_ct.o ss_wrapper.o getdate.o keytab.o
-LIBS = $(LIBADMCLNT) $(LIBRPCLIB) $(LIBGSSAPI_KRB5) $(LIBKRB5_ALL) \
- $(LIBSS) $(LIBDYN) $(LIBDB) $(NDBMLIB) $(BSDLIB) $(NETLIB)
-DEPENDS = kadmin_ct.c getdate.c
-
-expand NormalProgram
-
-PROG = kadmin.local
-LIBS = $(LIBADMSRV) $(LIBRPCLIB) $(LIBGSSAPI_KRB5) $(LIBKDB5) \
- $(LIBKRB5_ALL) $(LIBSS) $(LIBDYN) $(LIBDB) $(NDBMLIB) \
- $(BSDLIB) $(NETLIB) $(REGEXLIB)
-
-expand NormalProgram
-
-depend:: $(SRCS)
-clean:: ; -rm -f getdate.c y.tab.h kadmin_ct.c
-
-install::
- $(INSTCMD) kadmin.1 $(INSTALL_MANDIR)/cat1/kadmin.1
-
-# needed until we run makedepend
-kadmin_ct.c: kadmin_ct.ct
-kadmin_ct.o: kadmin_ct.c
+++ /dev/null
-1999-01-20 Theodore Ts'o <tytso@rsts-11.mit.edu>
-
- * netbsd1.def (UTMP_FILE, WTMP_FILE): Update filenames to comply
- with netbsd system. (Not actually used by our
- configuration system, but I'll update the file.)
- Submitted by ghudson, [krb5-admin/522]
-
-Fri Jul 12 14:39:28 1996 Marc Horowitz <marc@mit.edu>
-
- * architecture: add uname test for NetBSD
- * netbsd1.def: added
-
-Mon Jul 8 16:39:36 1996 Barry Jaspan <bjaspan@mit.edu>
-
- * template, site.def, rules: Add SITEMAKEFILES to specify -f
- Makefile.ov, add .ct default rule.
-
+++ /dev/null
-export PS_ALL = ps auxww
-# Make sure there's no extra whitespace at the end of this line!
-export PS_PID = ps auxww
-# Make sure there is a blank space at the end of this line!
-export PS_TTY = ps -t
-export RSH_CMD = /usr/bin/rsh
-export INSTCMD = /usr/local/bin/ginstall -c
-export LEX = /usr/local/bin/flex
-export AWK_CMD = /usr/local/bin/gawk
-
-# needed for fd_set to be defined
-# Not convinced! Experimenting with disabling _BSD. - jik 3/21/95
-ifndef KRB5B4
-CFLAGS += -D_BSD
-endif
-CFLAGS += -D_ALL_SOURCE
-
-PCC_STRUCT_RETURN = -fpcc-struct-return
-D_NEEDS_RPCENT = -D_SUN
-
-D_NEEDS_GETUSERSHELL = -DNEEDS_GETUSERSHELL
-D_NEEDS_TREEWALK = -DNEEDS_TREEWALK
-D_SETEUID = -DNO_SETEUID -DSETEUID_INCLUDE='<sys/id.h>' \
- -DSETEUIDPRE='setuidx(ID_REAL|ID_EFFECTIVE,' -DSETEUIDPOST=')'
-D_NO_SETENV = -DNO_SETENV
-D_REGEXP_TYPE = -DPOSIX_REGEXPS
-
-TERMCAPLIB = -ltermcap
-
-# extra libraries needed for login
-LOGINLIB = -ls -lcfg -lodm
-
-UTMP_FILE = /etc/utmp
-WTMP_FILE = /usr/adm/wtmp
-
-XINCDIR = /usr/lpp/X11/include
-XLIBDIR = /usr/lpp/X11/lib
-
-OMIT_DOC = true
-DONT_STRIP_NXLIBS = true
+++ /dev/null
-# $Id$
-
-# sample `uname -a` output:
-# SunOS dun-dun-n 4.1.3 3 sun4c
-# SunOS samosa 5.3 Generic_101318-31 sun4m sparc
-# HP-UX strange- A.09.01 A 9000/710 2005970723 two-user license
-# AIX krusty 2 3 000131533500
-
-# each section here should set ARCH_OS to a symbol specifically describing
-# the OS, and also set "relevant" capability symbols
-
-ifndef ARCH_OS
-__UNAME_A := $(shell uname -a)
-ifeq "$(strip $(filter SunOS 4.1.3, $(__UNAME_A)))" "SunOS 4.1.3"
- export ARCH_OS := sunos4.1
-endif
-ifeq "$(strip $(filter SunOS 4.1.3C, $(__UNAME_A)))" "SunOS 4.1.3C"
- export ARCH_OS := sunos4.1
-endif
-ifeq "$(strip $(filter SunOS 4.1.3_U1, $(__UNAME_A)))" "SunOS 4.1.3_U1"
- export ARCH_OS := sunos4.1
-endif
-ifeq "$(strip $(filter SunOS 4.1.4, $(__UNAME_A)))" "SunOS 4.1.4"
- export ARCH_OS := sunos4.1
-endif
-ifeq "$(strip $(filter SunOS 5.3, $(__UNAME_A)))" "SunOS 5.3"
- export ARCH_OS := solaris2.3
-endif
-# For now, assume that Solaris 2.4 is the same as Solaris 2.3.
-ifeq "$(strip $(filter SunOS 5.4, $(__UNAME_A)))" "SunOS 5.4"
- export ARCH_OS := solaris2.3
-endif
-ifeq "$(strip $(filter HP-UX A.09.01, $(__UNAME_A)))" "HP-UX A.09.01"
- export ARCH_OS := hpux9.01
-endif
-ifeq "$(strip $(filter AIX 2, $(__UNAME_A)))" "AIX 2"
- export ARCH_OS := aix3.2
-endif
-ifeq "$(strip $(filter sweet-and-sour-sauce, $(__UNAME_A)))" "sweet-and-sour-sauce"
- export ARCH_OS := aix3.2
- d:=$(shell echo "*** WARNING! Used hostname for architecture." 1>&2)
-endif
-ifeq "$(strip $(filter Linux, $(__UNAME_A)))" "Linux"
- export ARCH_OS := linux
-endif
-ifeq "$(strip $(filter IRIX, $(__UNAME_A)))" "IRIX"
- export ARCH_OS := irix5.2
-endif
-ifeq "$(strip $(filter NetBSD, $(__UNAME_A)))" "NetBSD NetBSD"
- export ARCH_OS := netbsd1
-endif
-
-ifndef ARCH_OS
- d:=$(shell echo "*** WARNING! Unknown architecture: $(__UNAME_A)" 1>&2)
- export ARCH_OS := dummy
- export ARCH_OS_UNKNOWN := dummy
-endif
-endif
-
-ifndef ARCH_OS_UNKNOWN
- define IncludeArchFile
- include $(CONFDIR)/$(ARCH_OS).def
- endef
-else
- define IncludeArchFile
- endef
-endif
-
+++ /dev/null
-# $Id$
-# $Source$
-
-#
-# local Programs
-#
-
-INSTHDRS = $(TOP)/scripts/inst-hdrs.sh
-COMPILE_ET = $(TOP)/../util/et/compile_et
-MK_CMDS = $(TOP)/../util/ss/mk_cmds
-SYM_RANDOMIZE = $(TOP)/intl/sym-randomize.pl
-
-#
-# Directories
-#
-
-STAGETOP= $(TOP)/..
-STAGE_BINDIR = $(STAGETOP)/bin
-STAGE_INCDIR = $(STAGETOP)/include
-STAGE_LIBDIR = $(STAGETOP)/lib
-
-INSTALLTOP= $(TOP)/..
-INSTALL_BINDIR = $(INSTALLTOP)/bin
-INSTALL_ETCDIR = $(INSTALLTOP)/etc
-INSTALL_INCDIR = $(INSTALLTOP)/include
-INSTALL_LIBDIR = $(INSTALLTOP)/lib
-INSTALL_CONFDIR = $(INSTALLTOP)/config
-INSTALL_PROTODIR = $(INSTALLTOP)/proto
-INSTALL_ADMINDIR = $(INSTALLTOP)/admin
-INSTALL_SERVERDIR = $(INSTALLTOP)/sbin
-INSTALL_INSTDIR = $(INSTALLTOP)/install
-INSTALL_DOCDIR = $(INSTALLTOP)/doc
-INSTALL_MANDIR = $(INSTALLTOP)/man
-INSTALL_SRCDIR = $(INSTALLTOP)/src
-
-#
-# libraries
-#
-
-# system
-LIBM = -lm
-
-# stage
-LIBADMCLNT := $(STAGE_LIBDIR)/libkadm5clnt.a
-LIBADMSRV := $(STAGE_LIBDIR)/libkadm5srv.a
-LIBRPCLIB := $(STAGE_LIBDIR)/libgssrpc.a
-LIBDYN := $(STAGE_LIBDIR)/libdyn.a
-LIBSS := $(STAGE_LIBDIR)/libss.a
-LIBOVSEC_UTIL := $(STAGE_LIBDIR)/libkadm5_util.a
-LIBFTPSEC := $(STAGE_LIBDIR)/libftpsec.a
-
-# install
-LIBGSSAPI_KRB5 := $(INSTALL_LIBDIR)/libgssapi_krb5.a
-LIBGSSAPI_KRB5_DX := $(INSTALL_LIBDIR)/libgssapi_krb5_dx.a
-LIBGSSAPI_KRB5_WX := $(INSTALL_LIBDIR)/libgssapi_krb5_wx.a
-LIBGSSAPI_KRB5_NX := $(INSTALL_LIBDIR)/libgssapi_krb5_nx.a
-LIBGSSAPI_TRUST := $(INSTALL_LIBDIR)/libgssapi_trust.a
-LIBDB := $(INSTALL_LIBDIR)/libdb.a
-LIBKRB5 := $(INSTALL_LIBDIR)/libkrb5.a
-LIBKDB5 := $(INSTALL_LIBDIR)/libkdb5.a
-LIBCRYPTO := $(INSTALL_LIBDIR)/libcrypto.a
-ifndef KRB5B4
-LIBISODE := $(INSTALL_LIBDIR)/libisode.a
-endif
-LIBCOM_ERR := $(INSTALL_LIBDIR)/libcom_err.a
-LIBKRB5_ALL := $(LIBKRB5) $(LIBCRYPTO) $(LIBISODE) $(LIBCOM_ERR)
-LIBKRB := $(INSTALL_LIBDIR)/libkrb4.a
-LIBKDB := $(INSTALL_LIBDIR)/libkdb.a
-LIBKADM := $(INSTALL_LIBDIR)/libkadm.a
-LIBKRB425 := $(INSTALL_LIBDIR)/libkrb425.a
-LIBDES425 := $(INSTALL_LIBDIR)/libdes425.a
-
-# X libraries. XXX this uses -L! but perhaps it doesn't matter, see
-# [secure-build/2649]
-XLIB = -L$(XLIBDIR) -lXext -lX11
-
-#
-# library name mangling for export
-#
-
-ADMIN_INTERFACE_SYMBOL_FILES := $(TOP)/intl/adm-export-symbols \
- $(TOP)/intl/misc-export-symbols
-OTHER_INTERFACE_SYMBOL_FILES := $(TOP)/intl/gss-export-symbols
-
-ADMIN_CRYPTO_LIBS := $(LIBADMCLNT) $(LIBADMSRV) $(LIBRPCLIB) \
- $(LIBGSSAPI_KRB5) $(LIBKRB5) $(LIBKDB5) $(LIBCRYPTO) \
- $(LIBISODE) $(LIBKRB) $(LIBKDB) $(LIBDES425)
-OTHER_CRYPTO_LIBS := $(LIBGSSAPI_KRB5_DX) $(LIBGSSAPI_KRB5_WX) \
- $(LIBGSSAPI_KRB5_NX)
-
-#
-# compiler/linker flags
-#
-
-CFLAGS := $(CFLAGS) -I$(INSTALL_INCDIR)
-
-#
-# Variables for testing
-#
-# These are all exported because lots of test scripts (/bin/sh, perl,
-# tcl) use them.
-#
-
-export TESTDIR = $(TOP)/testing
-export COMPARE_DUMP = $(TESTDIR)/scripts/compare_dump.pl
-export FIX_CONF_FILES = $(TESTDIR)/scripts/fixup-conf-files.pl
-export INITDB = $(TESTDIR)/scripts/init_db
-export MAKE_KEYTAB = $(TESTDIR)/scripts/make-host-keytab.pl
-export LOCAL_MAKE_KEYTAB= $(TESTDIR)/scripts/make-host-keytab.pl
-export RESTORE_FILES = $(TESTDIR)/scripts/restore_files.sh
-export SAVE_FILES = $(TESTDIR)/scripts/save_files.sh
-export SIMPLE_DUMP = $(TESTDIR)/scripts/simple_dump.pl
-export TCLUTIL = $(TESTDIR)/tcl/util.t
-export BSDDB_DUMP = $(TESTDIR)/util/bsddb_dump
-export CLNTTCL = $(TESTDIR)/util/ovsec_kadm_clnt_tcl
-export SRVTCL = $(TESTDIR)/util/ovsec_kadm_srv_tcl
-export QUALNAME = $(TOP)/inst-scripts/qualname
-
-export START_SERVERS = $(TESTDIR)/scripts/start_servers $(TEST_SERVER)
-export START_SERVERS_LOCAL = $(TESTDIR)/scripts/start_servers_local
-
-export STOP_SERVERS = $(TESTDIR)/scripts/stop_servers $(TEST_SERVER)
-export STOP_SERVERS_LOCAL = $(TESTDIR)/scripts/stop_servers_local
-
-export KRB5_CONFIG = /krb5/krb5.conf
-export KRB5_KDC_PROFILE = /krb5/kdc.conf
-export KRB5_KTNAME = /krb5/ovsec_adm.srvtab
-
-ifdef TEST_SERVER
-MAKE_KEYTAB += -server $(TEST_SERVER)
-ifdef TEST_PATH
-MAKE_KEYTAB += -top $(TEST_PATH)
-START_SERVERS += $(TEST_PATH)
-STOP_SERVERS += $(TEST_PATH)
-endif
-endif
-
-export VERBOSE_TEST DEJALFLAGS
-
-# We're running low on disk space, so strip installed binaries
-STRIP_INSTALLED = true
+++ /dev/null
-export ARCH_SKIP_RANLIB := 1
-export INSTCMD = ginstall -c
-export PS_ALL = ps -ef
-# Make sure there's no extra whitespace at the end of this line!
-export PS_PID = ps -fp
-# Make sure there is a blank space at the end of this line!
-export PS_TTY = ps -t
-export STATIC_LINK_GUI := 1
-export RSH_CMD = /usr/bin/remsh
-
-PCC_STRUCT_RETURN = -fpcc-struct-return
-# this must always be at the end.
-REGEXLIB = -lc -lPW
-TERMCAPLIB = -ltermcap
-
-XINCDIR = /usr/include/X11R5
-XLIBDIR = /usr/lib/X11R5
-NDBMLIB := /usr/lib/libndbm.a
-ARCH_CFLAGS = -mpa-risc-1-0
-
-CFLAGS := $(ARCH_CFLAGS) $(CFLAGS)
-
-UTMP_FILE = /etc/utmp
-WTMP_FILE = /etc/wtmp
-
-D_RANDOM = -Dsrandom=srand48 -Drandom=lrand48
-D_SETEUID = -DNO_SETEUID \
- -DSETEUIDPRE='setresuid(-1,' -DSETEUIDPOST=',-1)'
-D_FATALINLIBS = -Dfatal=ftpd_fatal
-D_NO_SETENV = -DNO_SETENV
-D_REGEXP_TYPE = -DPOSIX_REGEXPS
-
+++ /dev/null
-export PS_ALL = /usr/bin/ps -ef
-# Make sure there's no extra whitespace at the end of this line!
-export PS_PID = /usr/bin/ps -fp
-# Make sure there is a blank space at the end of this line!
-export PS_TTY = /usr/bin/ps -t
-
-RANLIB = /bin/true
-D_NO_SETENV = -DNO_SETENV
-D_HAVE_SYSLOG_H = -DHAVE_SYSLOG_H
-D_HAVE_STDARG_H = -DHAVE_STDARG_H
-D_HAVE_SYSLOG = -DHAVE_SYSLOG
-D_HAVE_VSPRINTF = -DHAVE_VSPRINTF
-D_HAVE_OPENLOG = -DHAVE_OPENLOG
-D_HAVE_CLOSELOG = -DHAVE_CLOSELOG
-D_HAVE_STRFTIME = -DHAVE_STRFTIME
-
-REGEXLIB = -lgen
-
-# libgen.a is for regcmp and regex, used in /usr/lib/libXm.a; this is
-# a different set of regexp routines than used by svr_iters.c
-XM_LIB = /usr/lib/libXm.a /usr/lib/libgen.a
-XT_LIB = /usr/lib/libXt.a
-X_LIB = /usr/lib/libX11.so
-
+++ /dev/null
-export PS_ALL = ps auxww
-# Make sure there's no extra whitespace at the end of this line!
-export PS_PID = ps auxww
-export RSH_CMD = /usr/bin/rsh
-
-XINCDIR = /usr/include
-XLIBDIR = /usr/lib
-
-NDBMLIB = -ldbm
-
-PERL = /usr/bin/perl
-LEX_LIB = -lfl
-
-OMIT_GUI = true
-OMIT_XM_KPASSWD = true
-OMIT_DOC = true
-
-UTMP_FILE = /etc/utmp
-WTMP_FILE = /var/adm/wtmp
-
-LIBTCL = -ltcl
-
-TERMCAPLIB = -ltermcap
+++ /dev/null
-export PS_ALL = ps auxww
-# Make sure there's no extra whitespace at the end of this line!
-export PS_PID = ps auxww
-# Make sure there's no extra whitespace at the end of this line!
-export PS_TTY = ps -t
-export RSH_CMD = /usr/bin/rsh
-
-PCC_STRUCT_RETURN =
-TERMCAPLIB = -ltermcap
-
-XINCDIR = /usr/X11/include
-XLIBDIR = /usr/X11/lib
-
-UTMP_FILE = /var/run/utmp
-WTMP_FILE = /var/log/wtmp
-
-D_NO_SETENV = -DNO_SETENV
-
-SHLIBCFLAGS := -fpic
-SHLIBLDFLAGS := -assert pure-text
-SHLIBEXT := so
-SHLIBSEP := .
+++ /dev/null
-#
-# $Id$
-# $Source$
-#
-
-#
-# DefaultRules --- clean, depend, all, stage, includes, and
-# install.
-#
-
-define DefaultRules
-clean::
- $(CLEAN) core *.o *~ *.bak #* y.output
-
-depend::
-
-all::
-
-includes::
-
-stage::
-
-install::
-
-unit-test::
-
-traverse::
-
-endef
-
-
-#
-# SubdirTarget
-#
-# SUBDIRS = subdirs to work in
-#
-define SubdirTarget
-__SUBDIR_TARGET := clean
-expand _DoSubdir
-
-__SUBDIR_TARGET := depend
-expand _DoSubdir
-
-__SUBDIR_TARGET := all
-expand _DoSubdir
-
-__SUBDIR_TARGET := includes
-expand _DoSubdir
-
-__SUBDIR_TARGET := stage
-expand _DoSubdir
-
-__SUBDIR_TARGET := install
-expand _DoSubdir
-
-__SUBDIR_TARGET := unit-test
-expand _DoSubdir
-
-__SUBDIR_TARGET := traverse
-expand _DoSubdir
-
-ALL_SUBDIRS_TARGET := everything
-expand AllTargetsTarget
-endef
-
-#
-# Makes the target $(ALL_SUBDIRS_TARGET) perform the targets includes
-# depend stage all install in $(SUBDIRS).
-#
-define AllTargetsTarget
-$(ALL_SUBDIRS_TARGET)::
- @cwd=`pwd`; \
- for d in $(SUBDIRS); do \
- echo "--- Making includes depend stage all install in $(CUR_DIR)/$$$$d"; \
- cd $$$$d && \
- $(MAKE) includes depend CUR_DIR=$(CUR_DIR)/$$$$d; \
- $(MAKE) stage all install CUR_DIR=$(CUR_DIR)/$$$$d; \
- cd $$$$cwd; \
- done
-
-endef
-
-define _DoSubdir
-# $(__SUBDIR_TARGET)::
-# @echo "--- SKIPPING $(__SUBDIR_TARGET) in $(SUBDIRS)"
-$(__SUBDIR_TARGET)::
- @cwd=`pwd`; \
- for d in $(SUBDIRS); do \
- echo "--- Making $(__SUBDIR_TARGET) in $(CUR_DIR)/$$$$d"; \
- cd $$$$d && \
- $(MAKE) $(SITEMAKEFLAGS) $(__SUBDIR_TARGET) CUR_DIR=$(CUR_DIR)/$$$$d; \
- cd $$$$cwd; \
- done
-endef
-
-#
-# Program -- compile prog, adds all and clean targets
-#
-# PROG program name
-# OBJS object files
-# DEPS additional dependencies (e.g.: libraries)
-# LIBS libraries
-# LDFLAGS arguments for link stage
-# PUREFLAGS arguments for purify
-# PURELIBS extra libraries to link in when using purify
-#
-define Program
-all:: $(PROG)
-
-$(PROG): $(OBJS) $(DEPS) $(filter-out -L% -l%, $(LIBS))
-ifdef BUILD_IN_TMP
- rm -f /tmp/$(PROG).$(__PID__)
- $(CC) $(LDFLAGS) -o /tmp/$(PROG).$(__PID__) $(OBJS) $(LIBS) $(STD_LIBS)
- mv /tmp/$(PROG).$(__PID__) $(PROG)
-else
- $(CC) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS) $(STD_LIBS)
-endif
-
-clean::
- $(CLEAN) $(PROG)
-
-proof:: $(PROG).tc
-
-$(PROG).tc: $(OBJS) $(DEPS) $(filter-out -L% -l%, $(LIBS))
-ifdef BUILD_IN_TMP
- rm -f /tmp/$(PROG).tc.$(__PID__)
- $(PROOF) $(CC) $(LDFLAGS) -o /tmp/$(PROG).tc.$(__PID__) $(OBJS) \
- $(LIBS) $(STD_LIBS)
- mv /tmp/$(PROG).tc.$(__PID__) $(PROG).tc
-else
- $(PROOF) $(CC) $(LDFLAGS) -o $(PROG).tc $(OBJS) $(LIBS) $(STD_LIBS)
-endif
-
-clean::
- $(CLEAN) $(PROG).tc $(PROG).tc.*
-
-pure:: $(PROG).pure
-
-$(PROG).pure: $(OBJS) $(DEPS) $(filter-out -L% -l%, $(LIBS))
-ifdef BUILD_IN_TMP
- rm -f /tmp/$(PROG).pure.$(__PID__)
- $(PURIFY) $(PUREFLAGS) \
- $(CC) $(LDFLAGS) -o /tmp/$(PROG).pure.$(__PID__) $(OBJS) \
- $(LIBS) $(STD_LIBS) $(PURELIBS)
- mv /tmp/$(PROG).pure.$(__PID__) $(PROG).pure
-else
- $(PURIFY) $(PUREFLAGS) $(CC) $(LDFLAGS) -o $(PROG).pure $(OBJS) $(LIBS) $(STD_LIBS) $(PURELIBS)
-endif
-
-clean::
- $(CLEAN) $(PROG).pure $(PROG).pure.pure_*
-
-quant:: $(PROG).quant
-
-$(PROG).quant: $(OBJS) $(DEPS) $(filter-out -L% -l%, $(LIBS))
-ifdef BUILD_IN_TMP
- rm -f /tmp/$(PROG).quant.$(__PID__)
- $(QUANTIFY) $(QUANTFLAGS) \
- $(CC) $(LDFLAGS) -o /tmp/$(PROG).quant.$(__PID__) $(OBJS) \
- $(LIBS) $(STD_LIBS) $(QUANTLIBS)
- mv /tmp/$(PROG).quant.$(__PID__) $(PROG).quant
-else
- $(QUANTIFY) $(QUANTFLAGS) $(CC) $(LDFLAGS) -o $(PROG).quant $(OBJS) $(LIBS) $(STD_LIBS) $(QUANTLIBS)
-endif
-
-clean::
- $(CLEAN) $(PROG).quant $(PROG).quant.quant.*.qv
-endef
-
-#
-# InstallProgram -- build program, install in INSTALL_BINDIR, adds
-# install target
-#
-define InstallProgram
-__INST_DIR := $(INSTALL_BINDIR)
-expand Program
-expand InstallExecutable
-endef
-
-#
-# InstallUtil -- build program, install in INSTALL_ETCDIR, adds
-# install target
-#
-define InstallUtil
-__INST_DIR := $(INSTALL_ETCDIR)
-expand Program
-expand InstallExecutable
-endef
-
-#
-# InstallAdmin -- build program, install in INSTALL_ADMINDIR, adds
-# install target
-#
-define InstallAdmin
-__INST_DIR := $(INSTALL_ADMINDIR)
-expand Program
-expand InstallExecutable
-endef
-
-#
-# InstallServer -- build program, install in INSTALL_SERVERDIR, adds
-# install target
-#
-define InstallServer
-__INST_DIR := $(INSTALL_SERVERDIR)
-expand Program
-expand InstallExecutable
-endef
-
-#
-# InstallExecuteable(bin, as, dir)
-#
-define InstallExecutable
-ifndef INST_NAME
-install:: $(PROG)
- rm -f $(__INST_DIR)/$(PROG)
- $(INSTCMD) $(INST_PROG_FLAGS) $(PROG) $(__INST_DIR)/$(PROG)
-else
-install:: $(PROG)
- rm -f $(__INST_DIR)/$(INST_NAME)
- $(INSTCMD) $(INST_PROG_FLAGS) $(PROG) $(__INST_DIR)/$(INST_NAME)
-endif
-endef
-
-#
-# Library -- create library from object files and ranlib it, adds all
-# and clean targets
-#
-# LIB name of library (e.g. libfoo.a)
-# OBJS object files in library
-#
-define Library
-all:: $(LIB)
-
-$(LIB): $(OBJS) $(OTHER_OBJS)
- $(RM) -f $(LIB)
- $(AR) $(ARFLAGS) $(LIB) $(OBJS)
-ifndef ARCH_SKIP_RANLIB
- $(RANLIB) $(LIB)
-endif
-
-clean::
- $(CLEAN) $(LIB)
-endef
-
-#
-# SharedLibrary -- create shared library from object files, adds all
-# and clean targets
-#
-# LIB basename of library (e.g. libfoo)
-# (this will be basenamified, anyway)
-# OBJS object files in library
-# VERSION version of shared library
-#
-define SharedLibrary
-ifdef DO_SHARED_LIBRARIES
-ifdef SHLIBLDFLAGS
-ifdef SHLIBSEP
-__LIB := $(basename $(LIB)).$(SHLIBEXT)$(SHLIBSEP)$(VERSION)
-else
-__LIB := $(basename $(LIB)).$(SHLIBEXT)
-endif
-__LIBNV := $(basename $(LIB)).$(SHLIBEXT)
-expand SharedLibrary_1
-endif
-endif
-endef
-
-define SharedLibrary_1
-ifdef DO_SHARED_LIBRARIES
-all:: $(__LIB)
-
-$(__LIB): $(OBJS) $(OTHER_OBJS)
- $(RM) -f $(__LIB) $(__LIBNV)
- $(LD) -o $(__LIB) $(SHLIBLDFLAGS) $(OBJS)
- $(LNSOFT) $(__LIB) $(__LIBNV)
-clean::
- $(CLEAN) $(__LIB) $(__LIBNV)
-endif
-endef
-
-#
-# StageLibrary -- build library, install in STAGE_LIBDIR, adds stage target
-#
-define StageLibrary
-expand Library
-
-stage:: $(STAGE_LIBDIR)/$(LIB)
-
-$(STAGE_LIBDIR)/$(LIB): $(LIB)
- $(INSTCMD) $(LIB) $(STAGE_LIBDIR)/$(LIB)
-ifndef ARCH_SKIP_RANLIB
- $(RANLIB) $(STAGE_LIBDIR)/$(LIB)
-endif
-endef
-
-#
-# StageSharedLibrary -- build library, install in STAGE_LIBDIR, adds
-# stage target
-#
-define StageSharedLibrary
-ifdef DO_SHARED_LIBRARIES
-expand SharedLibrary
-expand StageSharedLibrary_1
-endif
-endef
-
-define StageSharedLibrary_1
-ifdef DO_SHARED_LIBRARIES
-ifdef __LIB
-stage:: $(STAGE_LIBDIR)/$(__LIB)
-
-$(STAGE_LIBDIR)/$(__LIB): $(__LIB)
- $(INSTCMD) $(__LIB) $(STAGE_LIBDIR)/$(__LIB)
-endif
-endif
-endef
-
-#
-# InstallLibrary -- build library, install in INSTALL_LIBDIR,
-# adds install target
-#
-define InstallLibrary
-expand Library
-
-install:: $(INSTALL_LIBDIR)/$(LIB)
-
-$(INSTALL_LIBDIR)/$(LIB): $(LIB)
- $(INSTCMD) $(LIB) $(INSTALL_LIBDIR)/$(LIB)
-ifndef ARCH_SKIP_RANLIB
- $(RANLIB) $(INSTALL_LIBDIR)/$(LIB)
-endif
-endef
-
-#
-# InstallSharedLibrary -- build library, install in INSTALL_LIBDIR,
-# adds install target
-#
-define InstallSharedLibrary
-ifdef DO_SHARED_LIBRARIES
-expand SharedLibrary
-expand InstallSharedLibrary_1
-endif
-endef
-
-define InstallSharedLibrary_1
-ifdef DO_SHARED_LIBRARIES
-ifdef __LIB
-install:: $(INSTALL_LIBDIR)/$(__LIB)
-
-$(INSTALL_LIBDIR)/$(__LIB): $(__LIB)
- $(INSTCMD) $(__LIB) $(INSTALL_LIBDIR)/$(__LIB)
-endif
-endif
-endef
-
-#
-# StageFiles(files, dir)
-#
-define StageFiles
-stage:: $(FILES)
- $(INSTCMD) $(FILES) $(DIR)
-endef
-
-#
-# StageIncludes -- copy include files to staging area, adds includes
-# and stage target
-#
-# HDRS header files to copy
-# HDRS_DIR subdir of STAGE_INCDIR to copy to
-#
-define StageIncludes
-includes:: $(HDRS)
- $(INSTHDRS) $(STAGE_INCDIR)/$(HDRS_DIR) $(HDRS)
-
-stage:: $(HDRS)
- $(INSTHDRS) $(STAGE_INCDIR)/$(HDRS_DIR) $(HDRS)
-endef
-
-#
-# InstallIncludes -- copy include files to staging area, adds includes
-# and install target
-#
-# HDRS header files to copy
-# HDRS_DIR subdir of INSTALL_INCDIR to copy to
-#
-define InstallIncludes
-includes:: $(HDRS)
- $(INSTHDRS) $(INSTALL_INCDIR)/$(HDRS_DIR) $(HDRS)
-
-install:: $(HDRS)
- $(INSTHDRS) $(INSTALL_INCDIR)/$(HDRS_DIR) $(HDRS)
-endef
-
-#
-# Depend -- run makedepend
-#
-# SRCS source files to generate dependencies for
-# DEPENDS dependencies for "make depend"
-# ETABLES error tables whose .c and .h files are implicitly
-# dependencies of make depend
-#
-define Depend
-depend:: $(DEPENDS) $(addsuffix .c,$(basename $(ETABLES))) $(addsuffix .h,$(basename $(ETABLES)))
-
-ifeq (,$(findstring -a,$(__MDFLAGS)))
- @rm -f Makefile.depend; touch Makefile.depend
-endif
- $(MAKEDEPEND) $(__MDFLAGS) $(MDFLAGS) -fMakefile.depend -- $(CFLAGS) -- $(SRCS)
-
-clean::
- $(CLEAN) Makefile.depend
-
-ifeq (,$(findstring -a,$(__MDFLAGS)))
-__MDFLAGS += -a
-endif
-endef
-
-#
-# NormalProgram -- everything for a single program
-#
-# PROG = program name
-# SRCS = list of .c sources
-# HDRS = list of .h sources
-# OBJS = list of .o files to depend and link against
-# STAGELIBS = foo.a within the stage area tree to link against
-# INSTALLLIBS = foo.a within the install area tree to link against
-# LIBS = system libraries to link against
-#
-# STAGELIBS And INSTALLLIBS are added to the dependencies for PROG.
-#
-define NormalProgram
-expand SaveStuff
-LIBS := $(addprefix $(STAGE_LIBDIR)/,$(STAGELIBS)) \
- $(addprefix $(INSTALL_LIBDIR)/,$(INSTALLLIBS)) \
- $(LIBS)
-DEPS := $(addprefix $(STAGE_LIBDIR)/,$(STAGELIBS)) \
- $(addprefix $(INSTALL_LIBDIR)/,$(INSTALLLIBS)) \
- $(DEPS)
-
-clean::
- $(CLEAN) $(OBJS)
-
-expand InstallProgram
-expand Depend
-expand RestoreStuff
-endef
-
-define NormalLibrary
-expand Library
-
-clean::
- $(CLEAN) $(OBJS)
-
-expand Depend
-endef
-
-#
-# ErrorTables -- compile an error table with compile_et
-#
-# ETABLES list of .et files
-# CFLAGS for saber target
-#
-#
-define ErrorTables
-__ETABLE_HS := $(addsuffix .h,$(basename $(ETABLES)))
-__ETABLE_CS := $(addsuffix .c,$(basename $(ETABLES)))
-expand ErrorTables_1
-endef
-
-define ErrorTables_1
-
-saber::
- #load $(CFLAGS) $(__ETABLE_CS)
-
-clean::
- $(CLEAN) $(__ETABLE_HS) $(__ETABLE_CS)
-endef
-
-#
-# StageErrorTables -- copy generated include file into staging area.
-#
-# ETABLES list of .et file
-# HDRS_DIR subdir of STAGE_INCDIR to copy to
-#
-define StageErrorTables
-expand ErrorTables
-expand StageErrorTables_1
-endef
-
-define StageErrorTables_1
-includes:: $(__ETABLE_HS)
- $(INSTHDRS) $(STAGE_INCDIR)/$(HDRS_DIR) $(__ETABLE_HS)
-
-stage:: $(__ETABLE_HS)
- $(INSTHDRS) $(STAGE_INCDIR)/$(HDRS_DIR) $(__ETABLE_HS)
-endef
-
-define SaveStuff
-__LIBS := $(LIBS)
-__DEPS := $(DEPS)
-endef
-
-define RestoreStuff
-LIBS := $(__LIBS)
-DEPS := $(__DEPS)
-endef
-
-#
-# XDR -- generate .c and .h from .x
-#
-# XDRS list of .x files
-#
-define XDR
-__XDR_HS := $(addsuffix .h,$(basename $(XDRS)))
-__XDR_CS := $(addsuffix .c,$(basename $(XDRS)))
-expand XDR_1
-endef
-
-define XDR_1
-saber::
- #load $(CFLAGS) $(__XDR_CS)
-
-clean::
- $(CLEAN) $(__XDR_HS) $(__XDR_CS)
-endef
-
-
-
-#
-# Saber -- load files into saber
-#
-# SRCS list of .c files
-#
-define Saber
-saber::
- #load $(CFLAGS) $(SRCS)
-endef
+++ /dev/null
-# $Id$
-
-# XXXX this file will probably have lots of ARCH_OS defines in it.
-
-#
-# Misc settings
-#
-
-#
-# site-specific compiler/linker flags
-#
-
-CFLAGS := $(CFLAGS) -I$(TOP)/../../src/include \
- -I$(TOP)/../../src/include/krb5 \
- -I$(TOP)/../include \
- -I$(TOP)/../include/krb5 \
- $(PCC_STRUCT_RETURN) -g
-
-SITEMAKEFLAGS := -f Makefile.ov
-
-#
-# Packages whose locations we need to know
-#
-
-ifeq ($(shell ls -d /.afs/gza.com/product/secure 2>/dev/null),/.afs/gza.com/product/secure)
-AFS_ROOT=/.afs
-else
-AFS_ROOT=/afs
-endif
-
-PERL = /afs/athena/contrib/perl/p
-# /afs/sipb/project/tcl/lib/libtcl.a
-LIBTCL = /mit/gnu/lib/libtcl.a
-# /afs/sipb/project/tcl/include
-TCLINC = /mit/gnu/include
-
-#
-# Default locations
-#
-
-YACC = bison -y
-
-#
-# I'm not really sure where this should go, but it is often useful to
-# be able to set up a test environment from anywhere in the build
-# tree.
-#
-start-servers:
- $(START_SERVERS)
-
-stop-servers:
- $(STOP_SERVERS)
+++ /dev/null
-export PS_ALL = /usr/bin/ps -ef
-# Make sure there's no extra whitespace at the end of this line!
-export PS_PID = /usr/bin/ps -fp
-# Make sure there is a blank space at the end of this line!
-export PS_TTY = /usr/bin/ps -t
-export RSH_CMD = /usr/ucb/rsh
-export INSTCMD = /usr/ucb/install
-export PATH := $(PATH):/usr/ucb:/usr/ccs/bin
-
-PCC_STRUCT_RETURN = -fpcc-struct-return
-D_NEEDS_RPCENT = -DNEEDS_RPCENT
-D_SYSV = -DSYSV
-D_POSIX = -DPOSIX
-D_NO_SETENV = -DNO_SETENV
-D_POSIX_SIGNALS = -DPOSIX_SIGNALS
-D_RANDOM = -Dsrandom=srand48 -Drandom=lrand48
-D_REGEXP_TYPE = -DSOLARIS_REGEXPS
-NETLIB = -lsocket -lnsl
-#BSDLIB = /usr/ucblib/libucb.a
-TERMCAPLIB = -lcurses -ltermcap
-REGEXLIB = -lgen
-LOGINLIB = -lcmd
-
-XINCDIR = /usr/openwin/include
-XLIBDIR = /usr/openwin/lib
-RANLIB = /bin/true
-
-OMIT_GUI = true
-
-# These are used by admin/v4server/Makefile. They are determined
-# automatically by the krb5 beta 4 auto-configure, but we're not using
-# that right now.
-WAIT_USES_INT = true
-OPEN_NEEDS_FCNTL = true
-
-UTMP_FILE = /var/adm/utmp
-WTMP_FILE = /var/adm/wtmp
-UTMPX_FILE = /var/adm/utmpx
-WTMPX_FILE = /var/adm/wtmpx
+++ /dev/null
-export PS_ALL = ps auxww
-# Make sure there's no extra whitespace at the end of this line!
-export PS_PID = ps auxww
-# Make sure there's no extra whitespace at the end of this line!
-export PS_TTY = ps -t
-export RSH_CMD = /usr/ucb/rsh
-
-PCC_STRUCT_RETURN = -fpcc-struct-return
-TERMCAPLIB = -ltermcap
-
-XINCDIR = /usr/openwin/include
-XLIBDIR = /usr/openwin/lib
-
-UTMP_FILE = /etc/utmp
-WTMP_FILE = /usr/adm/wtmp
-
-D_NO_SETENV = -DNO_SETENV
-
-SHLIBCFLAGS := -fpic
-SHLIBLDFLAGS := -assert pure-text
-SHLIBEXT := so
-SHLIBSEP := .
+++ /dev/null
-# $Id$
-# $Source$
-
-export TOP
-
-KRB5B4 = true
-CONFDIR = $(TOP)/config.mk
-
-ifndef CUR_DIR
-CUR_DIR = .
-endif
-
-#
-# get the os name
-#
-
-include $(CONFDIR)/architecture
-
-#
-# Programs
-#
-IMAKE = imake
-# The purpose of this variable setting is to prevent -w from being
-# passed down via environment variables into sub-makes that use SunOS
-# Make rather than GNU make.
-ifndef MAKE_PRINT_DIRECTORY
-MAKE := $(MAKE) --no-print-directory MAKEFLAGS=$(MAKEFLAGS) MFLAGS=$(MFLAGS)
-endif
-CC = gcc
-AR = ar
-RANLIB = ranlib
-LD = ld
-RM = rm
-CLEAN = rm -f
-MV = mv
-LN = ln
-LNSOFT = $(LN) -s
-MAKEDEPEND = makedepend
-RPCGEN = rpcgen
-PERL = /usr/local/bin/perl
-DUMPPERL = /usr/local/bin/perl.static
-UNDUMP = undump
-YACC = $(TOP)/scripts/newyacc.sh
-GENPROT = $(TOP)/scripts/genproto.sh
-INSTCMD = install -c
-export INSTCMD
-PURIFY = purify
-PROOF = proof
-QUANTIFY = quantify
-LEX_LIB = -ll
-PERL = /usr/local/bin/perl
-OBJDUMP = /usr/local/bin/gobjdump
-OBJCOPY = /usr/local/bin/gobjcopy
-
-# Dejagnu variables
-
-# We have to set the host with --host so that setup_xfail will work.
-# If we don't set it, then the host type used is "native", which
-# doesn't match "*-*-*".
-
-DEJAFLAGS := $(DEJALFLAGS) $(CLFLAGS) --debug --host \
- unknown-$(shell uname -m)-$(shell uname -s)$(shell uname -r)
-ifdef VERBOSE_TEST
-DEJAFLAGS += --verbose
-endif
-
-RUNTEST := runtest $(DEJAFLAGS)
-
-#
-# Flags. Since this is the initial setting, don't preserve current
-# values; otherwise, recursive makes will get the sum of everything.
-#
-YFLAGS = -d
-ARFLAGS = cru
-CFLAGS := $(CLFLAGS)
-LDFLAGS := $(CLFLAGS)
-
-#
-# The default target is "all". Put this before any includes, in case
-# the includes define new targets. Or perhaps they should be allowed
-# to define a new default target...
-#
-all::
-
-#
-# Get a unique number for files built in /tmp
-#
-__PID__ := $(shell echo $$$$)
-
-include $(CONFDIR)/config
-
-include $(CONFDIR)/rules
-
-expand IncludeArchFile
-
-include $(CONFDIR)/site.def
-
-ifdef STRIP_INSTALLED
-INST_PROG_FLAGS = -s
-endif
-
-# avoid makefiles from failing on default rules
-expand DefaultRules
-
-# include dependencies
-ifeq ($(shell [ -r Makefile.depend ] && echo yes),yes)
-include Makefile.depend
-endif
-
-# disable RCS frobbing
-% :: RCS/%,v
-
-# fix lex rule
-.l.c:
- $(RM) -f $@
- $(LEX) $(LFLAGS) -t $< > $@
-
-# error table rule
-.SUFFIXES: .et
-.et.c:
- $(COMPILE_ET) $<
-.et.h:
- $(COMPILE_ET) $<
-
-# rpcgen rule
-.SUFFIXES: .x
-.x.c:
- $(RPCGEN) -o $@ -c $<
-.x.h:
- $(RPCGEN) -o $@ -h $<
-
-# command table rule
-.SUFFIXES: .ct
-.ct.c:
- $(MK_CMDS) $<
-.ct.h:
- $(MK_CMDS) $<
-
-CMD="echo 'You must specify CMD to use the 'execute' rule.'; exit 1"
-
-execute:
- @eval $(CMD)
+++ /dev/null
-TOP = ..
-include $(TOP)/config.mk/template
-
-CFLAGS += -I$(TOP)/../include/kerberosIV
-
-PROG = kdb5_util
-SRCS = kdb5_util.c kdb5_util_ct.c dump.c ss_wrapper.c dumpv4.c loadv4.c \
- kdb5_create.c kadm5_create.c string_table.c kdb5_stash.c \
- kdb5_destroy.c ovload.c strtok.c
-OBJS = kdb5_util.o kdb5_util_ct.o dump.o dumpv4.o loadv4.o ss_wrapper.o \
- kdb5_create.o kadm5_create.o string_table.o kdb5_stash.o \
- kdb5_destroy.o ovload.o import_err.o strtok.o
-ETABLES = import_err.et
-
-LIBS = $(LIBADMSRV) $(LIBKDB5) $(LIBDES425) $(LIBKRB5_ALL) \
- $(LIBRPCLIB) $(LIBDYN) $(LIBSS) $(LIBDB) $(NETLIB)
-
-expand NormalProgram
-expand ErrorTables
+++ /dev/null
-#
-# $Id$
-#
-
-TOP = ..
-include $(TOP)/config.mk/template
-
-# Need $(STOP_SERVERS_LOCAL) because any running servers need to be
-# killed so that they won't keep the database open so that we can't
-# blow it away.
-
-unit-test:: unit-test-setup unit-test-body unit-test-cleanup
-
-unit-test-setup::
- $(START_SERVERS_LOCAL)
- $(STOP_SERVERS_LOCAL)
-
-unit-test-body::
- $(PERL) ./do-test.pl 10
-
-unit-test-cleanup::
+++ /dev/null
-TOP = ..
-include $(TOP)/config.mk/template
-
-CFLAGS := $(CFLAGS) -DUSE_KADM5_API_VERSION=1
-
-# This used as a string table, not an error table
-ETABLES = kpasswd_strings.et
-expand ErrorTables
-
-kpasswd.o: kpasswd_strings.h
-depend:: kpasswd_strings.h
-
-PROG = kpasswd
-SRCS = tty_kpasswd.c kpasswd.c kpasswd_strings.c
-OBJS = tty_kpasswd.o kpasswd.o kpasswd_strings.o
-LIBS = $(LIBADMCLNT) $(LIBCOM_ERR) $(LIBGSSAPI_KRB5) $(LIBRPCLIB) \
- $(LIBDYN) $(LIBDB) $(LIBKDB5) $(LIBKRB5) $(LIBCRYPTO) \
- $(LIBISODE) $(NDBMLIB) $(BSDLIB) $(NETLIB)
-
-expand NormalProgram
-
-ifndef OMIT_XM_KPASSWD
-PROG = xm_kpasswd
-CFLAGS := -I$(XM_INC) -I$(XT_INC) -I$(X_INC) $(CFLAGS)
-SRCS := xm_kpasswd.c kpasswd.c kpasswd_strings.c
-OBJS := xm_kpasswd.o kpasswd.o kpasswd_strings.o
-LIBS := $(LIBS) $(XM_LIB) $(XT_LIB) $(X_LIB) $(REGEXLIB)
-
-expand NormalProgram
-endif
-
-SUBDIRS = unit-test
-
-expand SubdirTarget
+++ /dev/null
-#
-# $Id$
-#
-
-TOP = ../..
-include $(TOP)/config.mk/template
-
-USER = root
-
-unit-test:: unit-test-setup unit-test-body unit-test-cleanup
-
-unit-test-body::
- $(RUNTEST) KPASSWD=../kpasswd \
- KINIT=$(TOP)/../clients/kinit/kinit \
- KDESTROY=$(TOP)/../clients/kdestroy/kdestroy \
- USER=$(USER) --tool kpasswd
-
-unit-test-setup::
- $(START_SERVERS)
- echo "source $(TCLUTIL); catch {ovsec_kadm_init admin admin \$$OVSEC_KADM_ADMIN_SERVICE null \$$OVSEC_KADM_STRUCT_VERSION \$$OVSEC_KADM_API_VERSION_1 server_handle; ovsec_kadm_create_principal \$$server_handle [simple_principal $(USER)] {OVSEC_KADM_PRINCIPAL} $(USER); ovsec_kadm_destroy \$$server_handle;}; if {[info exists errorInfo]} { puts stderr \$$errorInfo; exit 1; }" | $(CLNTTCL)
-
-unit-test-cleanup::
- $(STOP_SERVERS)
+++ /dev/null
-TOP = ..
-include $(TOP)/config.mk/template
-CFLAGS := $(CFLAGS)
-
-ifdef KRB5B4
-CFLAGS += -DKRB5B4
-endif
-
-PROG := kadmind
-SRCS := kadm_rpc_svc.c server_stubs.c ovsec_kadmd.c misc.c server_glue_v1.c
-OBJS := kadm_rpc_svc.o server_stubs.o ovsec_kadmd.o misc.o server_glue_v1.o
-LIBS := $(LIBADMSRV) $(LIBRPCLIB) $(LIBGSSAPI_KRB5) $(LIBDYN) \
- $(LIBKDB5) $(LIBKRB5_ALL) $(LIBDB) \
- $(NDBMLIB) $(NETLIB) $(BSDLIB) $(REGEXLIB)
-
-expand InstallServer
-expand Depend
-
-clean::
- $(CLEAN) acls.c
-
-expand Saber
-
-SABER_LIBS := $(LIBDB) $(LIBGSSAPI_KRB5) $(LIBDYN) $(LIBKDB5) \
- $(LIBKRB5) $(LIBCRYPTO) $(LIBISODE) $(LIBCOM_ERR)
-SABER_FLAGS := -G
-
-saber::
- #cd ../../rpc
- #make saber
- #cd ../admin/lib/adb
- #make saber
- #cd ../common
- #make saber
- #cd ../server
- #make saber
- #cd ../../server
- #load /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.4.5/libgcc.a
- #load $(SABER_FLAGS) $(LDFLAGS) $(GSSLIB) $(SABER_LIBS)
+++ /dev/null
-# $Id$
-
-TOP = ..
-include $(TOP)/config.mk/template
-
-SUBDIRS=util scripts
-
-expand SubdirTarget
+++ /dev/null
-# $Id$
-
-TOP = ../..
-include $(TOP)/config.mk/template
-
-GEN_SCRIPTS = compare_dump.pl fixup-conf-files.pl make-host-keytab.pl \
- simple_dump.pl verify_xrunner_report.pl
-
-all:: $(GEN_SCRIPTS) restore_files.sh
-
-restore_files.sh:
- ln -s save_files.sh restore_files.sh
-
-%.pl: %.pl.in
- -rm -f $@.tmp
- echo "#!$(PERL)" > $@.tmp
- sed 1d $@.in >> $@.tmp
- chmod +x $@.tmp
- mv $@.tmp $@
-
-clean::
- -rm -f $(GEN_SCRIPTS) *.tmp
+++ /dev/null
-# $Id$
-
-TOP = ../..
-include $(TOP)/config.mk/template
-
-CFLAGS += -I$(TCLINC)
-
-SRCS = tcl_ovsec_kadm.c tcl_kadm5.c test.c
-OBJS = tcl_ovsec_kadm.o tcl_kadm5.o test.o
-
-PROG = ovsec_kadm_srv_tcl
-LIBS = $(LIBADMSRV) $(LIBRPCLIB) $(LIBDYN) $(LIBGSSAPI_KRB5) \
- $(LIBKDB5) $(LIBKRB5) $(LIBCRYPTO) \
- $(LIBISODE) $(LIBTCL) $(LIBM) $(LIBDB) $(LIBCOM_ERR) \
- $(NDBMLIB) $(NETLIB) $(REGEXLIB)
-
-expand Program
-expand Depend
-
-PROG = ovsec_kadm_clnt_tcl
-LIBS = $(LIBADMCLNT) $(LIBRPCLIB) $(LIBDYN) $(LIBGSSAPI_KRB5) \
- $(LIBKDB5) $(LIBKRB5) $(LIBCRYPTO) \
- $(LIBISODE) $(LIBTCL) $(LIBM) $(LIBDB) $(LIBCOM_ERR) \
- $(NDBMLIB) $(BSDLIB) $(NETLIB)
-
-expand Program
-
-PROG = bsddb_dump
-SRCS = bsddb_dump.c
-OBJS = bsddb_dump.o
-LIBS = $(LIBDB)
-
-expand Program
-expand Depend
+++ /dev/null
-TOP = ..
-include $(TOP)/config.mk/template
-
-ifdef KRB5B4
-CFLAGS += -DKRB5B4 $(D_POSIX_SIGNALS)
-endif
-
-ETABLES = kadm_err.et
-expand ErrorTables
-
-depend:: kadm_err.h
-
-PROG := ovsec_v4adm_server
-
-SRCS := kadm_server.c admin_server.c kadm_ser_wrap.c \
- kadm_stream.c kadm_supp.c acl_files.c kadm_err.c
-
-OBJS := kadm_server.o admin_server.o kadm_ser_wrap.o \
- kadm_stream.o kadm_supp.o acl_files.o kadm_err.o
-
-LIBS := $(LIBADMCLNT) $(LIBRPCLIB) \
- $(LIBKADM) $(LIBKRB) $(LIBDES425) \
- $(LIBGSSAPI_KRB5) $(LIBKDB5) $(LIBKRB5_ALL) \
- $(LIBDYN) $(LIBDB) $(LIBCOM_ERR) $(NDBMLIB) $(NETLIB) $(BSDLIB)
-
-ifdef WAIT_USES_INT
-WAIT_FLAGS = -DWAIT_USES_INT
-endif
-ifdef OPEN_NEEDS_FCNTL
-FCNTL_FLAGS = -DNEED_SYS_FCNTL_H
-endif
-
-CFLAGS := -DOVSEC_KADM -DUSE_KADM5_API_VERSION=1 \
- $(WAIT_FLAGS) $(FCNLT_FLAGS) -I. \
- -I$(TOP)/../include/kerberosIV -I$(TOP)/../../src/include/kerberosIV \
- $(CFLAGS)
-
-expand InstallServer
-expand Depend
-
-SUBDIRS = unit-test
-expand SubdirTarget
+++ /dev/null
-#
-# $Id$
-#
-
-TOP = ../..
-include $(TOP)/config.mk/template
-
-unit-test:: unit-test-setup unit-test-body unit-test-cleanup
-
-unit-test-setup::
- $(START_SERVERS_LOCAL) -v4files -kdcport 750 -keysalt des-cbc-crc:v4
- $(LOCAL_MAKE_KEYTAB) -princ changepw/kerberos /krb5/ovsec_adm.srvtab
-
-unit-test-body::
- $(RUNTEST) VFOURSERVER=../kadmind4 --tool v4server
-
-unit-test-cleanup::
- $(STOP_SERVERS_LOCAL) -v4files
+++ /dev/null
-TOP = ../../kadmin
-include $(TOP)/config.mk/template
-
-# All but D_REGEXP_TYPE are needed only for logger.c
-CFLAGS += $(D_REGEXP_TYPE) $(D_HAVE_SYSLOG_H) $(D_HAVE_STDARG_H) \
- $(D_HAVE_SYSLOG) $(D_HAVE_VSPRINTF) $(D_HAVE_OPENLOG) \
- $(D_HAVE_CLOSELOG) $(D_HAVE_STRFTIME)
-
-ifdef D_NO_SETENV
-SETENVC = setenv.c
-SETENVO = setenv.o
-endif
-
-SUBDIRS = unit-test
-
-COMMON_SRCS := kadm_err.c adb_err.c chpass_util_strings.c ovsec_glue.c \
- misc_free.c kadm_rpc_xdr.c chpass_util.c alt_prof.c str_conv.c \
- logger.c $(SETENVC)
-COMMON_OBJS := kadm_err.o adb_err.o chpass_util_strings.o ovsec_glue.o \
- misc_free.o kadm_rpc_xdr.o chpass_util.o alt_prof.o str_conv.o \
- logger.o $(SETENVO)
-
-SERVER_SRCS := svr_policy.c svr_principal.c server_kdb.c server_misc.c \
- server_init.c server_dict.c server_acl.c svr_iters.c \
- svr_chpass_util.c
-SERVER_OBJS := svr_policy.o svr_principal.o server_kdb.o server_misc.o \
- server_init.o server_dict.o server_acl.o svr_iters.o \
- svr_chpass_util.o
-DB_SRCS := adb_xdr.c adb_policy.c adb_free.c adb_openclose.c
-DB_OBJS := adb_xdr.o adb_policy.o adb_free.o adb_openclose.o
-
-CLIENT_SRCS := clnt_policy.c client_rpc.c client_principal.c \
- client_init.c clnt_privs.c clnt_chpass_util.c
-CLIENT_OBJS := clnt_policy.o client_rpc.o client_principal.o \
- client_init.o clnt_privs.o clnt_chpass_util.o
-
-HDRS := kadm_rpc.h admin.h admin_xdr.h adb.h admin_internal.h \
- server_internal.h server_acl.h
-HDRS_DIR := kadm5
-ETABLES := chpass_util_strings.et kadm_err.et adb_err.et
-
-SRCS := $(COMMON_SRCS) $(SERVER_SRCS) $(DB_SRCS)
-OBJS := $(COMMON_OBJS) $(SERVER_OBJS) $(DB_OBJS)
-LIB := libkadm5srv.a
-
-expand StageLibrary
-expand Depend
-
-SRCS = $(COMMON_SRCS) $(CLIENT_SRCS)
-OBJS = $(COMMON_OBJS) $(CLIENT_OBJS)
-LIB = libkadm5clnt.a
-
-expand StageLibrary
-expand Depend
-
-expand SubdirTarget
-expand StageIncludes
-expand StageErrorTables
-
-# Not sure if/why this is needed...
-chpass_util.c: chpass_util_strings.h
+++ /dev/null
-TOP = ../../../kadmin
-include $(TOP)/config.mk/template
-
-CFLAGS := $(CFLAGS) -DUSE_KADM5_API_VERSION=1
-
-LIBS := $(LIBADMCLNT) $(LIBCOM_ERR) $(LIBRPCLIB) $(LIBDYN) \
- $(LIBGSSAPI_KRB5) $(LIBKDB5) \
- $(LIBKRB5) $(LIBCRYPTO) $(LIBISODE) $(LIBTCL) $(LIBM) \
- $(LIBDB) $(NDBMLIB) $(BSDLIB) $(NETLIB)
-
-INIT_SRCS = init-test.c ../clnt/client_init.c
-DESTROY_SRCS = destroy-test.c
-HANDLE_SRCS = handle-test.c
-RANDKEY_SRCS = randkey-test.c
-ITER_SRCS = iter-test.c
-LOCKTEST_SRCS = lock-test.c
-SIZE_SRCS = sizes-test.c
-
-PROG = init-test
-SRCS = $(INIT_SRCS)
-OBJS = init-test.o client_init.o
-
-client_init.o: ../clnt/client_init.c
- $(CC) $(CFLAGS) -DUSE_KADM5_API_VERSION=2 -DINIT_TEST -c -I.. -I../clnt $<
-
-expand Program
-
-PROG = destroy-test
-SRCS = $(DESTROY_SRCS)
-OBJS = destroy-test.o
-
-expand Program
-
-PROG = client-handle-test
-SRCS = $(HANDLE_SRCS)
-OBJS = handle-test.o
-
-expand Program
-
-PROG = client-iter-test
-SRCS = $(ITER_SRCS)
-OBJS = iter-test.o
-
-expand Program
-
-LIBS := $(LIBADMSRV) $(LIBCOM_ERR) $(LIBRPCLIB) $(LIBDYN) \
- $(LIBGSSAPI_KRB5) $(LIBKDB5) $(LIBKRB5) \
- $(LIBCRYPTO) $(LIBISODE) $(LIBTCL) $(LIBM) $(LIBDB) \
- $(NDBMLIB) $(BSDLIB) $(NETLIB) $(REGEXLIB)
-
-PROG = randkey-test
-SRCS = $(RANDKEY_SRCS)
-OBJS = randkey-test.o
-
-expand Program
-
-PROG = server-handle-test
-SRCS = $(HANDLE_SRCS)
-OBJS = handle-test.o
-
-expand Program
-
-PROG = lock-test
-SRCS = $(LOCKTEST_SRCS)
-OBJS = lock-test.o
-
-expand Program
-
-LIBS := $(LIBS) $(REGEXLIB)
-PROG = server-iter-test
-SRCS = $(ITER_SRCS)
-OBJS = iter-test.o
-
-expand Program
-
-PROG = sizes-test
-SRCS = $(SIZE_SRCS)
-OBJS = sizes-test.o
-
-expand Program
-
-SRCS = $(INIT_SRCS) $(DESTROY_SRCS) $(HANDLE_SRCS) \
- $(RANDKEY_SRCS) $(LOCKTEST_SRCS) $(ITER_SRCS) \
- $(SIZE_SRCS)
-
-expand Depend
-
-unit-test:: unit-test-client unit-test-server
-
-unit-test-client: unit-test-client-setup unit-test-client-body \
- unit-test-client-cleanup
-
-unit-test-server: unit-test-server-setup unit-test-server-body \
- unit-test-server-cleanup
-
-test-randkey:: randkey-test
- ./randkey-test
-
-test-handle-server:: server-handle-test
- ./server-handle-test
-
-test-handle-client:: client-handle-test
- ./client-handle-test
-
-test-noauth: init-test
- ./init-test
-
-test-destroy: destroy-test
- ./destroy-test
-
-test-sizes: sizes-test
- ./sizes-test
-
-unit-test-client-setup::
- $(START_SERVERS)
-
-unit-test-client-cleanup::
- $(STOP_SERVERS)
-
-unit-test-server-setup::
- $(START_SERVERS_LOCAL)
-
-unit-test-server-cleanup::
- $(STOP_SERVERS_LOCAL)
-
-capi.0: api.0
- -rm -f capi.0
- ln -s api.0 capi.0
-
-capi.2: api.2
- -rm -f capi.2
- ln -s api.2 capi.2
-
-unit-test-client-body: capi.0 capi.2 site.exp test-noauth test-destroy test-handle-client test-sizes
- $(RUNTEST) --tool capi API=$(CLNTTCL) KINIT=$(TOP)/../clients/kinit/kinit KDESTROY=$(TOP)/../clients/kdestroy/kdestroy KADMIN_LOCAL=$(TOP)/cli/kadmin.local TOP=$(TOP) RPC=1
-
-sapi.0: api.0
- -rm -f sapi.0
- ln -s api.0 sapi.0
-
-sapi.1: api.1
- -rm -f sapi.1
- ln -s api.1 sapi.1
-
-sapi.2: api.2
- -rm -f sapi.2
- ln -s api.2 sapi.2
-
-unit-test-server-body: sapi.0 sapi.1 sapi.2 site.exp randkey-test test-handle-server \
- lock-test test-sizes
- $(RUNTEST) --tool sapi API=$(SRVTCL) LOCKTEST=./lock-test KADMIN_LOCAL=$(TOP)/cli/kadmin.local TOP=$(TOP) RPC=0
-
-clean::
- $(CLEAN) -r *.log *.plog *.sum *.psum unit-test-log.*
+++ /dev/null
-#
-# Makefile for librpclib.a.
-#
-# $Id$
-# $Source$
-#
-TOP = ..
-include $(TOP)/config.mk/template
-
-SUBDIRS = unit-test
-
-SRCS = auth_none.c auth_unix.c auth_any.c authunix_prot.c \
- auth_gssapi.c auth_gssapi_misc.c bindresvport.c \
- clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c clnt_tcp.c \
- clnt_udp.c rpc_dtablesize.c get_myaddress.c getrpcent.c getrpcport.c \
- pmap_clnt.c pmap_getmaps.c pmap_getport.c pmap_prot.c \
- pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c rpc_callmsg.c \
- svc.c svc_auth.c svc_auth_unix.c svc_auth_any.c svc_auth_gssapi.c \
- svc_raw.c svc_run.c svc_simple.c \
- svc_tcp.c svc_udp.c xdr.c xdr_array.c xdr_float.c xdr_mem.c \
- xdr_rec.c xdr_reference.c xdr_stdio.c xdr_alloc.c
-
-OBJS = auth_none.o auth_unix.o auth_any.o authunix_prot.o \
- auth_gssapi.o auth_gssapi_misc.o bindresvport.o \
- clnt_generic.o clnt_perror.o clnt_raw.o clnt_simple.o clnt_tcp.o \
- clnt_udp.o rpc_dtablesize.o get_myaddress.o getrpcent.o getrpcport.o \
- pmap_clnt.o pmap_getmaps.o pmap_getport.o pmap_prot.o \
- pmap_prot2.o pmap_rmt.o rpc_prot.o rpc_commondata.o rpc_callmsg.o \
- svc.o svc_auth.o svc_auth_unix.o svc_auth_any.o svc_auth_gssapi.o \
- svc_raw.o svc_run.o svc_simple.o \
- svc_tcp.o svc_udp.o xdr.o xdr_array.o xdr_float.o xdr_mem.o \
- xdr_rec.o xdr_reference.o xdr_stdio.o xdr_alloc.o
-
-HDRS = auth.h auth_unix.h auth_gssapi.h clnt.h pmap_clnt.h \
- pmap_prot.h pmap_rmt.h rpc.h rpc_msg.h svc.h svc_auth.h types.h xdr.h
-
-HDRS_DIR = rpc
-
-LIB = librpclib.a
-
-CFLAGS := -I.. $(CFLAGS) -DDEBUG_GSSAPI=0 $(D_NEEDS_RPCENT)
-
-expand StageLibrary
-
-expand StageIncludes
-
-expand Depend
-
-expand SubdirTarget
-
-expand Saber
-
+++ /dev/null
-# Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved.
-#
-# $Id$
-# $Source$
-#
-# $Log$
-# Revision 1.1 1996/10/15 20:15:02 bjaspan
-# * initial changes to make rpc unit tests work with new build/test
-# system
-#
-# Revision 1.9 1996/07/22 20:41:38 marc
-# this commit includes all the changes on the OV_9510_INTEGRATION and
-# OV_MERGE branches. This includes, but is not limited to, the new openvision
-# admin system, and major changes to gssapi to add functionality, and bring
-# the implementation in line with rfc1964. before committing, the
-# code was built and tested for netbsd and solaris.
-#
-# Revision 1.8.4.1 1996/07/18 04:20:01 marc
-# merged in changes from OV_9510_BP to OV_9510_FINAL1
-#
-# Revision 1.8.2.1 1996/06/20 23:41:48 marc
-# File added to the repository on a branch
-#
-# Revision 1.8 1995/12/07 17:36:54 jik
-# Use "rpc_test" instead of "rpc-test", to avoid problems with rpcgen on
-# some systems. See PR 3553.
-#
-# Revision 1.7 1995/10/02 08:02:49 jik
-# Delete rpc-tset_clnt.c, rpc-test_svc.c and rpc-test.h before creating
-# them, because rpcgen on some platforms won't output to a file that
-# already exists.
-#
-# Revision 1.6 1994/10/24 19:35:57 bjaspan
-# [secure-build/2649: cannot use -L when compiling]
-#
-# Sandbox:
-#
-# [secure-build/2649] don't use -L
-#
-# Revision 1.7 1994/10/11 20:06:14 bjaspan
-# [secure-build/2649] don't use -L
-#
-# Revision 1.6 1994/09/30 22:25:29 jik
-# Don't need to set MDFLAGS to -a anymore, because it's done
-# automatically by the rules now.
-#
-# Revision 1.5 1994/03/22 19:55:34 shanzer
-# change NETLIBS to NETLIB
-#
-# Revision 1.4 1994/03/18 17:47:00 shanzer
-# added NETLIBS and BSDLIB
-#
-# Revision 1.3 1993/12/13 02:00:39 bjaspan
-# recurse to testsuite subdir.
-#
-# Revision 1.2 1993/12/08 21:45:47 bjaspan
-# misc
-#
-# Revision 1.1 1993/11/03 23:53:58 bjaspan
-# Initial revision
-#
-
-TOP = ../..
-include $(TOP)/config.mk/template
-
-SUBDIRS = testsuite
-
-expand SubdirTarget
-
-SRCS = client.c server.c
-
-CFLAGS := -I../.. -I. $(CFLAGS)
-
-#LIBS = ../librpclib.a $(LIBGSSAPI_TRUST) $(LIBDB) $(LIBCOM_ERR) $(LIBDYN)
-LIBS = ../librpclib.a $(LIBGSSAPI_KRB5) $(LIBDB) $(LIBKRB5) \
- $(LIBCRYPTO) $(LIBISODE) $(LIBCOM_ERR) $(LIBDYN) $(BSDLIB) $(NETLIB)
-DEPS = ../librpclib.a rpc_test.h
-DEPENDS = rpc_test.h
-
-PROG = client
-SRCS = client.c
-OBJS = client.o rpc_test_clnt.o
-
-expand Program
-expand Depend
-
-PROG = server
-SRCS = server.c
-OBJS = server.o rpc_test_svc.o
-
-expand Program
-expand Depend
-
-rpc_test.h rpc_test_clnt.c rpc_test_svc.c: rpc_test.x
- -rm -f rpc_test_clnt.c rpc_test_svc.c rpc_test.h
- rpcgen -l rpc_test.x -o rpc_test_clnt.c
- rpcgen -m rpc_test.x -o rpc_test_svc.c
- rpcgen -h rpc_test.x -o rpc_test.h
-
-clean::
- rm -f rpc_test.h rpc_test_clnt.c rpc_test_svc.c