diff options
author | Mark Eichin <eichin@mit.edu> | 1994-08-09 03:38:39 +0000 |
---|---|---|
committer | Mark Eichin <eichin@mit.edu> | 1994-08-09 03:38:39 +0000 |
commit | 0aed591a6fe9761d9dcb2974567ab6361b392c12 (patch) | |
tree | 1d375fa19716201a862178727111540ddf14d82b /src | |
parent | e0d903707aaa70544f6e156b19738852fbd3e2c6 (diff) | |
download | krb5-0aed591a6fe9761d9dcb2974567ab6361b392c12.tar.gz krb5-0aed591a6fe9761d9dcb2974567ab6361b392c12.tar.xz krb5-0aed591a6fe9761d9dcb2974567ab6361b392c12.zip |
Stamp Out Imake in Our Lifetimes..
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4081 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/admin/aname/Imakefile | 28 | ||||
-rw-r--r-- | src/admin/convert/Imakefile | 36 | ||||
-rw-r--r-- | src/admin/create/Imakefile | 28 | ||||
-rw-r--r-- | src/admin/destroy/Imakefile | 28 | ||||
-rw-r--r-- | src/admin/edit/Imakefile | 78 | ||||
-rw-r--r-- | src/admin/stash/Imakefile | 28 | ||||
-rw-r--r-- | src/appl/bsd/Imakefile | 97 | ||||
-rw-r--r-- | src/appl/gss-sample/Imakefile | 39 | ||||
-rw-r--r-- | src/appl/sample/sclient/Imakefile | 31 | ||||
-rw-r--r-- | src/appl/sample/sserver/Imakefile | 31 | ||||
-rw-r--r-- | src/appl/simple/client/Imakefile | 33 | ||||
-rw-r--r-- | src/appl/simple/server/Imakefile | 32 | ||||
-rw-r--r-- | src/appl/telnet/libtelnet/Imakefile | 75 | ||||
-rw-r--r-- | src/appl/telnet/telnet/Imakefile | 75 | ||||
-rw-r--r-- | src/appl/telnet/telnetd/Imakefile | 75 | ||||
-rw-r--r-- | src/appl/user_user/Imakefile | 55 | ||||
-rw-r--r-- | src/clients/kdestroy/Imakefile | 28 | ||||
-rw-r--r-- | src/clients/kinit/Imakefile | 28 | ||||
-rw-r--r-- | src/clients/klist/Imakefile | 28 | ||||
-rw-r--r-- | src/clients/ksu/Imakefile | 41 | ||||
-rw-r--r-- | src/config-files/Imakefile | 6 | ||||
-rw-r--r-- | src/config/doc/paper.ms | 623 | ||||
-rw-r--r-- | src/include/kerberosIV/Imakefile | 34 |
23 files changed, 0 insertions, 1557 deletions
diff --git a/src/admin/aname/Imakefile b/src/admin/aname/Imakefile deleted file mode 100644 index 63c1d46850..0000000000 --- a/src/admin/aname/Imakefile +++ /dev/null @@ -1,28 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1990 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# - -LOCAL_LIBRARIES = $(KLIBLOC) -l$(KRB5LIB) $(COMERRLIB) $(DBMLIB) - -Krb5AdminProgramTarget(kdb5_anadd) diff --git a/src/admin/convert/Imakefile b/src/admin/convert/Imakefile deleted file mode 100644 index b8219dbdc7..0000000000 --- a/src/admin/convert/Imakefile +++ /dev/null @@ -1,36 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1991 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# -DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) -LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) $(KDB4LIB) $(KRB4LIB) -INCLUDES=-I$(TOP)/include/kerberosIV - -#ifdef Krb4KDCCompat -Krb5AdminProgramTarget(kdb5_convert) -#else -all:: - echo "Not defined to use Kerberos V4 backwards compatibility" -#endif - -DependTarget() diff --git a/src/admin/create/Imakefile b/src/admin/create/Imakefile deleted file mode 100644 index f35be3f5cf..0000000000 --- a/src/admin/create/Imakefile +++ /dev/null @@ -1,28 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1990 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# -DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) -LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) - -Krb5AdminProgramTarget(kdb5_create) diff --git a/src/admin/destroy/Imakefile b/src/admin/destroy/Imakefile deleted file mode 100644 index 3f4cdd910d..0000000000 --- a/src/admin/destroy/Imakefile +++ /dev/null @@ -1,28 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1990 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# -DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) -LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) - -Krb5AdminProgramTarget(kdb5_destroy) diff --git a/src/admin/edit/Imakefile b/src/admin/edit/Imakefile deleted file mode 100644 index 639bd2db55..0000000000 --- a/src/admin/edit/Imakefile +++ /dev/null @@ -1,78 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1992 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# -DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) -LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) - -CTOBJS = kdb5_ed_ct.o -CTSRCS = kdb5_ed_ct.c - -#if HasTcl -MOSTOBJS = kdb5_edit.o util.o dump.o -MOSTSRCS = kdb5_edit.c util.c dump.c -TCLOBJS = tcl_wrapper.o -TCLSRCS = tcl_wrapper.c -SSOBJS = ss_wrapper.o $(CTOBJS) -SSSRCS = ss_wrapper.c $(CTSRCS) -OBJS = $(MOSTOBJS) $(TCLOBJS) $(SSOBJS) -SRCS = $(MOSTSRCS) $(TCLSRCS) $(SSSRCS) -#else -OBJS = kdb5_edit.o util.o dump.o $(CTOBJS) ss_wrapper.o -SRCS = kdb5_edit.c util.c dump.c $(CTSRCS) ss_wrapper.c -#endif - -#if HasTcl -all:: kdb5_edit.ss kdb5_edit.tcl -#else -all:: kdb5_edit -#endif - -CmdTableObjectRule() - -# needed until we run makedepend -kdb5_ed_ct.o: kdb5_ed_ct.c - -clean:: - $(RM) kdb5_ed_ct.c - -#if HasTcl -INCLUDES = $(TCLINCLUDES) -NormalProgramTarget(kdb5_edit.ss,$(MOSTOBJS) $(SSOBJS),$(DEPLIBS),$(LOCAL_LIBRARIES) $(SSLIB),) -NormalProgramTarget(kdb5_edit.tcl,$(MOSTOBJS) $(TCLOBJS),$(DEPLIBS),$(LOCAL_LIBRARIES) $(TCLLIBS),) -#else -NormalProgramTarget(kdb5_edit,$(OBJS),$(DEPLIBS),$(LOCAL_LIBRARIES) $(SSLIB),) -#endif - -Krb5InstallAdminProgram(kdb5_edit) - -#if HasTcl -SaberProgramTarget(kdb5_edit.ss,$(MOSTSRCS) $(CTSRCS),$(OBJS),$(LOCAL_LIBRARIES),) -SaberProgramTarget(kdb5_edit.tcl,$(MOSTSRCS) $(TCLSRCS),$(OBJS),$(LOCAL_LIBRARIES),) -#else -SaberProgramTarget(kdb5_edit,$(SRCS),$(OBJS),$(LOCAL_LIBRARIES),) -#endif - -depend:: kdb5_ed_ct.c - -DependTarget() diff --git a/src/admin/stash/Imakefile b/src/admin/stash/Imakefile deleted file mode 100644 index c6a38218de..0000000000 --- a/src/admin/stash/Imakefile +++ /dev/null @@ -1,28 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1990 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# -DEPLIBS = $(DEPKDBLIB) $(DEPKLIB) -LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) - -Krb5AdminProgramTarget(kdb5_stash) diff --git a/src/appl/bsd/Imakefile b/src/appl/bsd/Imakefile deleted file mode 100644 index 180aa1dcd0..0000000000 --- a/src/appl/bsd/Imakefile +++ /dev/null @@ -1,97 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1990,1991 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# - -DEPLIBS = $(DEPKLIB) - -#ifdef Krb4ApplCompat -K4LIB = $(KRB4LIB) -#else -K4LIB = -#endif - -DEFINES = $(APPL_BSD_DEF) -DKERBEROS - -#ifdef CrayArchitecture -LOCAL_LIBRARIES = -lshare -lm -lrsc -#endif - -#ifdef AIXArchitecture -LOCAL_LIBRARIES = -ls -lcfg -#endif - - -LIBRARIES= $(KLIB) $(LOCAL_LIBRARIES) - -# XXX This should be something like HasSetenv instead.... -#if defined(NeXTArchitecture) -SETENVSRC= -SETENVOBJ= -#else -SETENVSRC= setenv.c -SETENVOBJ= setenv.o -#endif - -CLIENTSRCS= krcp.c krlogin.c krsh.c kcmd.c forward.c logutil.c $(SETENVSRC) \ - login.c -CLIENTOBJS= krcp.o krlogin.o krsh.o kcmd.o forward.c logutil.o $(SETENVOBJ) \ - login.o - -#ifdef CrayArchitecture -SERVERSRCS= krshd.c -SERVEROBJS= krshd.o -#else -SERVERSRCS= krlogind.c krshd.c -SERVEROBJS= krlogind.o krshd.o -#endif - -SRCS= $(CLIENTSRCS) $(SERVERSRCS) - -#ifdef CrayArchitecture -all:: rsh rcp rlogin krshd -#else -all:: rsh rcp rlogin krshd krlogind login.krb5 -#endif - -NormalProgramTarget(rsh,krsh.o kcmd.o forward.o,$(DEPLIBS),$(LIBRARIES),) -Krb5InstallClientProgram(rsh) - -NormalProgramTarget(rcp,krcp.o kcmd.o forward.o,$(DEPLIBS),$(LIBRARIES),) -Krb5InstallClientProgram(rcp) - -NormalProgramTarget(rlogin,krlogin.o kcmd.o forward.o,$(DEPLIBS),$(LIBRARIES),) -Krb5InstallClientProgram(rlogin) - -NormalProgramTarget(krshd,krshd.o kcmd.o logutil.o forward.o,$(DEPLIBS),$(LIBRARIES),$(K4LIB)) -Krb5InstallServerProgram(krshd) - -#ifndef CrayArchitecture -NormalProgramTarget(krlogind,krlogind.o logutil.o kcmd.o forward.o,$(DEPLIBS),$(LIBRARIES),$(K4LIB)) -Krb5InstallServerProgram(krlogind) - -NormalProgramTarget(login.krb5,login.o logutil.o $(SETENVOBJ),$(DEPLIBS),$(LIBRARIES),) -InstallProgram(login.krb5,$(SERVER_BINDIR)) -#endif - -DependTarget() diff --git a/src/appl/gss-sample/Imakefile b/src/appl/gss-sample/Imakefile deleted file mode 100644 index ae71ec1286..0000000000 --- a/src/appl/gss-sample/Imakefile +++ /dev/null @@ -1,39 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1990,1991 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# - -SRCS= gss-client.c gss-misc.c gss-server.c - -DEPLIBS= $(TOP)/lib/gssapi/libgssapi_krb5.a $(DEPKLIB) -LIBS= $(TOP)/lib/gssapi/libgssapi_krb5.a $(KLIB) - -all:: gss-client gss-server - -NormalProgramTarget(gss-client,gss-client.o gss-misc.o,$(DEPLIBS),$(LIBS),) -Krb5InstallClientProgram(gss-client) - -NormalProgramTarget(gss-server,gss-server.o gss-misc.o,$(DEPLIBS),$(LIBS),) -Krb5InstallServerProgram(gss-server) - -DependTarget() diff --git a/src/appl/sample/sclient/Imakefile b/src/appl/sample/sclient/Imakefile deleted file mode 100644 index 4c1a7ada95..0000000000 --- a/src/appl/sample/sclient/Imakefile +++ /dev/null @@ -1,31 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1990 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# - - DEPLIBS = $(DEPKLIB) -LOCAL_LIBRARIES = $(KLIB) - -Krb5ClientProgramTarget(sclient) - -DependTarget() diff --git a/src/appl/sample/sserver/Imakefile b/src/appl/sample/sserver/Imakefile deleted file mode 100644 index b12a0c97d7..0000000000 --- a/src/appl/sample/sserver/Imakefile +++ /dev/null @@ -1,31 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1990 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# - - DEPLIBS = $(DEPKLIB) -LOCAL_LIBRARIES = $(KLIB) - -Krb5ServerProgramTarget(sserver) - -DependTarget() diff --git a/src/appl/simple/client/Imakefile b/src/appl/simple/client/Imakefile deleted file mode 100644 index 03dd9227d6..0000000000 --- a/src/appl/simple/client/Imakefile +++ /dev/null @@ -1,33 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1991 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# - DEPLIBS = $(DEPKLIB) -LOCAL_LIBRARIES = $(KLIB) - INCLUDES = -I.. - SRCS = sim_client.c - -SimpleTestProgramTarget(sim_client) - -DependTarget() - diff --git a/src/appl/simple/server/Imakefile b/src/appl/simple/server/Imakefile deleted file mode 100644 index 45740cf29d..0000000000 --- a/src/appl/simple/server/Imakefile +++ /dev/null @@ -1,32 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1991 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# - DEPLIBS = $(DEPKLIB) -LOCAL_LIBRARIES = $(KLIB) - INCLUDES = -I.. - SRCS = sim_server.c - -SimpleTestProgramTarget(sim_server) - -DependTarget() diff --git a/src/appl/telnet/libtelnet/Imakefile b/src/appl/telnet/libtelnet/Imakefile deleted file mode 100644 index 4c866d7b57..0000000000 --- a/src/appl/telnet/libtelnet/Imakefile +++ /dev/null @@ -1,75 +0,0 @@ -# -# Copyright (c) 1991 The Regents of the University of California. -# All rights reserved. -# -# Redistribution and use in source and binary forms are permitted provided -# that: (1) source distributions retain this entire copyright notice and -# comment, and (2) distributions including binaries display the following -# acknowledgement: ``This product includes software developed by the -# University of California, Berkeley and its contributors'' in the -# documentation or other materials provided with the distribution and in -# all advertising materials mentioning features or use of this software. -# Neither the name of the University nor the names of its contributors may -# be used to endorse or promote products derived from this software without -# specific prior written permission. -# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -# -# @(#)Makefile 5.5 (Berkeley) 3/1/91 -# - -# -# Everything happens in ../Makefile.config and Makefile.generic -# - -AUTH_DEF=-DAUTHENTICATION -DKRB5 -DFORWARD -UNO_LOGIN_F -DLOGIN_CAP_F -DLOGIN_PROGRAM=KRB5_PATH_LOGIN -AUTH_INC=-I../../../include -AUTH_LIB=$(KLIB) -AUTH_LIBPATH=$(DEPKLIB); - -all: - @-if [ -f ../Config.local ]; \ - then \ - echo make -f ../Config.local WHAT="" CC="${CC}" \ - AUTH_DEF="$(AUTH_DEF)" \ - AUTH_INC="$(AUTH_INC)" \ - AUTH_LIB="$(AUTH_LIB)" \ - AUTH_LIBPATH="$(AUTH_LIBPATH)"; \ - make -f ../Config.local WHAT="" CC="${CC}" \ - AUTH_DEF="$(AUTH_DEF)" \ - AUTH_INC="$(AUTH_INC)" \ - AUTH_LIB="$(AUTH_LIB)" \ - AUTH_LIBPATH="$(AUTH_LIBPATH)"; \ - else \ - echo make -f ../Config.generic WHAT="" CC="${CC}" \ - AUTH_DEF="$(AUTH_DEF)" \ - AUTH_INC="$(AUTH_INC)" \ - AUTH_LIB="$(AUTH_LIB)" \ - AUTH_LIBPATH="$(AUTH_LIBPATH)" \ - $(TELNET_OPSYS); \ - make -f ../Config.generic WHAT="" CC="${CC}" \ - AUTH_DEF="$(AUTH_DEF)" \ - AUTH_INC="$(AUTH_INC)" \ - AUTH_LIB="$(AUTH_LIB)" \ - AUTH_LIBPATH="$(AUTH_LIBPATH)" \ - $(TELNET_OPSYS); \ - fi - -Makefiles:: - @echo "Do nothing!" - -.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/telnet/Imakefile b/src/appl/telnet/telnet/Imakefile deleted file mode 100644 index 4c866d7b57..0000000000 --- a/src/appl/telnet/telnet/Imakefile +++ /dev/null @@ -1,75 +0,0 @@ -# -# Copyright (c) 1991 The Regents of the University of California. -# All rights reserved. -# -# Redistribution and use in source and binary forms are permitted provided -# that: (1) source distributions retain this entire copyright notice and -# comment, and (2) distributions including binaries display the following -# acknowledgement: ``This product includes software developed by the -# University of California, Berkeley and its contributors'' in the -# documentation or other materials provided with the distribution and in -# all advertising materials mentioning features or use of this software. -# Neither the name of the University nor the names of its contributors may -# be used to endorse or promote products derived from this software without -# specific prior written permission. -# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -# -# @(#)Makefile 5.5 (Berkeley) 3/1/91 -# - -# -# Everything happens in ../Makefile.config and Makefile.generic -# - -AUTH_DEF=-DAUTHENTICATION -DKRB5 -DFORWARD -UNO_LOGIN_F -DLOGIN_CAP_F -DLOGIN_PROGRAM=KRB5_PATH_LOGIN -AUTH_INC=-I../../../include -AUTH_LIB=$(KLIB) -AUTH_LIBPATH=$(DEPKLIB); - -all: - @-if [ -f ../Config.local ]; \ - then \ - echo make -f ../Config.local WHAT="" CC="${CC}" \ - AUTH_DEF="$(AUTH_DEF)" \ - AUTH_INC="$(AUTH_INC)" \ - AUTH_LIB="$(AUTH_LIB)" \ - AUTH_LIBPATH="$(AUTH_LIBPATH)"; \ - make -f ../Config.local WHAT="" CC="${CC}" \ - AUTH_DEF="$(AUTH_DEF)" \ - AUTH_INC="$(AUTH_INC)" \ - AUTH_LIB="$(AUTH_LIB)" \ - AUTH_LIBPATH="$(AUTH_LIBPATH)"; \ - else \ - echo make -f ../Config.generic WHAT="" CC="${CC}" \ - AUTH_DEF="$(AUTH_DEF)" \ - AUTH_INC="$(AUTH_INC)" \ - AUTH_LIB="$(AUTH_LIB)" \ - AUTH_LIBPATH="$(AUTH_LIBPATH)" \ - $(TELNET_OPSYS); \ - make -f ../Config.generic WHAT="" CC="${CC}" \ - AUTH_DEF="$(AUTH_DEF)" \ - AUTH_INC="$(AUTH_INC)" \ - AUTH_LIB="$(AUTH_LIB)" \ - AUTH_LIBPATH="$(AUTH_LIBPATH)" \ - $(TELNET_OPSYS); \ - fi - -Makefiles:: - @echo "Do nothing!" - -.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/telnetd/Imakefile b/src/appl/telnet/telnetd/Imakefile deleted file mode 100644 index 4c866d7b57..0000000000 --- a/src/appl/telnet/telnetd/Imakefile +++ /dev/null @@ -1,75 +0,0 @@ -# -# Copyright (c) 1991 The Regents of the University of California. -# All rights reserved. -# -# Redistribution and use in source and binary forms are permitted provided -# that: (1) source distributions retain this entire copyright notice and -# comment, and (2) distributions including binaries display the following -# acknowledgement: ``This product includes software developed by the -# University of California, Berkeley and its contributors'' in the -# documentation or other materials provided with the distribution and in -# all advertising materials mentioning features or use of this software. -# Neither the name of the University nor the names of its contributors may -# be used to endorse or promote products derived from this software without -# specific prior written permission. -# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -# -# @(#)Makefile 5.5 (Berkeley) 3/1/91 -# - -# -# Everything happens in ../Makefile.config and Makefile.generic -# - -AUTH_DEF=-DAUTHENTICATION -DKRB5 -DFORWARD -UNO_LOGIN_F -DLOGIN_CAP_F -DLOGIN_PROGRAM=KRB5_PATH_LOGIN -AUTH_INC=-I../../../include -AUTH_LIB=$(KLIB) -AUTH_LIBPATH=$(DEPKLIB); - -all: - @-if [ -f ../Config.local ]; \ - then \ - echo make -f ../Config.local WHAT="" CC="${CC}" \ - AUTH_DEF="$(AUTH_DEF)" \ - AUTH_INC="$(AUTH_INC)" \ - AUTH_LIB="$(AUTH_LIB)" \ - AUTH_LIBPATH="$(AUTH_LIBPATH)"; \ - make -f ../Config.local WHAT="" CC="${CC}" \ - AUTH_DEF="$(AUTH_DEF)" \ - AUTH_INC="$(AUTH_INC)" \ - AUTH_LIB="$(AUTH_LIB)" \ - AUTH_LIBPATH="$(AUTH_LIBPATH)"; \ - else \ - echo make -f ../Config.generic WHAT="" CC="${CC}" \ - AUTH_DEF="$(AUTH_DEF)" \ - AUTH_INC="$(AUTH_INC)" \ - AUTH_LIB="$(AUTH_LIB)" \ - AUTH_LIBPATH="$(AUTH_LIBPATH)" \ - $(TELNET_OPSYS); \ - make -f ../Config.generic WHAT="" CC="${CC}" \ - AUTH_DEF="$(AUTH_DEF)" \ - AUTH_INC="$(AUTH_INC)" \ - AUTH_LIB="$(AUTH_LIB)" \ - AUTH_LIBPATH="$(AUTH_LIBPATH)" \ - $(TELNET_OPSYS); \ - fi - -Makefiles:: - @echo "Do nothing!" - -.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/user_user/Imakefile b/src/appl/user_user/Imakefile deleted file mode 100644 index f14280f5c0..0000000000 --- a/src/appl/user_user/Imakefile +++ /dev/null @@ -1,55 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1991 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# - - DEPLIBS = $(DEPKLIB) -LOCAL_LIBRARIES = $(KLIB) - DEFINES = -DDEBUG - -SERVERSRCS = $(SRCDIR)server.c -SERVEROBJS = server.o - -CLIENTSRCS = $(SRCDIR)client.c -CLIENTOBJS = client.o - -all:: uuclient uuserver - - -NormalProgramTarget(uuclient,$(CLIENTOBJS),$(DEPLIBS),$(LOCAL_LIBRARIES),) - -NormalProgramTarget(uuserver,$(SERVEROBJS),$(DEPLIBS),$(LOCAL_LIBRARIES),) - -SaberProgramTarget(uuclient, $(CLIENTSRCS), $(CLIENTOBJS), - $(DEPLIBS) $(LOCAL_LIBRARIES),) -SaberProgramTarget(uuserver, $(SERVERSRCS), $(SERVEROBJS), - $(DEPLIBS) $(LOCAL_LIBRARIES),) - -SRCS=$(SERVERSRCS) $(CLIENTSRCS) - -DependTarget() - -clean:: - $(RM) $(SERVEROBJS) $(CLIENTOBJS) uuclient uuserver - -includes:: diff --git a/src/clients/kdestroy/Imakefile b/src/clients/kdestroy/Imakefile deleted file mode 100644 index 2887e3b34c..0000000000 --- a/src/clients/kdestroy/Imakefile +++ /dev/null @@ -1,28 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1990 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# - DEPLIBS = $(DEPKLIB) -LOCAL_LIBRARIES = $(KLIB) - -Krb5ClientProgramTarget(kdestroy) diff --git a/src/clients/kinit/Imakefile b/src/clients/kinit/Imakefile deleted file mode 100644 index b63ba4652c..0000000000 --- a/src/clients/kinit/Imakefile +++ /dev/null @@ -1,28 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1990 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# - DEPLIBS = $(DEPKLIB) -LOCAL_LIBRARIES = $(KLIB) - -Krb5ClientProgramTarget(kinit) diff --git a/src/clients/klist/Imakefile b/src/clients/klist/Imakefile deleted file mode 100644 index fe5a4bfe9d..0000000000 --- a/src/clients/klist/Imakefile +++ /dev/null @@ -1,28 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1990 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# - DEPLIBS = $(DEPKLIB) -LOCAL_LIBRARIES = $(KLIB) - -Krb5ClientProgramTarget(klist) diff --git a/src/clients/ksu/Imakefile b/src/clients/ksu/Imakefile deleted file mode 100644 index cce2526153..0000000000 --- a/src/clients/ksu/Imakefile +++ /dev/null @@ -1,41 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1990 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# - -DEPLIBS = $(DEPKLIB) -LOCAL_LIBRARIES = $(KLIB) - -DEFINES = -DLOCAL_REALM='"."' -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /local/bin"' - -OBJS = krb_auth_su.o ccache.o authorization.o main.o heuristic.o -SRCS = krb_auth_su.c ccache.c authorization.c main.c heuristic.c - -all:: ksu - -NormalProgramTarget(ksu,$(OBJS),$(DEPLIBS),$(LOCAL_LIBRARIES),) - -InstallProgramWithFlags(ksu,$(CLIENT_BINDIR),$(INSTUIDFLAGS)) -Krb5InstallManPage(ksu,$(CLIENT_MANDIR),$(CLIENT_MANSUFFIX)) - -DependTarget() diff --git a/src/config-files/Imakefile b/src/config-files/Imakefile deleted file mode 100644 index 5fab6f7b85..0000000000 --- a/src/config-files/Imakefile +++ /dev/null @@ -1,6 +0,0 @@ -all:: - -Krb5InstallManPage(krb.conf,$(FILE_MANDIR),$(FILE_MANSUFFIX)) -Krb5InstallManPage(krb.realms,$(FILE_MANDIR),$(FILE_MANSUFFIX)) - -depend:: diff --git a/src/config/doc/paper.ms b/src/config/doc/paper.ms deleted file mode 100644 index ea0c7af259..0000000000 --- a/src/config/doc/paper.ms +++ /dev/null @@ -1,623 +0,0 @@ -.\" macros ripped off from Rosenthal and Lemke's paper -.\" refer -e -n -p vis.refs -s vis.nr | eqn | pic | psroff -ms -.\.EQ -.\delim $$ -.\.EN -.ds CH -.de Ip -.IP \(bu 3 -.. -.de Qp -.nr PS -2 -.nr VS -2 -.QP -.. -.de Qe -.nr PS +2 -.nr VS +2 -.. -.de RQ -.br -.di -.nr NF 0 -.if \\n(dn-\\n(.t .nr NF 1 -.if \\n(TC .nr NF 1 -.if !\\n(NF .if \\n(TB .nr TB 0 -.nf -.rs -.nr TC 5 -.in 0 -.ls 1 -.if !\\n(TB \{\ -. ev -. br -. ev 2 -. KK -.\} -.ls -.ce 0 -.if !\\n(TB .rm KK -.if \\n(TB .da KJ -.if \\n(TB \!.KD \\n(dn -.if \\n(TB .KK -.if \\n(TB .di -.nr TC \\n(TB -.if \\n(KN .fi -.in -.ev -.. -.\" These macros should select a typewriter font if you have one. -.de LS -.LP -.KS -.LD -.ft L -.ta .6i 1.2i 1.8i 2.4i 3i 3.6i 4.2i -.. -.de LE -.ft P -.DE -.KE -.. -.de Ls -.nr PS -4 -.nr VS -6 -.LS -.. -.de Le -.LE -.nr PS +4 -.nr VS +6 -.LP -.. -.nr PO 1.25i -.TL -Configuration Management in the X Window System -.AU -Jim Fulton -.AI -X Consortium -MIT Laboratory for Computer Science -545 Technology Square -Cambridge, MA 02139 -.AB -The X Window System\(dg has become an industry standard for network window -technology in part because of the -portability of the sample implementation from MIT. Although many systems are -designed to reuse source code across different platforms, X is -unusual in its -portability across software build environments. This paper describes several -mechanisms used in the MIT release of the X Window System to obtain such -flexibility, and summarizes some of the lessons learned in trying to support -X on a number of different platforms. -.AE -.NH 1 -Introduction -.LP -The X Window System\f(d is a portable, network transparent window system -originally developed at MIT. It is intended for use on raster display -devices ranging from simple monochrome frame buffers to deep, -true color graphics processors. Because of its client/server architecture, -the non-proprietary nature of its background, and the portability of the -sample implementation from MIT, the X Window System has rapidly grown to -become an industry standard. This portability is the result of several -factors: a system architecture that isolates operating system and -device-specifics at several levels; a slow, but machine-independent, graphics -package that may be used for an initial port and to handle cases that -the underlying graphics hardware does not support; and the use of a few, -higher-level tools for managing the build process itself. -.FS -\(dg X Window System is a trademark of MIT; DECnet is a trademark of -Digital Equipment Corporation; UNIX is a registered trademark of AT&T. -.sp -Copyright \(co\ 1989 by the Massachusetts Institute of Technology. -.sp -Permission to use, copy, modify, and distribute this -document for any purpose and without -fee is hereby granted, provided that the above copyright -notice appear in all copies and that both that copyright -notice and this permission notice appear in supporting -documentation, and that the name of M.I.T. not be used in -advertising or publicity pertaining to distribution of the -software without specific, written prior permission. -M.I.T. makes no representations about the suitability of -the software described herein for any purpose. It is provided "as is" -without express or implied warranty. -.FE -.NH 2 -Summary of X Window System Architecture -.LP -The X Window System is the result of a combined effort between MIT Project -Athena and the MIT Laboratory for Computer Science. Since its inception -in 1984, X has been redesigned three times, culminating in Version 11 which -has since become an industry standard (see [Scheifler 88] for a more detailed -history). X uses the client/server model of -limiting interactions with the physical display hardware to a single program -(the \fIserver\fP) and providing a way for applications (the \fIclients\fP) -to send messages (known as \fIrequests\fP) to the server to ask it to perform -graphics operations on the client's behalf. These messages are sent along -a reliable, sequenced, duplex byte stream using whatever underlying transport -mechanisms the operating system provides. If connections -using network virtual circuits (such as TCP/IP or DECnet) are supported, -clients may be run -on any remote machine (including ones of differing architectures) while still -displaying on the local server. -.LP -The details of how the client establishes and maintains connections with the -server are typically hidden in a subroutine package (known as a \fIlanguage -binding\fP) which provides a function call interface to the X protocol. Higher -level toolkits and user interface management systems are then built on top of -the binding library, as shown in Figure 1 for the C programming language. -Since only the underlying -operating system networking interface of the binding (shown in \fIitalics\fP) -need be changed when -porting to a new platform, well-written applications can simply be recompiled. -.sp 1 -.DS C -.TS -box tab (/) ; -cB s s s -_ lB lB lB -cBe | le le le -_ s lB lB -cB s | lB lB -_ s s lB -cB s s | lB -_ s s s -cB s s s -_ lB lB _ -cI s s s . -application/// -/// -UIMS/// -/// -widgets/// -/// -toolkit/// -/// -Xlib/// -/// -os -.TE -.sp 1 -\fBFigure 1:\fP architecture of a typical C language client program -.DE -.sp 1 -.LP -The server takes care of clipping of graphics output and routing keyboard and -pointer input -to the appropriate applications. Unlike many previous window systems, -moving and resizing of windows are handled outside the server -by special X applications called -\fIwindow managers\fP. Different user interface policies can be selected -simply by running a different window manager. -.LP -The MIT sample server can be divided into three sections: a device-independent -layer called \fIdiX\fP for managing the various shared resources (windows, -pixmaps, colormaps, fonts, cursors, etc.), an operating system layer called -\fIos\fP for performing machine-specific operations (managing -connections to clients, dealing with timers, reading color and font name -databases, and memory allocation), and a device-specific -layer called \fIddX\fP for drawing on the display and getting input from the -keyboard and pointer. Only the \fIos\fP and \fIddX\fP portions of the server -need to be changed when porting X to a new device. -.LP -Although this is still -a substantial amount of work, a collection of pixel-oriented drawing packages -that only require device-specific routines (refered to as \fIspans\fP) -to read and write rows of pixels are provided -to allow initial ports of X to be done in a very short time. A server -developer can then concentrate on replacing those operations that can be -implemented more efficiently by the hardware. Figure 2 shows the relative -layering of the various packages within the sample server from MIT. The -\fImi\fP library provides highly portable, machine-independent routines that -may be used on a wide variety of displays. The \fImfb\fP and \fIcfb\fP -libraries contain versions of the graphics routines for monochrome and -color frame buffers, respectively. Finally, the \fIsnf\fP library can be -used to read fonts stored in Server Natural Format. Typically, only the -sections printed in \fIitalics\fP need be changed when moving to a new -platform. -.sp 1 -.DS C -.TS -allbox tab (/) ; -cB s s s s -cI s s s cI -cB cB cB cB cB -cI s s s cB . -diX -ddX/os -mi/mfb/cfb/snf/\^ -spans/\^ -.TE -.sp 1 -\fBFigure 2:\fP architecture of the MIT sample server -.DE -.sp 1 -.LP -By splitting out the device-specific code (by separating clients from servers -and \fIdiX\fP from \fIddX\fP) and then providing portable utility libraries -(\fImi\fP, \fImfb\fP, \fIcfb\fP, and \fIcfb\fP) that may be used to -implement the non-portable portions -of the system, much of the code can be reused across many platforms, ranging -from personal computers to supercomputers. -.NH 1 -Configuring the Software Build Process -.LP -In practice, porting X to a new platform typically requires adding support -in the operating system-specific networking routines and mixing together -pieces of machine-independent and device-specific code to access the -input and output hardware. Although this approach is very portable, it -increases the complexity of the build process as different implementations -require different subsets. One solution is to litter the -source code with machine-specific compiler directives controlling which -modules areas get built on a given platform. However, this rapidly leads to -sources that are hard to understand and even harder to maintain. -.LP -A more serious problem with this approach is that it requires -configuration information to be replicated in almost every module. In -addition to being highly prone to error, modifying or adding a new -configuration becomes extremely difficult. In contrast, collecting the -various options and parameters in a single location makes it possible for -someone to reconfigure the system without having to -understand how all of the modules fit together. -.LP -Although sophisticated software management systems are very useful, they -tend to be found only on specific platforms. Since the configuration system -must be working before a build can begin, the MIT releases try to adhere to -the following principles: -.RS .5in -.Ip -Use existing tools to do the build (e.g. \fImake\fP) where possible; writing -complicated new tools simply adds to the amount of software that has to be -bootstrapped. -.Ip -Keep it simple. Every platform has a different set of extensions and bugs. -Plan for the least common denominator by only using -the core features of known tools; don't rely on vendor-specific features. -.Ip -Providing sample implementations of simple tools that are not available on -all platforms (e.g. a BSD-compatible \fIinstall\fP script for System V) is -very useful. -.Ip -Machine-dependencies should be centralized to make reconfiguration easy. -.Ip -Site-wide options (e.g. default parameters such as directory names, -file permissions, and enabling particular features) should be stored in -only one location. -.Ip -Rebuilding within the source tree without losing any of the configuration -information must be simple. -.Ip -It should be possible to configure external software without requiring -access to the source tree. -.RE -.LP -One approach is to add certain programming constructs (particularly -conditionals and iterators) to the utility used to actually build the -software (usually \fImake\fP; see [Lord 88]). Although this an attractive -solution, limits on time and personnel made implementing and maintaining -such a system impractical for X. -.LP -The MIT releases of X employ a less ambitious approach that uses existing tools -(particularly \fImake\fP and \fIcpp\fP). \fIMakefiles\fP -are generated automatically by a small, -very simple program named \fIimake\fP (written by Todd Brunhoff of Tektronix) -that combines a template listing variables and rules -that are common to all -\fIMakefiles\fP, a machine- and a site-specific configuration file, -a set of rule functions written as \fIcpp\fP macros, -and simple specifications of targets and sources called \fIImakefiles\fP. -Since the descriptions of the inputs and outputs of the build are separated -from the commands that implement them, machine dependencies such as the -following can be controlled from a single location: -.RS .5in -.Ip -Some versions of \fImake\fP require that the variable SHELL to be set to the -name of the shell that should be used to execute \fImake\fP commands. -.Ip -The names of various special \fImake\fP variables (e.g. MFLAGS vs. MAKEFLAGS) -differ between versions. -.Ip -Special directives to control interaction with source code maintenance systems -are required by some versions of \fImake\fP. -.Ip -Rules for building targets (e.g. \fIranlib\fP, -lint options, executable shell scripts, selecting alternate compilers) -differ among platforms. -.Ip -Some systems require special compiler options (e.g. increased internal -table sizes, floating point options) for even simple programs. -.Ip -Some systems require extra libraries when linking programs. -.Ip -Not all systems need to compile all sources. -.Ip -Configuration parameters may need to be passed to some (such as -DDNETCONN -to compile in DECnet support) or all (such as -DSYSV to select System V code) -programs as preprocessor symbols. -.Ip -Almost all systems organize header files differently, making -static dependencies in \fIMakefiles\fP impossible to generate. -.RE -.LP -By using the C preprocessor, \fIimake\fP provides a familiar set of interfaces -to conditionals, macros, and symbolic constants. Common operations, such as -compiling programs, creating libraries, creating shell scripts, and -managing subdirectories, can be described in a concise, simple way. -Figure 3 shows the \fIImakefile\fP used to build a manual page browser -named \fIxman\fP (written by Chris Peterson program of the MIT X Consortium, -based on an implementation for X10 by Barry Shein): -.sp 1 -.KF -.RS 1in -.nf -.ft L -DEFINES = -DHELPFILE=\e"$(LIBDIR)$(PATHSEP)xman.help\e" -LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) -SRCS = ScrollByL.c handler.c man.c pages.c buttons.c help.c menu.c search.c \e - globals.c main.c misc.c tkfuncs.c -OBJS = ScrollByL.o handler.o man.o pages.o buttons.o help.o menu.o search.o \e - globals.o main.o misc.o tkfuncs.o -INCLUDES = -I$(TOOLKITSRC) -I$(TOP) - -ComplexProgramTarget (xman) -InstallNonExec (xman.help, $(LIBDIR)) - -.ft P -.fi -.RE -.DS C -.sp 1 -\fBFigure 3:\fP \fIImakefile\fP used by a typical client program -.DE -.KE -.sp 1 -.LP -This application requires the name of the directory in which its help file is -installed (which is a configuration parameter), several libraries, and -various X header files. The macro -\fIComplexProgramTarget\fP generates the appropriate rules to build -the program, install it, compute dependencies, and remove old versions of -the program and its object files. The \fIInstallNonExec\fP macro generates -rules to install \fIxman\fP's help file with appropriate permissions. -.NH 1 -Generating Makefiles -.LP -Although \fIimake\fP is a fairly powerful tool, it is a very simple program. -All of the real work is performed by the template, rule, and configuration -files. The version currently used at MIT (which differs somewhat from the -version supplied in the last release of X) -uses symbolic constants for all configuration -parameters so that they may be overridden or used by other parameters. -General build issues (such as the command to execute to run the compiler) -are isolated from X issues (such as where should application default files be -installed) by splitting the template as shown in Figure 4. -.KF -.sp 1 -.DS C -.TS -box tab (%) ; -l s s -l _ l -l | l | l -l _ l -l _ l -l | l | l -l _ l -l _ l -l | l | l -l _ l -l _ l -l | l | l -l _ l -l _ l -l | l | l -l _ l . -Imake.tmpl - % -%#include "\fImachine\fP.cf"% - % - % -%#include "site.def"% - % - % -%#include "Project.tmpl"% - % - % -%#include "Imake.rules"% - % - % -%#include "./Imakefile"% - % -.TE -.sp 1 -\fBFigure 4:\fP structure of \fIimake\fP template used by X -.DE -.sp 1 -.KE -.LP -This template instructs \fIimake\fP to perform the following steps when -creating a \fIMakefile\fP: -.RS .5in -.IP 1. -Using conditionals, \fIImake.tmpl\fP determines the machine for which the -build is being configured and includes a machine-specific configuration file -(usually named \fImachine\fP.cf). Using the C preprocessor to define various -symbols, this configuration file sets the major and minor version -numbers of the operating system, the names of any servers -to build, and any special programs (such as alternate compilers) -or options (usually to increase internal table sizes) that -need to be used during the build. Defaults are provided for -all parameters, so .cf files need only describe how this particular -platform differs from ``generic'' UNIX System V or BSD UNIX. -Unlike previous versions of the \fIimake\fP configuration files, -when new parameters are added, only the systems which are -effected by them need to be updated. -.IP 2. -Next, a site-specific file (named \fIsite.def\fP) is included so -that parameters from the .cf files may be overridden or -defaults for other options provided. This is typically used -by a site administrator to set the names of the various -directories into which the software should be installed. -Again, all of the standard \fIcpp\fP constructs may be used. -.IP 3. -A project-specific file (named \fIProject.tmpl\fP) is -included to set various parameters used by the particular -software package being configured. By separating the -project parameters (such as directories, options, etc.) -from build parameters (such as compilers, utilities, etc.), -the master template and the .cf files can be shared among various development -efforts. -.IP 4. -A file containing the set of \fIcpp\fP rules (named \fIImake.rules\fP) -is included. This is where the various macro functions used -in the master template and the per-directory description -files (named \fIImakefile\fP) are defined. These rules typically -make very heavy use of the \fImake\fP variables defined in -\fIImake.tmpl\fP so that a build's configuration may be changed without -having to edit this file. -.IP 5. -The \fIImakefile\fP describing the input files and output targets -for the current directory is included. This file is supplied -by the programmer instead of a \fIMakefile\fP. The functions that -it invokes are translated by \fIcpp\fP into series of \fImake\fP -rules and targets. -.IP 6. -Finally, \fImake\fP rules for recreating the \fIMakefile\fP and managing -subdirectories are appended, and the result is written out as the -new \fIMakefile\fP. -.RE -.LP -\fIImake\fP, along with a separate tool (named \fImakedepend\fP, also -written by -Brunhoff) that generates \fIMakefile\fP dependencies -between object files and the source files used to build them, allows -properly configured \fIMakefiles\fP to be regenerated quickly and correctly. -By isolating the machine- and site-specifics from the programmer, -\fIimake\fP is much like a well-developed text formatter: both allow -the writer to concentrate on the content, rather than the production, of a -document. -.NH 1 -How X uses \fIimake\fP -.LP -Development of X at MIT is currently done on more than half a dozen -different platforms, each of which is running a different operating system. -A common source pool is shared across those machines that support -symbolic links and NFS by creating trees of links pointing -back to the master sources (similar to the object trees of [Harrison 88]). -Editing and source code control is done in the master sources and builds are -done in the link trees. -.LP -.ne 4 -A full build is done by creating a fresh link tree and invoking a -simple, stub top-level \fIMakefile\fP which: -.RS .5in -.IP 1. -compiles \fIimake\fP. -.IP 2. -builds the real top-level \fIMakefile\fP. -.IP 3. -builds the rest of the \fIMakefiles\fP using the new top-level \fIMakefile\fP. -.IP 4. -removes any object files left over from the previous build. -.IP 5. -builds the header file tree, and -computes and appends the list of dependencies between object files and sources -to the appropriate \fIMakefiles\fP. -.IP 6. -and finally, compiles all of the sources. -.RE -.LP -If the build completes successfully, programs, libraries, data files, and -manual pages may then be installed. By keeping object files out of the master -source tree, backups and releases can be done easily and efficiently. By -substituting local copies of particular files for the appropriate links, -developers can work without disturbing others. -.NH 1 -Limitations -.LP -Although the system described here is very useful, it isn't perfect. -Differences -between utilities on various systems places a restriction on how well -existing tools can be used. One of the reasons why \fIimake\fP is a program -instead of a trivial invocation of the C preprocessor is that some \fIcpp\fP's -collapse tabs into spaces while others do not. Since \fImake\fP uses -tabs to separate commands from targets, \fIimake\fP must sometimes reformat -the output from \fIcpp\fP so that a valid \fIMakefile\fP is generated. -.LP -Since \fIcpp\fP only provides global -scoping of symbolic constants, parameters -are visible to the whole configuration system. For larger projects, this -approach will probably prove unwieldy both to the people trying to maintain -them and to the preprocessors that keep the entire symbol table in memory. -.LP -The macro facility provided by \fIcpp\fP is convenient because it is available -on every platform and it is familar to most people. However, a better -language with real programming constructs might provide a better interface. -The notions of describing one platform in terms of another and providing -private configuration parameters map intriguingly well into the models used -in object management systems. -.NH 1 -Summary and Observations -.LP -The sample implementation of the X Window System from MIT takes advantage -of a system architecture that goes to great lengths to isolate -device-dependencies. By selectively using portable versions of -the device-specific functions, a developer moving X to a new platform can -quickly get an initial port up and running very quickly. -.LP -To manage the various combinations of modules and to cope with the -differing requirements of every platform and site, X uses a -utility named \fIimake\fP -to separate the description of sources and targets from the -details of how the software is actually built. Using as few external -tools as possible, this mechanism allows support for new platforms to be -added with relatively little effort. -.LP -Although the approaches taken by MIT will not work for everyone, several of -its experiences may be useful in other projects: -.RS .5in -.Ip -Even if portability isn't a goal now, it probably will become one sooner -than expected. -.Ip -Just as in other areas, it frequently pays to periodically stand back -from a problem and see whether or not a simple tool will help. With -luck and the right amount of abstracting it may even solve several -problems at once. -.Ip -Be wary of anything that requires manual intervention. -.Ip -And finally, there is no such thing as portable software, only software that -has been ported. -.RE -.NH 1 -References -.LP -.IP "\[Harrison 88\]" -.br -``Rtools: Tools for Software Management in a Distributed Computing -Environment,'' Helen E. Harrison, Stephen P. Schaefer, Terry S. Yoo, -\fIProceedings of the Usenix Association Summer Conference\fP, -June 1988, 85-94. -.IP "\[Lord 88\]" -.br -``Tools and Policies for the Hierarchical Management of Source Code -Development,'' Thomas Lord, \fIProceedings of the Usenix Association -Summer Conference\fP, June 1988, 95-106. -.IP "\[Scheifler 88\]" -.br -\fIX Window System: C Library and Protocol Reference\fP, Robert Scheifler, -James Gettys, and Ron Newman, Digital Press, Bedford, MA, 1988. - - -.\ -.\XXX - Xos.h: -.\ o 12 character file names -.\ o isolate system calls -.\ o avoid tricky coding -.\ o index vs. strchr -.\ o bcopy -.\ o test on as wide a range of systems as possible -.\ diff --git a/src/include/kerberosIV/Imakefile b/src/include/kerberosIV/Imakefile deleted file mode 100644 index ecbd0edda2..0000000000 --- a/src/include/kerberosIV/Imakefile +++ /dev/null @@ -1,34 +0,0 @@ -# $Source$ -# $Author$ -# $Id$ -# -# Copyright 1993 by the Massachusetts Institute of Technology. -# All Rights Reserved. -# -# Export of this software from the United States of America may -# require a specific license from the United States Government. -# It is the responsibility of any person or organization contemplating -# export to obtain such a license before exporting. -# -# WITHIN THAT CONSTRAINT, permission to use, copy, modify, and -# distribute this software and its documentation for any purpose and -# without fee is hereby granted, provided that the above copyright -# notice appear in all copies and that both that copyright notice and -# this permission notice appear in supporting documentation, and that -# the name of M.I.T. not be used in advertising or publicity pertaining -# to distribution of the software without specific, written prior -# permission. M.I.T. makes no representations about the suitability of -# this software for any purpose. It is provided "as is" without express -# or implied warranty. -# -# - -KRB4_HEADERS=krb.h des.h kadm.h mit-copyright.h - -all:: - -clean:: - -depend:: - -Krb5InstallHeaders($(KRB4_HEADERS),$(KRB5_INCDIR)/kerberosIV) |