From: Mark Eichin Date: Tue, 9 Aug 1994 22:57:29 +0000 (+0000) Subject: stamp.. X-Git-Tag: krb5-1.0-beta4.2~17 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eba0f8da0c194962b43d7fa40344cecf06386d58;p=krb5.git stamp.. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4101 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/Imakefile b/src/Imakefile deleted file mode 100644 index c7b5dd8be..000000000 --- a/src/Imakefile +++ /dev/null @@ -1,67 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - -/* default target... */ -all:: - -WORLDOPTS = -k - -world:: - @date - cd $(IMAKESRC); $(MAKE) $(MFLAGS) -f Makefile.ini clean; $(MAKE) $(MFLAGS) -f Makefile.ini BOOSTRAPCFLAGS="$(BOOTSTAPCFLAGS)" - -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak - $(MAKE) $(MFLAGS) -f Makefile.bak Makefile - $(MAKE) $(MFLAGS) Makefiles - $(MAKE) $(MFLAGS) includes - $(MAKE) $(MFLAGS) depend - $(MAKE) $(MFLAGS) $(WORLDOPTS) - @date - -SUBDIRS = util include lib kdc admin kadmin slave clients appl tests \ - config-files -INSTALLMKDIRS = $(KRB5ROOT) $(KRB5MANROOT) $(KRB5OTHERMKDIRS) \ - $(ADMIN_BINDIR) $(SERVER_BINDIR) $(CLIENT_BINDIR) \ - $(ADMIN_MANDIR) $(SERVER_MANDIR) $(CLIENT_MANDIR) \ - $(FILE_MANDIR) $(KRB5_LIBDIR) $(KRB5_INCDIR) \ - $(KRB5_INCSUBDIRS) - -install:: install-mkdirs - -MakeSubdirs($(SUBDIRS)) - -install-mkdirs: - -mkdir $(INSTALLMKDIRS) - -install:: - $(MAKE) $(MFLAGS) install.man -#ifdef notdef -/**/# rebuild the Makefiles in the master source tree -mastermakefiles:: - -$(MV) Makefile Makefile.bak - $(MAKE) -f Makefile.bak Makefile - $(MAKE) Makefiles -#endif diff --git a/src/Makefile.ini b/src/Makefile.ini deleted file mode 100644 index 4ed8312ce..000000000 --- a/src/Makefile.ini +++ /dev/null @@ -1,45 +0,0 @@ -SHELL = /bin/sh -RM = rm -f -MV = mv -MAKE = make -WORLDOPTS = -k -TOP = . -CURRENT_DIR = . -CONFIGSRC = $(TOP)/config -IMAKESRC = $(CONFIGSRC) -IRULESRC = $(CONFIGSRC) -IMAKE = $(IMAKESRC)/imake -IMAKE_CMD = $(IMAKE) -I$(IRULESRC) $(IMAKE_DEFINES) -FLAGS = $(MFLAGS) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)" - -all: - @echo Please use make world. - @echo Check the configuration parameters in the $(IRULESRC) directory, - @echo and pass BOOTSTRAPCFLAGS if necessary. - @echo Read the release notes carefully before proceeding. - @echo Do not name your log file make.log or it will be deleted. - @echo If the top-level Makefile gets corrupted, copy Makefile.ini - @echo to Makefile and try again. - -world: - @case "x$(BOOTSTRAPCFLAGS)" in x) \ - echo I hope you checked the configuration parameters in $(IRULESRC) ; \ - echo to see if you need to pass BOOTSTRAPCFLAGS. ; \ - echo "" ; \ - ;; esac; - @date - @echo "" - cd $(IMAKESRC); $(MAKE) $(FLAGS) clean; $(MAKE) $(FLAGS) - -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak - $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) - $(MAKE) $(MFLAGS) Makefiles - $(MAKE) $(MFLAGS) includes - $(MAKE) $(MFLAGS) depend - $(MAKE) $(MFLAGS) $(WORLDOPTS) - @echo "" - @date - -Makefile: - cd $(IMAKESRC); $(MAKE) $(FLAGS) - -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak - $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) diff --git a/src/admin/Imakefile b/src/admin/Imakefile deleted file mode 100644 index 167cc6fa2..000000000 --- a/src/admin/Imakefile +++ /dev/null @@ -1,29 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS=create destroy edit stash aname convert -MakeSubdirs($(SUBDIRS)) diff --git a/src/appl/Imakefile b/src/appl/Imakefile deleted file mode 100644 index 3b7fa38bd..000000000 --- a/src/appl/Imakefile +++ /dev/null @@ -1,29 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS=telnet sample simple bsd popper movemail user_user gss-sample -MakeSubdirs($(SUBDIRS)) diff --git a/src/appl/sample/Imakefile b/src/appl/sample/Imakefile deleted file mode 100644 index 3a0d0d087..000000000 --- a/src/appl/sample/Imakefile +++ /dev/null @@ -1,29 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS=sclient sserver -MakeSubdirs($(SUBDIRS)) diff --git a/src/appl/simple/Imakefile b/src/appl/simple/Imakefile deleted file mode 100644 index 730df3edb..000000000 --- a/src/appl/simple/Imakefile +++ /dev/null @@ -1,29 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS=client server -MakeSubdirs($(SUBDIRS)) diff --git a/src/appl/telnet/Imakefile b/src/appl/telnet/Imakefile deleted file mode 100644 index fd863ae05..000000000 --- a/src/appl/telnet/Imakefile +++ /dev/null @@ -1,24 +0,0 @@ -all: - cd libtelnet; make CC="${CC}" TELNET_OPSYS=$(TELNET_OPSYS) - cd telnet; make CC="${CC}" TELNET_OPSYS=$(TELNET_OPSYS) - cd telnetd; make CC="${CC}" TELNET_OPSYS=$(TELNET_OPSYS) - -clean:: - cd libtelnet; make CC="${CC}" TELNET_OPSYS=$(TELNET_OPSYS) clean - cd telnet; make CC="${CC}" TELNET_OPSYS=$(TELNET_OPSYS) clean - cd telnetd; make CC="${CC}" TELNET_OPSYS=$(TELNET_OPSYS) clean - -install:: - cd libtelnet; make CC="${CC}" DESTDIR=$(DESTDIR) \ - TELNET_OPSYS=$(TELNET_OPSYS) install - cd telnet; make CC="${CC}" DESTDIR=$(DESTDIR) \ - TELNET_OPSYS=$(TELNET_OPSYS) install - cd telnetd; make CC="${CC}" DESTDIR=$(DESTDIR) \ - TELNET_OPSYS=$(TELNET_OPSYS) install - -SUBDIRS=libtelnet telnet telnetd - -MakefileSubdirs($(SUBDIRS)) - -depend: - @echo "We don't calculate dependencies below this point." diff --git a/src/clients/Imakefile b/src/clients/Imakefile deleted file mode 100644 index 03846630c..000000000 --- a/src/clients/Imakefile +++ /dev/null @@ -1,29 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS=klist kinit kdestroy ksu -MakeSubdirs($(SUBDIRS)) diff --git a/src/config/Imake.rules b/src/config/Imake.rules deleted file mode 100644 index d5a5184ad..000000000 --- a/src/config/Imake.rules +++ /dev/null @@ -1,1508 +0,0 @@ -/**/# $Source$ -/**/# $Author$ -/**/# $Id$ -/**/# - -XCOMM ------------------------------------------------------------------------- -XCOMM Imake rules for building libraries, programs, scripts, and data files -XCOMM rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $ - -/* - * MACHINE-INDEPENDENT RULES; DO NOT MODIFY - * - * Warning, when defining rules: make sure you do not include both a trailing - * backslash and double ampersand backslash or else you will get an extra - * backslash in the Makefile. - * - * The following macros are defined for the various templates and Imakefiles - * (for a list of the applicable make variables, see the template files): - * - * SaberProgramTarget (program,srclist,objlist,locallibs,syslibs) - * RemoveTargetProgram (program) - * MakeDir (dir) - * BuildIncludes (srclist,dstsubdir,dstupdir) - * NormalProgramTarget (program,objects,deplibs,locallibs,syslibs) - * SetUIDProgramTarget (program,objects,deplibs,locallibs,syslibs) - * SingleProgramTarget (program,objects,locallibs,syslibs) - * SimpleProgramTarget (program) - * ComplexProgramTarget (program) - * ComplexProgramTarget_1 (program,locallib,syslib) - * ComplexProgramTarget_2 (program,locallib,syslib) - * ComplexProgramTarget_3 (program,locallib,syslib) - * ServerTarget (server,subdirs,objects,libs,syslibs) - * RanLibrary (args) - * InstallLibrary (libname,dest) - * MergeIntoInstalledLibrary (tolib,fromlib) - * InstallLibraryAlias (libname,alias,dest) - * InstallLintLibrary (libname,dest) - * InstallManPageLong (file,destdir,dest) - * InstallManPage (file,destdir) - * InstallManPageAliases (file,destdir,aliases) - * InstallNamedNonExec (srcname,dstname,dest) - * InstallNonExecFile (file,dest) - * InstallNonExec (file,dest) - * InstallProgramWithFlags (program,dest,flags) - * InstallProgram (program,dest) - * InstallScript (program,dest) - * InstallNamedProg (srcname,dstname,dest) - * LinkFileList (step,list,dir,sub) - * InstallMultipleDestFlags (step,list,dest,flags) - * InstallMultipleDest (step,list,dest) - * InstallMultiple (list,dest) - * InstallMultipleFlags (list,dest,flags) - * InstallMultipleMan (list,dest) - * InstallAppDefaults (class) - * InstallAppDefaultsLong (file,class) - * DependDependency () - * DependTarget () - * DependTarget3 (srcs1,srcs2,srcs3) - * CleanTarget () - * TagsTarget () - * ImakeDependency (target) - * BuildMakefileTarget (notused,imakeflags) - * MakefileTarget () - * LibMkdir (dir) - * LibCleanDir (dir) - * ObjectCompile (options) - * NormalLibObjCompile (options) - * NormalSharedLibObjCompile (options) - * LibObjCompile (dir,options) - * DebuggedLibObjCompile (options) - * ProfiledLibObjCompile (options) - * SharedLibObjCompile (options) - * NormalLibraryObjectRule () - * NormalFortranObjectRule () - * ObjectFromSpecialSource (dst,src,flags) - * SpecialObjectRule (objs,depends,options) - * NormalLibraryTarget (libname,objlist) - * NormalLibraryTarget2 (libname,objlist1,objlist2) - * NormalLibraryTarget3 (libname,objlist1,objlist2,objlist3) - * NormalDepLibraryTarget (libname,deplist,objlist) - * SubdirLibraryRule (objlist) - * ProfiledLibraryTarget (libname,objlist) - * DebuggedLibraryTarget (libname,objlist) - * AliasedLibraryTarget (libname,alias) - * NormalRelocatableTarget (objname,objlist) - * ProfiledRelocatableTarget (objname,objlist) - * DebuggedRelocatableTarget (objname,objlist) - * LintLibraryTarget (libname,srclist) - * NormalLintTarget (srclist) - * LintTarget () - * LinkSourceFile (src,dir) - * LinkFile (tofile,fromfile) - * MakeSubincludesForBuild (step,dir,srclist) - * NamedTargetSubdirs (name,dirs,verb,flags,subname) - * NamedMakeSubdirs (name,dirs) - * MakeSubdirs (dirs) - * DependSubdirs (dirs) - * ForceSubdirs (dirs) - * InstallSubdirs (dirs) - * InstallManSubdirs (dirs) - * IncludesSubdirs (dirs) - * NamedCleanSubdirs (name,dirs) - * CleanSubdirs (dirs) - * NamedTagSubdirs (name,dirs) - * TagSubdirs (dirs) - * MakeLintSubdirs (dirs,target,subtarget) - * LintSubdirs (dirs) - * MakeLintLibSubdirs (dirs) - * MakeMakeSubdirs (dirs,target) - * MakeNsubdirMakefiles () - * MakefileSubdirs (dirs) - * CppScriptTarget (dst,src,defs,deplist) - * MakeScriptFromCpp (name,defs) - * CppFileTarget (dst,src,defs,deplist) - * MakeDirectories (step,dirs) - * MakeFontsDir (deplist) - * MakeFonts () - * InstallFontObjs (objs,dest) - * InstallFonts (dest) - * InstallFontAliases (dest) - * FontSrc (basename) - * FontBaseObj (basename) - * InstallFontScale (dest) - * UncompressedFontTarget (basename) - * UncompressedFontTarget (basename) - * CompressedFontTarget (basename) - * FontTarget (basename) - * FontObj (basename) - * AllTarget (depends) - * - * - * The following are in Imake.tmpl: - * - * Concat (a,b) - * Concat3 (a,b,c) - * - * - * The following are in specific Lib.rules: - * - * SharedLibraryTarget (libname,rev,solist,down,up) - * SharedLibraryDataTarget (libname,rev,salist) - * InstallSharedLibrary (libname,rev,dest) - * InstallSharedLibraryData (libname,rev,dest) - * - */ - -#define NullParameter - -/* if [ -d ] or [ ! -d ] causes make to fail, define this as - */ -#ifndef DirFailPrefix -#define DirFailPrefix -#endif - -/* - * SaberProgramTarget - generate rules to make Saber-C read in sources and - * objects. - */ -#ifndef SaberProgramTarget -#if HasSaberC -#define SaberProgramTarget(program,srclist,objlist,locallibs,syslibs) @@\ -Concat(saber_,program):: srclist @@\ - XCOMM load $(ALLDEFINES) srclist locallibs $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) syslibs @@\ - @@\ -Concat(osaber_,program):: objlist @@\ - XCOMM load $(ALLDEFINES) objlist locallibs $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) syslibs - -#else -#define SaberProgramTarget(program,srclist,objlist,locallibs,syslibs) /**/ -#endif -#endif - -#ifndef RemoveTargetProgram -#if RemoveTargetProgramByMoving -#define RemoveTargetProgram(program) \ -if [ -f program ]; then $(RM) Concat(program,~); $(MV) program Concat(program,~); fi -#else -#define RemoveTargetProgram(program) $(RM) program -#endif -#endif - -#ifndef MakeDir -#define MakeDir(dir) DirFailPrefix@if [ -d dir ]; then set +x; \ @@\ - else (set -x; $(MKDIRHIER) dir); fi -#endif - -#ifndef BuildIncludes -#define BuildIncludes(srclist,dstsubdir,dstupdir) @@\ -includes:: @@\ - MakeDir($(BUILDINCDIR)/dstsubdir) @@\ - @(set -x; cd $(BUILDINCDIR)/dstsubdir; for i in srclist; do \ @@\ - $(RM) $$i; \ @@\ - $(LN) $(BUILDINCTOP)/dstupdir/$(CURRENT_DIR)/$$i .; \ @@\ - done) -#endif /* BuildIncludes */ - -/* - * NormalProgramTarget - generate rules to compile and link the indicated - * program; since it does not use any default object files, it may be used for - * multiple programs in the same Imakefile. - */ -#ifndef NormalProgramTarget -#define NormalProgramTarget(program,objects,deplibs,locallibs,syslibs) @@\ -program: objects deplibs @@\ - RemoveTargetProgram($@) @@\ - $(CC) -o $@ objects $(LDOPTIONS) locallibs $(LDLIBS) syslibs $(EXTRA_LOAD_FLAGS) @@\ - @@\ -clean:: @@\ - $(RM) program -#endif /* NormalProgramTarget */ - - -#ifndef SetUIDProgramTarget -#define SetUIDProgramTarget NormalProgramTarget -#endif - - -/* - * SingleProgramTarget - obsolete version of NormalProgramTarget that does - * not have deplibs. - */ -#ifndef SingleProgramTarget -#define SingleProgramTarget(program,objects,locallibs,syslibs) @@\ -NormalProgramTarget(program,objects,NullParameter,locallibs,syslibs) -#endif /* SingleProgramTarget */ - -/* - * SimpleProgramTarget - generate rules for compiling and linking programs - * that only have one C source file. It should only be used in Imakefiles - * that describe a single program. - */ -#ifndef SimpleProgramTarget -#define SimpleProgramTarget(program) @@\ - OBJS = program.o @@\ - SRCS = program.c @@\ - @@\ -ComplexProgramTarget(program) -#endif /* SimpleProgramTarget */ - - - -/* - * ComplexProgramTarget - generate rules for compiling and linking the - * program specified by $(OBJS) and $(SRCS), installing the program and its - * man page, and generating dependencies. It should only be used in - * Imakefiles that describe a single program. - */ -#ifndef ComplexProgramTarget -#define ComplexProgramTarget(program) @@\ - PROGRAM = program @@\ - @@\ -AllTarget(program) @@\ - @@\ -program: $(OBJS) $(DEPLIBS) @@\ - RemoveTargetProgram($@) @@\ - $(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS) @@\ - @@\ -SaberProgramTarget(program,$(SRCS),$(OBJS),$(LOCAL_LIBRARIES),NullParameter) @@\ - @@\ -InstallProgram(program,$(BINDIR)) @@\ -InstallManPage(program,$(MANDIR)) @@\ -DependTarget() @@\ -LintTarget() @@\ - @@\ -clean:: @@\ - $(RM) $(PROGRAM) -#endif /* ComplexProgramTarget */ - - -/* - * ComplexProgramTarget_1 - generate rules for compiling and linking the - * program specified by $(OBJS1) and $(SRCS1), installing the program and its - * man page, and generating dependencies for it and any programs described - * by $(SRCS2) and $(SRCS3). It should be used to build the primary - * program in Imakefiles that describe multiple programs. - */ -#ifndef ComplexProgramTarget_1 -#define ComplexProgramTarget_1(program,locallib,syslib) @@\ - OBJS = $(OBJS1) $(OBJS2) $(OBJS3) @@\ - SRCS = $(SRCS1) $(SRCS2) $(SRCS3) @@\ - @@\ -AllTarget($(PROGRAMS)) @@\ - @@\ -program: $(OBJS1) $(DEPLIBS1) @@\ - RemoveTargetProgram($@) @@\ - $(CC) -o $@ $(LDOPTIONS) $(OBJS1) locallib $(LDLIBS) syslib $(EXTRA_LOAD_FLAGS) @@\ - @@\ -InstallProgram(program,$(BINDIR)) @@\ -InstallManPage(program,$(MANDIR)) @@\ - @@\ -SaberProgramTarget(program,$(SRCS1),$(OBJS1),locallib,syslib) @@\ - @@\ -DependTarget() @@\ -LintTarget() @@\ - @@\ -clean:: @@\ - $(RM) $(PROGRAMS) -#endif /* ComplexProgramTarget_1 */ - - -/* - * ComplexProgramTarget_2 - generate rules for compiling and linking the - * program specified by $(OBJS2) and $(SRCS2) and installing the program and - * man page. It should be used to build the second program in Imakefiles - * describing more than one program. - */ -#ifndef ComplexProgramTarget_2 -#define ComplexProgramTarget_2(program,locallib,syslib) @@\ -program: $(OBJS2) $(DEPLIBS2) @@\ - RemoveTargetProgram($@) @@\ - $(CC) -o $@ $(LDOPTIONS) $(OBJS2) locallib $(LDLIBS) syslib $(EXTRA_LOAD_FLAGS) @@\ - @@\ -SaberProgramTarget(program,$(SRCS2),$(OBJS2),locallib,syslib) @@\ - @@\ -InstallProgram(program,$(BINDIR)) @@\ -InstallManPage(program,$(MANDIR)) -#endif /* ComplexProgramTarget_2 */ - - -/* - * ComplexProgramTarget_3 - generate rules for compiling and linking the - * program specified by $(OBJS3) and $(SRCS3) and installing the program and - * man page. It should be used to build the third program in Imakefiles - * describing more than one program. - */ -#ifndef ComplexProgramTarget_3 -#define ComplexProgramTarget_3(program,locallib,syslib) @@\ -program: $(OBJS3) $(DEPLIBS3) @@\ - RemoveTargetProgram($@) @@\ - $(CC) -o $@ $(LDOPTIONS) $(OBJS3) locallib $(LDLIBS) syslib $(EXTRA_LOAD_FLAGS) @@\ - @@\ -SaberProgramTarget(program,$(SRCS3),$(OBJS3),locallib,syslib) @@\ - @@\ -InstallProgram(program,$(BINDIR)) @@\ -InstallManPage(program,$(MANDIR)) -#endif /* ComplexProgramTarget_3 */ - - - -/* - * ServerTarget - generate rules to compile, link, and relink an X server. - */ -#ifndef ServerTarget -#define ServerTarget(server,subdirs,objects,libs,syslibs) @@\ -server: subdirs objects libs @@\ - -@if [ -f server ]; then set -x; \ @@\ - $(MV) server server.bak; else exit 0; fi @@\ - $(CC) $(CDEBUGFLAGS) $(CCOPTIONS) -o server objects libs $(EXTRA_LIBRARIES) syslibs $(EXTRA_LOAD_FLAGS) @@\ - @@\ -Concat(load,server): @@\ - -@if [ -f server ]; then set -x; \ @@\ - $(MV) server server.bak; else exit 0; fi @@\ - $(CC) $(CDEBUGFLAGS) $(CCOPTIONS) -o server objects libs $(EXTRA_LIBRARIES) syslibs $(EXTRA_LOAD_FLAGS) -#endif /* ServerTarget */ - - -#if DoRanlibCmd -#define RanLibrary(args) $(RANLIB) args -#else -#define RanLibrary(args) /**/ -#endif - -/* - * InstallLibrary - generate rules to install the indicated library. - */ -#ifndef InstallLibrary -#define InstallLibrary(libname,dest) @@\ -install:: Concat(lib,libname.a) @@\ - MakeDir($(DESTDIR)dest) @@\ - $(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.a) $(DESTDIR)dest @@\ - RanLibrary($(RANLIBINSTFLAGS) Concat($(DESTDIR)dest/lib,libname.a)) -#endif /* InstallLibrary */ - -/* - * MergeIntoInstalledLibrary - generate rules to merge one library into another - */ -#ifndef MergeIntoInstalledLibrary -#define MergeIntoInstalledLibrary(tolib,fromlib) @@\ -install:: fromlib @@\ - $(SCRIPTSRC)/mergelib $(DESTDIR)tolib fromlib -#endif /* MergeIntoInstalledLibrary */ - -/* - * InstallLibraryAlias - generate rules to create a link from one library name - * to another for the purposes of aliasing. - */ -#ifndef InstallLibraryAlias -#define InstallLibraryAlias(libname,alias,dest) @@\ -install:: @@\ - -(cd $(DESTDIR)dest; \ @@\ - $(RM) Concat(lib,alias.a); \ @@\ - $(LN) Concat(lib,libname.a) Concat(lib,alias.a)) -#endif /* InstallLibraryAlias */ - - -/* - * InstallLintLibrary - generate rules to install the indicated lint library. - */ -#ifndef InstallLintLibrary -#define InstallLintLibrary(libname,dest) @@\ -install.ln:: Concat(llib-l,libname.ln) @@\ - MakeDir($(DESTDIR)dest) @@\ - $(INSTALL) -c $(INSTLIBFLAGS) Concat(llib-l,libname.ln) $(DESTDIR)dest -#endif /* InstallLintLibrary */ - - -/* - * InstallManPageLong - generate rules to install the indicated manual page, - * giving it an alternate name. This is used for installing man pages whose - * base name without the .man suffix would normally be longer than 8 characters - * (the limit for using source code control systems on files systems with - * short file names). - */ -#ifndef InstallManPageLong -#define InstallManPageLong(file,destdir,dest) @@\ -install.man:: file.man @@\ - MakeDir($(DESTDIR)destdir) @@\ - $(INSTALL) -c $(INSTMANFLAGS) file.man $(DESTDIR)destdir/dest.$(MANSUFFIX) -#endif /* InstallManPageLong */ - - -/* - * InstallManPage - generate rules to install the indicated manual page. - */ -#ifndef InstallManPage -#define InstallManPage(file,destdir) @@\ -InstallManPageLong(file,destdir,file) -#endif /* InstallManPage */ - - -/* - * InstallManPageAliases - generate rules to install manual page aliases. - */ -#ifndef InstallManPageAliases -#define InstallManPageAliases(file,destdir,aliases) @@\ -install.man:: @@\ - @(TMP=/tmp/tmp.$$$$; \ @@\ - $(RM) $${TMP}; \ @@\ - echo .so `basename destdir`/file.$(MANSUFFIX) > $${TMP}; \ @@\ - for i in aliases; do (set -x; \ @@\ - $(INSTALL) -c $(INSTMANFLAGS) $${TMP} $(DESTDIR)destdir/$$i.$(MANSUFFIX)); \ @@\ - done; \ @@\ - $(RM) $${TMP}) -#endif /* InstallManPageAliases */ - - -/* - * InstallNamedNonExec - generate rules to install a data file - */ -#ifndef InstallNamedNonExec -#define InstallNamedNonExec(srcname,dstname,dest) @@\ -install:: srcname @@\ - MakeDir($(DESTDIR)dest) @@\ - $(INSTALL) -c $(INSTDATFLAGS) srcname $(DESTDIR)dest/dstname -#endif /* InstallNamedNonExec */ - - -/* - * InstallNonExecFile - generate rules to install a data file - */ -#ifndef InstallNonExecFile -#define InstallNonExecFile(file,dest) @@\ -install:: file @@\ - MakeDir($(DESTDIR)dest) @@\ - $(INSTALL) -c $(INSTDATFLAGS) file $(DESTDIR)dest -#endif /* InstallNonExecFile */ - - -/* - * InstallNonExec - generate rules to install a data file, but does not - * try to create the destination directory (deprecated) - */ -#ifndef InstallNonExec -#define InstallNonExec(file,dest) @@\ -install:: file @@\ - $(INSTALL) -c $(INSTDATFLAGS) file $(DESTDIR)dest -#endif /* InstallNonExec */ - - -/* - * InstallProgramWithFlags - generate rules to install an executable program - * using given install flags. - */ -#ifndef InstallProgramWithFlags -#define InstallProgramWithFlags(program,dest,flags) @@\ -install:: program @@\ - MakeDir($(DESTDIR)dest) @@\ - $(INSTALL) -c $(INSTPGMFLAGS) flags program $(DESTDIR)dest -#endif /* InstallProgramWithFlags */ - - -/* - * InstallProgram - generate rules to install an executable program using any - * special install flags set in $(INSTALLFLAGS). - */ -#ifndef InstallProgram -#define InstallProgram(program,dest) @@\ -InstallProgramWithFlags(program,dest,NullParameter) -#endif /* InstallProgram */ - - - -/* - * InstallScript - install a shell script. - */ -#ifndef InstallScript -#define InstallScript(program,dest) @@\ -install:: program.script @@\ - MakeDir($(DESTDIR)dest) @@\ - $(INSTALL) -c $(INSTBINFLAGS) program.script $(DESTDIR)dest/program -#endif /* InstallScript */ - - -/* - * InstallNamedProg - install a program with renaming and no stripping. - */ -#ifndef InstallNamedProg -#define InstallNamedProg(srcname,dstname,dest) @@\ -install:: srcname @@\ - MakeDir($(DESTDIR)dest) @@\ - $(INSTALL) -c $(INSTBINFLAGS) srcname $(DESTDIR)dest/dstname -#endif /* InstallNamedProg */ - - -/* - * LinkFileList - link a list of list of files from one place to another - */ -#ifndef LinkFileList -#define LinkFileList(step,list,dir,sub) @@\ -step:: list @@\ - @case '${MFLAGS}' in *[i]*) set +e;; esac; \ @@\ - echo " cd" dir; cd dir; \ @@\ - for i in list; do (set -x; $(RM) $$i; $(LN) sub/$$i .); done -#endif - - -/* - * InstallMultipleDestFlags - generate rules to install multiple files at - * once during a particular step in the build using a specific set of install - * flags. - */ -#ifndef InstallMultipleDestFlags -#define InstallMultipleDestFlags(step,list,dest,flags) @@\ -step:: list @@\ - MakeDir($(DESTDIR)dest) @@\ - @case '${MFLAGS}' in *[i]*) set +e;; esac; \ @@\ - for i in list; do \ @@\ - (set -x; $(INSTALL) -c flags $$i $(DESTDIR)dest); \ @@\ - done -#endif /* InstallMultipleDestFlags */ - - -/* - * InstallMultipleDest - generate rules to install multiple files at once - * during a particular step in the build using any install flags set in - * $(INSTALLFLAGS). - */ -#ifndef InstallMultipleDest -#define InstallMultipleDest(step,list,dest) @@\ -InstallMultipleDestFlags(step,list,dest,$(INSTALLFLAGS)) -#endif /* InstallMultipleDest */ - -/* - * InstallMultiple - generate rules to install multiple files at once - * during the install step of the build using any install flags set in - * $(INSTALLFLAGS). - */ -#ifndef InstallMultiple -#define InstallMultiple(list,dest) @@\ -InstallMultipleDest(install,list,dest) -#endif /* InstallMultiple */ - - -/* - * InstallMultipleFlags - generate rules to install multiple files at once - * during the install step of the build using the given install flags. - */ -#ifndef InstallMultipleFlags -#define InstallMultipleFlags(list,dest,flags) @@\ -InstallMultipleDestFlags(install,list,dest,flags) -#endif /* InstallMultipleFlags */ - - -/* - * InstallMultipleMan - generate rules to install a variety of manual pages - * during the install.man step of the build. - */ -#ifndef InstallMultipleMan -#define InstallMultipleMan(list,dest) @@\ -InstallMultipleDestFlags(install.man,list,dest,$(INSTMANFLAGS)) -#endif /* InstallMultipleMan */ - - -/* - * InstallAppDefaults - generate rules to install appliation default files - * if the InstallAppDefFiles configuration parameter is set. - */ -#ifndef InstallAppDefaults -#if InstallAppDefFiles -#define InstallAppDefaults(class) @@\ -install:: class.ad @@\ - MakeDir($(DESTDIR)$(XAPPLOADDIR)) @@\ - $(INSTALL) -c $(INSTAPPFLAGS) class.ad $(DESTDIR)$(XAPPLOADDIR)/class -#else -#define InstallAppDefaults(class) -#endif /* InstallAppDefFiles */ -#endif /* InstallAppDefaults */ - -/* - * InstallAppDefaultsLong - generate rules to install appliation default files - * if the InstallAppDefFiles configuration parameter is set. - */ -#ifndef InstallAppDefaultsLong -#if InstallAppDefFiles -#define InstallAppDefaultsLong(file,class) @@\ -install:: file.ad @@\ - MakeDir($(DESTDIR)$(XAPPLOADDIR)) @@\ - $(INSTALL) -c $(INSTAPPFLAGS) file.ad $(DESTDIR)$(XAPPLOADDIR)/class -#else -#define InstallAppDefaultsLong(file,class) -#endif /* InstallAppDefFiles */ -#endif /* InstallAppDefaultsLong */ - - - - -/* - * DependDependency - generate rules to build the makedepend program if - * this Imakefile is within the source tree. - */ -#ifndef DependDependency -#ifdef UseMakedependInstalled -#define DependDependency() /**/ -#else -#define DependDependency() @@\ -depend:: $(DEPEND) @@\ - @@\ -$(DEPEND): @@\ - @echo "checking $@ over in $(DEPENDSRC) first..."; \ @@\ - cd $(DEPENDSRC); $(MAKE); \ @@\ - echo "okay, continuing in $(CURRENT_DIR)" - -#endif /* UseMakedependInstalled */ -#endif /* DependDependency */ - - -/* - * DependTarget - generate rules to compute dependencies for all files listed - * in $(SRCS). - */ -#ifndef DependTarget -#define DependTarget() @@\ -DependDependency() @@\ - @@\ -depend:: @@\ - $(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) -#endif /* DependTarget */ - - -/* - * DependTarget3 - generate rules to compute dependencies for all files given. - */ -#ifndef DependTarget3 -#define DependTarget3(srcs1,srcs2,srcs3) @@\ -DependDependency() @@\ - @@\ -depend:: @@\ - $(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- srcs1 @@\ - $(DEPEND) -a $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- srcs2 @@\ - $(DEPEND) -a $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- srcs3 -#endif /* DependTarget3 */ - - -/* - * CleanTarget - generate rules to remove any garbage files; the #* is here - * instead of in the definition of RM_CMD because System V will treat the - * pound sign in the RM_CMD variable as a comment. - */ -#ifndef CleanTarget -#define CleanTarget() @@\ -clean:: @@\ - $(RM_CMD) "#"* -#endif /* CleanTarget */ - - -/* - * TagsTarget - generate rules to compute tags files for C source code. - */ -#ifndef TagsTarget -#define TagsTarget() @@\ -tags:: @@\ - $(TAGS) -w *.[ch] @@\ - $(TAGS) -xw *.[ch] > TAGS -#endif /* TagsTarget */ - - -/* - * ImakeDependency - generate rules to compile imake if this Imakefile is - * within the source tree. - */ -#ifndef ImakeDependency -#ifdef UseImakeInstalled -#define ImakeDependency(target) @@\ -target:: -#else -#define ImakeDependency(target) @@\ -$(IMAKE): @@\ - @(cd $(IMAKESRC); if [ -f Makefile ]; then \ @@\ - echo "checking $@ in $(IMAKESRC) first..."; $(MAKE) all; else \ @@\ - echo "bootstrapping $@ from Makefile.ini in $(IMAKESRC) first..."; \ @@\ - $(MAKE) -f Makefile.ini BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS); fi; \ @@\ - echo "okay, continuing in $(CURRENT_DIR)") @@\ - @@\ -target:: $(IMAKE) -#endif /* UseImakeInstalled */ -#endif /* ImakeDependency */ - - -/* - * BuildMakefileTarget - generate rules to build a Makefile from an Imakefile - * and any special imake flags. This is generally done automatically by the - * template or by any special Imakefiles. - */ -#ifndef BuildMakefileTarget -#define BuildMakefileTarget(imakefile,imakeflags) @@\ -ImakeDependency(Makefile) @@\ - $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) -f$(SRCDIR)Imakefile imakeflags -s Makefile.new @@\ - $(MAKE) -f Makefile.new noop @@\ - -@if [ -f Makefile ]; then \ @@\ - echo "$(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \ @@\ - $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \ @@\ - fi @@\ - $(MV) Makefile.new Makefile @@\ - @@\ -noop:: @@\ - /* do nothing */ - - -#endif /* BuildMakefileTarget */ - - -/* - * MakefileTarget - generate rules to build a normal Makefile. - */ -#ifndef MakefileTarget -#define MakefileTarget() @@\ -BuildMakefileTarget(Imakefile,NullParameter) -#endif /* MakefileTarget */ - - -/* - * LibMkdir - helper for creating library object subdirectories - */ -#ifndef LibMkdir -#define LibMkdir(dir) DirFailPrefix@if [ -d dir ]; then exit 0; else set -x; mkdir dir; fi -#endif - -/* - * LibCleanDir - helper for cleaning library object subdirectories - */ -#ifndef LibCleanDir -#define LibCleanDir(dir) -@if [ -d dir ]; then \ @@\ - (set -x; cd dir; $(RM) *.o); else exit 0; fi -#endif - -/* - * ObjectCompile - compile fragment for a normal object file - */ -#ifndef ObjectCompile -#define ObjectCompile(options) $(RM) $@ @@\ - $(CC) -c $(CFLAGS) options $*.c -#endif - -/* - * NormalLibObjCompile - compile fragment for a normal library object file - */ -#ifndef NormalLibObjCompile -#define NormalLibObjCompile(options) ObjectCompile(options) -#endif - -/* - * NormalSharedLibObjCompile - compile fragment for shared object when - * a normal library is not being built - */ -#ifndef NormalSharedLibObjCompile -#define NormalSharedLibObjCompile(options) NormalLibObjCompile(options $(SHLIBDEF) $(SHAREDCODEDEF) $(PICFLAGS)) -#endif - -/* - * LibObjCompile - compile fragment for shared/profiled/debugged objects - */ -#ifndef LibObjCompile -#define LibObjCompile(dir,options) $(RM) $@ dir/$@ @@\ - $(CC) -c $(CCOPTIONS) $(ALLDEFINES) options $*.c @@\ - $(MV) $@ dir/$@ -#endif - -/* - * DebuggedLibObjCompile - compile fragment for debugged objects - */ -#ifndef DebuggedLibObjCompile -#define DebuggedLibObjCompile(options) LibObjCompile(debugger,-g options) -#endif - -/* - * ProfiledLibObjCompile - compile fragment for profiled objects - */ -#ifndef ProfiledLibObjCompile -#define ProfiledLibObjCompile(options) LibObjCompile(profiled,-pg options) -#endif - -/* - * SharedLibObjCompile - compile fragment for shared objects - */ -#ifndef SharedLibObjCompile -#define SharedLibObjCompile(options) LibObjCompile(shared,options $(SHLIBDEF) $(SHAREDCODEDEF) $(PICFLAGS) $(CDEBUGFLAGS)) -#endif - -/* - * NormalLibraryObjectRule - for simple libraries - */ -#ifndef NormalLibraryObjectRule -#define NormalLibraryObjectRule() @@\ -.c.o: @@\ - ObjectCompile($(_NOOP_)) -#endif /* NormalLibraryObjectRule */ - - -#ifndef NormalFortranObjectRule -#define NormalFortranObjectRule() @@\ -.f.o: @@\ - $(RM) $@ @@\ - $(FC) -c $(FCFLAGS) $*.f -#endif - -#ifndef ObjectFromSpecialSource -#define ObjectFromSpecialSource(dst,src,flags) @@\ -dst.c: src.c @@\ - $(RM) $@ @@\ - $(LN) $? $@ @@\ - @@\ -dst.o: dst.c @@\ - ObjectCompile(flags) @@\ - @@\ -depend:: dst.c @@\ - @@\ -clean:: @@\ - $(RM) dst.c -#endif /* ObjectFromSpecialSource */ - -/* - * SpecialObjectRule - generate rules to compile a file with special flags. - */ -#ifndef SpecialObjectRule -#define SpecialObjectRule(objs,depends,options) @@\ -objs: depends @@\ - ObjectCompile(options) -#endif /* SpecialObjectRule */ - - -/* - * NormalLibraryTarget - generate rules to create a library. - */ -#ifndef NormalLibraryTarget -#define NormalLibraryTarget(libname,objlist) @@\ -AllTarget(Concat(lib,libname.a)) @@\ - @@\ -Concat(lib,libname.a): objlist @@\ - $(RM) $@ @@\ - $(AR) $@ objlist @@\ - RanLibrary($@) -#endif /* NormalLibraryTarget */ - - -/* - * NormalLibraryTarget2 - generate rules to create a library in two steps. - * This is used to create libraries with large numbers of files. - */ -#ifndef NormalLibraryTarget2 -#define NormalLibraryTarget2(libname,objlist1,objlist2) @@\ -AllTarget(Concat(lib,libname.a)) @@\ - @@\ -Concat(lib,libname.a): objlist1 objlist2 @@\ - $(RM) $@ @@\ - $(AR) $@ objlist1 @@\ - $(AR) $@ objlist2 @@\ - RanLibrary($@) -#endif /* NormalLibraryTarget2 */ - - -/* - * NormalLibraryTarget3 - generate rules to create a library in three steps. - * This is used to create libraries with very large numbers of files. - */ -#ifndef NormalLibraryTarget3 -#define NormalLibraryTarget3(libname,objlist1,objlist2,objlist3) @@\ -AllTarget(Concat(lib,libname.a)) @@\ - @@\ -Concat(lib,libname.a): objlist1 objlist2 objlist3 @@\ - $(RM) $@ @@\ - $(AR) $@ objlist1 @@\ - $(AR) $@ objlist2 @@\ - $(AR) $@ objlist3 @@\ - RanLibrary($@) -#endif /* NormalLibraryTarget3 */ - - -/* - * NormalDepLibraryTarget - generate rules to create a library. - */ -#ifndef NormalDepLibraryTarget -#define NormalDepLibraryTarget(libname,deplist,objlist) @@\ -AllTarget(Concat(lib,libname.a)) @@\ - @@\ -Concat(lib,libname.a): deplist @@\ - $(RM) $@ @@\ - $(AR) $@ objlist @@\ - RanLibrary($@) -#endif /* NormalDepLibraryTarget */ - - -/* - * SubdirLibraryRule - - */ -#ifndef SubdirLibraryRule -#define SubdirLibraryRule(objlist) @@\ -all:: DONE @@\ - @@\ -DONE: objlist @@\ - echo objlist > $@ @@\ - @@\ -clean:: @@\ - $(RM) DONE -#endif /* SubdirLibraryRule */ - - -/* - * ProfiledLibraryTarget - generate rules to create a profiled library. - */ -#ifndef ProfiledLibraryTarget -#define ProfiledLibraryTarget(libname,objlist) @@\ -AllTarget(Concat3(lib,libname,_p.a)) @@\ - @@\ -Concat3(lib,libname,_p.a): objlist @@\ - $(RM) $@ @@\ - cd profiled; $(AR) ../$@ objlist @@\ - RanLibrary($@) - -#endif /* ProfiledLibraryTarget */ - - -/* - * DebuggedLibraryTarget - generate rules to create a debuggable library. - */ -#ifndef DebuggedLibraryTarget -#define DebuggedLibraryTarget(libname,objlist) @@\ -AllTarget(Concat3(lib,libname,_d.a)) @@\ - @@\ -Concat3(lib,libname,_d.a): objlist @@\ - $(RM) $@ @@\ - cd debugger; $(AR) ../$@ objlist @@\ - RanLibrary($@) - -#endif /* DebuggedLibraryTarget */ - - -/* - * AliasedLibraryTarget - generate rules to link one library to another. - */ -#ifndef AliasedLibraryTarget -#define AliasedLibraryTarget(libname,alias) @@\ -AllTarget(Concat(lib,alias.a)) @@\ - @@\ -Concat(lib,alias.a): Concat(lib,libname.a) @@\ - $(RM) $@ @@\ - $(LN) Concat(lib,libname.a) $@ -#endif /* AliasedLibraryTarget */ - - -/* - * NormalRelocatableTarget - generate rules to produce a relocatable object - * file instead of a library. - */ -#ifndef NormalRelocatableTarget -#define NormalRelocatableTarget(objname,objlist) @@\ -AllTarget(objname.o) @@\ - @@\ -objname.o: objlist @@\ - $(RM) $@ @@\ - $(LD) $(LDCOMBINEFLAGS) objlist -o $@ -#endif /* NormalRelocatableTarget */ - - -/* - * ProfiledRelocatableTarget - generate rules to produce a profiled relocatable - * object file instead of a library. - */ -#ifndef ProfiledRelocatableTarget -#define ProfiledRelocatableTarget(objname,objlist) @@\ -AllTarget(Concat(objname,_p.o)) @@\ - @@\ -Concat(objname,_p.o): objlist @@\ - $(RM) $@ @@\ - $(LD) -X -r objlist -o $@ - -#endif /* ProfiledRelocatableTarget */ - - -/* - * DebuggedRelocatableTarget - generate rules to produce a debuggable - * relocatable object file instead of a library. - */ -#ifndef DebuggedRelocatableTarget -#define DebuggedRelocatableTarget(objname,objlist) @@\ -AllTarget(Concat(objname,_d.o)) @@\ - @@\ -Concat(objname,_d.o): objlist @@\ - $(RM) $@ @@\ - $(LD) -X -r objlist -o $@ - -#endif /* DebuggedRelocatableTarget */ - - -/* - * LintLibraryTarget - generate rules to create a lint library. Note that the - * lint library is always forced to be newer than the library itself. - */ -#ifndef LintLibraryTarget -#define LintLibraryTarget(libname,srclist) @@\ -lintlib:: Concat(llib-l,libname.ln) @@\ - @@\ -Concat(llib-l,libname.ln): srclist @@\ - $(RM) $@ @@\ - $(LINT) Concat($(LINTLIBFLAG),libname) $(LINTFLAGS) srclist -#endif /* LintLibraryTarget */ - - -/* - * NormalLintTarget - generate rules to lint a set of sources. - */ -#ifndef NormalLintTarget -#define NormalLintTarget(srclist) @@\ -lint: @@\ - $(LINT) $(LINTFLAGS) srclist $(LINTLIBS) @@\ -lint1: @@\ - $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS) -#endif /* NormalLintTarget */ - - -/* - * LintTarget - generate rules to lint $(SRCS) - */ -#ifndef LintTarget -#define LintTarget() @@\ -NormalLintTarget($(SRCS)) -#endif - - -/* - * LinkSourceFile - snag source file from some other directory - */ -#ifndef LinkSourceFile -#define LinkSourceFile(src,dir) @@\ -src: dir/src @@\ - $(RM) $@ @@\ - $(LN) $? $@ @@\ - -#endif - - -/* - * LinkFile - link a file - */ -#ifndef LinkFile -#define LinkFile(tofile,fromfile) @@\ -tofile:: fromfile @@\ - $(RM) $@ @@\ - $(LN) $? $@ -#endif - - -#ifndef MakeSubincludesForBuild -#define MakeSubincludesForBuild(step,dir,srclist) @@\ -step:: dir srclist @@\ - @-(list=`echo srclist | sed -e 's/[^ ]*\///g'`; \ @@\ - set -x; cd dir; $(RM) $$list) @@\ - @for i in srclist; do \ @@\ - (set -x; cd dir; $(LN) ../$$i .); \ @@\ - done @@\ - @@\ -dir:: @@\ - $(MKDIRHIER) dir @@\ - @@\ -clean:: @@\ - @-(if [ -d dir ]; then \ @@\ - list=`echo srclist | sed -e 's/[^ ]*\///g'`; \ @@\ - set -x; cd dir; $(RM) $$list; else exit 0; fi) -#endif - - -/* - * NamedTargetSubdirs - recursively make a series of steps - */ -#ifndef NamedTargetSubdirs -#define NamedTargetSubdirs(name,dirs,verb,flags,subname) @@\ -name:: @@\ - @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ @@\ - for i in dirs ;\ @@\ - do \ @@\ - (cd $$i ; echo verb "in $(CURRENT_DIR)/$$i..."; \ @@\ - $(MAKE) $(MFLAGS) flags subname); \ @@\ - done -#endif - - -/* - * NamedMakeSubdirs - generate rules to do makes in the given subdirectories. - * If you want CDEBUGFLAGS passed along to subdirectories, provide a line like - * the following in the appropriate Imakefile - * - * #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' - */ -#ifndef NamedMakeSubdirs -#define NamedMakeSubdirs(name,dirs) \ -NamedTargetSubdirs(name,dirs,"making" name,PassCDebugFlags,all) -#endif /* NamedMakeSubdirs */ - -#ifndef MakeSubdirs -#define MakeSubdirs(dirs) @@\ -NamedMakeSubdirs(all,dirs) -#endif /* MakeSubdirs */ - - -/* - * DependSubdirs - generate rules to recursively compute dependencies as - * part of the make depend step. - */ -#ifndef DependSubdirs -#define DependSubdirs(dirs) \ -NamedTargetSubdirs(depend,dirs,"depending",NullParameter,depend) -#endif /* DependSubdirs */ - - -/* - * ForceSubdirs - force make to build subdirectories - */ -#ifndef ForceSubdirs -#define ForceSubdirs(dirs) @@\ -dirs: FRC @@\ - @cd $@ ; echo "making all in $(CURRENT_DIR)/$@..."; \ @@\ - $(MAKE) $(MFLAGS) PassCDebugFlags all @@\ - @@\ -FRC: -#endif /* ForceSubdirs */ - -/* - * InstallSubdirs - generate rules to recursively install programs and files. - */ -#ifndef InstallSubdirs -#define InstallSubdirs(dirs) \ -NamedTargetSubdirs(install,dirs,"installing",DESTDIR='$(DESTDIR)',install) -#endif /* InstallSubdirs */ - - -/* - * InstallManSubdirs - generate rules to recursively install manual pages. - */ -#ifndef InstallManSubdirs -#define InstallManSubdirs(dirs) \ -NamedTargetSubdirs(install.man,dirs,"installing man pages",DESTDIR='$(DESTDIR)',install.man) -#endif /* InstallManSubdirs */ - - -/* - * IncludesSubdirs - generate rules to recursively put include files in build - */ -#ifndef IncludesSubdirs -#define IncludesSubdirs(dirs) \ -NamedTargetSubdirs(includes,dirs,including,NullParameter,includes) -#endif - - -/* - * CleanSubdirs - generate rules to recursively clean out garbage files. - */ -#ifndef NamedCleanSubdirs -#define NamedCleanSubdirs(name,dirs) \ -NamedTargetSubdirs(name,dirs,"cleaning",RM_CMD='$(RM_CMD)',clean) -#endif /* NamedCleanSubdirs */ - -#ifndef CleanSubdirs -#define CleanSubdirs(dirs) \ -NamedCleanSubdirs(clean,dirs) -#endif - - -/* - * TagSubdirs - generate rules to recursively create tags files. - */ -#ifndef NamedTagSubdirs -#define NamedTagSubdirs(name,dirs) \ -NamedTargetSubdirs(name,dirs,"tagging",TAGS='$(TAGS)',tags) -#endif /* TagSubdirs */ - -#ifndef TagSubdirs -#define TagSubdirs(dirs) \ -NamedTagSubdirs(tags,dirs) -#endif - -/* - * MakeLintSubdirs - generate rules to recursively lint directories as part - * of the named step. - */ -#ifndef MakeLintSubdirs -#define MakeLintSubdirs(dirs,target,subtarget) \ -NamedTargetSubdirs(target,dirs,"linting" for target and subtarget,DESTDIR='$(DESTDIR)' LINTOPTS='$(LINTOPTS)',subtarget) -#endif /* MakeLintSubdirs */ - - -/* - * LintSubdirs - generate rules to recursively lint directories as part of - * the make lint step. - */ -#ifndef LintSubdirs -#define LintSubdirs(dirs) @@\ -MakeLintSubdirs(dirs,lint,lint) -#endif /* LintSubdirs */ - - -/* - * MakeLintLibSubdirs - generate rules to recursively create lint libraries. - */ -#ifndef MakeLintLibSubdirs -#define MakeLintLibSubdirs(dirs) @@\ -MakeLintSubdirs(dirs,lintlib,lintlib) -#endif /* MakeLintLibSubdirs */ - - -/* - * MakeMakeSubdirs - generate rules to recursively recreate Makefiles as part - * of the specified step in the build. If $(TOP) is set to an absolute path, - * do not prepend the ../ prefix. This makes running things outside of the - * source tree to be much easier. - */ -#ifndef MakeMakeSubdirs -#define MakeMakeSubdirs(dirs,target) @@\ -target:: @@\ - @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ @@\ - for i in dirs ;\ @@\ - do \ @@\ - echo "making Makefiles in $(CURRENT_DIR)/$$i..."; \ @@\ - case "$$i" in \ @@\ - ./?*/?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \ @@\ - ./?*/?*/?*) newtop=../../../ sub=subsubsub;; \ @@\ - ./?*/?*) newtop=../../ sub=subsub;; \ @@\ - ./?*) newtop=../ sub=sub;; \ @@\ - */?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \ @@\ - */?*/?*) newtop=../../../ sub=subsubsub;; \ @@\ - */?*) newtop=../../ sub=subsub;; \ @@\ - *) newtop=../ sub=sub;; \ @@\ - esac; \ @@\ - case "$(TOP)" in \ @@\ - /?*) newtop= upprefix= ;; \ @@\ - *) upprefix=../ ;; \ @@\ - esac; \ @@\ - $(MAKE) $${sub}dirMakefiles UPPREFIX=$$upprefix NEWTOP=$$newtop \ @@\ - MAKEFILE_SUBDIR=$$i NEW_CURRENT_DIR=$(CURRENT_DIR)/$$i;\ @@\ - done -#endif /* MakeMakeSubdirs */ - - -/* - * MakeNsubdirMakefiles - generate rules to create sub Makefiles. - */ -#ifndef MakeNsubdirMakefiles -#define MakeNsubdirMakefiles() @@\ -subdirMakefiles: @@\ - $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak @@\ - -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then set -x; \ @@\ - $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ @@\ - else exit 0; fi @@\ - cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ @@\ - $(MAKE) $(MFLAGS) Makefiles @@\ - @@\ -subsubdirMakefiles: @@\ - $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak @@\ - -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then set -x; \ @@\ - $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ @@\ - else exit 0; fi @@\ - cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ @@\ - $(MAKE) $(MFLAGS) Makefiles @@\ - @@\ -subsubsubdirMakefiles: @@\ - $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak @@\ - -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then set -x; \ @@\ - $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ @@\ - else exit 0; fi @@\ - cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ @@\ - $(MAKE) $(MFLAGS) Makefiles @@\ - @@\ -subsubsubsubdirMakefiles: @@\ - $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak @@\ - -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then set -x; \ @@\ - $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ @@\ - else exit 0; fi @@\ - cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ @@\ - $(MAKE) $(MFLAGS) Makefiles -#endif /* MakeNsubdirMakefiles */ - - -/* - * MakefileSubdirs - generate rules to create Makefiles. - */ -#ifndef MakefileSubdirs -#define MakefileSubdirs(dirs) @@\ -MakeMakeSubdirs(dirs,Makefiles) @@\ - @@\ -MakeNsubdirMakefiles() -#endif /* MakefileSubdirs */ - -/* - * Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM - * to cpp, because that trick does not work on all ANSI C preprocessors. - * Also delete line numbers from the cpp output (-P is not portable, I guess). - */ -#ifndef CppSedMagic -#define CppSedMagic sed -e '/^# *[0-9][0-9]* *.*$$/d' \ - -e '/^XCOMM$$/s//#/' \ - -e '/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' -#endif /* CppSedMagic */ - -/* - * CppScriptTarget - generate rules to create a shell script by running the - * input through cpp. If the ExecableScripts configuration parameter is not - * set, then make sure that the first line begins with a colon. - */ -#ifndef CppScriptTarget -#if ExecableScripts /* can use #! instead of colon */ -#define CppScriptTarget(dst,src,defs,deplist) @@\ -dst:: src deplist @@\ - $(RM) $@ @@\ - CppSedMagic $@ @@\ - chmod a+x $@ -#else -#define CppScriptTarget(dst,src,defs,deplist) @@\ -dst:: src deplist @@\ - $(RM) $@ @@\ - echo \: >$@ @@\ - sed '1d' src | $(CPP) defs | CppSedMagic >>$@ @@\ - chmod a+x $@ -#endif /* ExecableScripts */ -#endif /* CppScriptTarget */ - - -/* - * MakeScriptFromCpp - generate rules to create a script from a file with a - * .cpp suffix. - */ -#ifndef MakeScriptFromCpp -#define MakeScriptFromCpp(name,defs) @@\ -CppScriptTarget(name,name.cpp,defs,NullParameter) -#endif /* MakeScriptFromCpp */ - -#ifndef CppFileTarget -#define CppFileTarget(dst,src,defs,deplist) @@\ -dst:: src deplist @@\ - $(RM) $@ @@\ - $(CPP) defs $@ -#endif /* CppFileTarget */ - -/* - * MakeDirectories - generate rules to create a hierarchy of directories. - */ -#ifndef MakeDirectories -#define MakeDirectories(step,dirs) @@\ -step:: @@\ - @case '${MFLAGS}' in *[i]*) set +e;; esac; @@\ - DirFailPrefix@for i in dirs; do if [ -d $(DESTDIR)$$i ]; then \ @@\ - set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i); fi \ @@\ - done -#endif /* MakeDirectories */ - - -/* - * MakeFontsDir - generate rules to build fonts.dir database. - */ -#ifndef MakeFontsDir -#define MakeFontsDir(deplist) @@\ -all:: fonts.dir @@\ - @@\ -fonts.dir: deplist @@\ - $(MKFONTDIR) . @@\ - @@\ -clean:: @@\ - $(RM) fonts.dir -#endif /* MakeFontsDir */ - - -/* - * MakeFonts - generate rules to build font database. - */ -#ifndef MakeFonts -#define MakeFonts() @@\ -all:: $(OBJS) @@\ - @@\ -MakeFontsDir($(OBJS)) @@\ - @@\ -clean:: @@\ - $(RM) *.snf *.snf.Z *.pcf *.pcf.Z -#endif /* MakeFonts */ - - -/* - * InstallFontObjs - generate rules to install font files - */ -#ifndef InstallFontObjs -#define InstallFontObjs(objs,dest) @@\ -InstallMultipleFlags(objs,dest,$(INSTDATFLAGS)) @@\ - @@\ -install:: fonts.dir @@\ - MakeDir($(DESTDIR)dest) @@\ - $(INSTALL) -c $(INSTDATFLAGS) fonts.dir $(DESTDIR)dest -#endif /* InstallFontObjs */ - - -/* - * InstallFonts - generate rules to install font files - */ -#ifndef InstallFonts -#define InstallFonts(dest) @@\ -InstallFontObjs($(OBJS),dest) -#endif /* InstallFonts */ - - -/* - * InstallFontAliases - generate rules to install font aliases databases. - */ -#ifndef InstallFontAliases -#define InstallFontAliases(dest) @@\ -install:: fonts.alias @@\ - MakeDir($(DESTDIR)dest) @@\ - $(INSTALL) -c $(INSTDATFLAGS) fonts.alias $(DESTDIR)dest -#endif /* InstallFontAliases */ - -#ifndef FontSrc -#define FontSrc(basename) basename.bdf -#endif - -#ifndef FontBaseObj -#ifdef SnfFonts -#define FontBaseObj(basename)basename.snf -#else -#define FontBaseObj(basename)basename.pcf -#endif -#endif - -/* - * InstallFontScale - generate rules to install font scale database. - */ -#ifndef InstallFontScale -#define InstallFontScale(dest) @@\ -install:: fonts.scale @@\ - MakeDir($(DESTDIR)dest) @@\ - $(INSTALL) -c $(INSTDATFLAGS) fonts.scale $(DESTDIR)dest -#endif /* InstallFontScale */ - -/* - * UncompressedFontTarget - */ -#ifndef UncompressedFontTarget -#ifdef SnfFonts -#define UncompressedFontTarget(basename) @@\ -FontBaseObj(basename): FontSrc(basename) @@\ - $(FONTC) $(FONTCFLAGS) $? >$@ -#else -#define UncompressedFontTarget(basename) @@\ -FontBaseObj(basename): FontSrc(basename) @@\ - $(FONTC) $(FONTCFLAGS) $? -o $@ -#endif -#endif /* CompressedFontTarget */ - -/* - * CompressedFontTarget - */ -#ifndef CompressedFontTarget -#define CompressedFontTarget(basename) @@\ -FontBaseObj(basename).Z: FontSrc(basename) @@\ - $(FONTC) $(FONTCFLAGS) $? | $(COMPRESS) > $@ -#endif /* CompressedFontTarget */ - -#ifdef CompressAllFonts -#define FontTarget(basename) CompressedFontTarget(basename) -#define FontObj(basename) FontBaseObj(basename).Z -#else -#define FontTarget(basename) UncompressedFontTarget(basename) -#define FontObj(basename) FontBaseObj(basename) -#endif /* CompressAllFonts */ - -/* - * AllTarget - generate rules to build necessary things during make all. - */ -#ifndef AllTarget -#define AllTarget(depends) @@\ -all:: depends -#endif /* AllTarget */ - -#ifdef DefineOldLibraryRules -#include -#endif diff --git a/src/config/Imake.rules.foo b/src/config/Imake.rules.foo deleted file mode 100644 index dbea023ab..000000000 --- a/src/config/Imake.rules.foo +++ /dev/null @@ -1,272 +0,0 @@ -*************** -*** 1,119 **** -! /**/# $Source$ -! /**/# $Author$ -! /**/# $Id$ -! /**/# -! -! /**/########################################################################### -! /**/# Imake rules for building libraries, programs, scripts, and data files -! /**/# rules: $XConsortium: Imake.rules,v 1.67 89/12/18 17:14:15 jim Exp $ - - /* - * MACHINE-INDEPENDENT RULES; DO NOT MODIFY - * -! * Warning, when defining rules: make sure you don't include both a trailing - * backslash and double ampersand backslash or else you will get an extra - * backslash in the Makefile. - * -! * These macros are defined for the various templates and Imakefiles (for a -! * list of the applicable make variables, see the template files): - * -! * SaberProgramTarget (program,srclist,objlist,locallibs,syslibs) -! * RemoveTargetProgram (program) -! * BuildIncludes (srclist,dstdir) -! * NormalProgramTarget (program,objects,deplibs,locallibs,syslibs) -! * SimpleProgramTarget (program) -! * ComplexProgramTarget (program) -! * ComplexProgramTarget_1 (program,locallib,syslib) -! * ComplexProgramTarget_2 (program,locallib,syslib) -! * ComplexProgramTarget_3 (program,locallib,syslib) -! * ServerTarget (server,subdirs,objects,libs,syslibs) -! * InstallLibrary (libname,dest) -! * InstallSharedLibrary (libname,rev,dest) -! * InstallLibraryAlias (libname,alias,dest) -! * InstallLintLibrary (libname,dest) -! * InstallManPageLong (file,destdir,dest) -! * InstallManPage (file,dest) -! * InstallNonExec (file,dest) -! * InstallProgram (program,dest) -! * InstallProgramWithFlags (program,dest,flags) -! * InstallScript (program,dest) -! * LinkFileList (step,list,dir,sub) -! * InstallMultipleDestFlags (step,list,dest,flags) -! * InstallMultipleDest (step,list,dest) -! * InstallMultiple (list,dest) -! * InstallMultipleFlags (list,dest,flags) -! * InstallMultipleMan (list,dest) -! * InstallAppDefaults (class) -! * DependDependency () -! * DependTarget () -! * CleanTarget () -! * TagsTarget () -! * ImakeDependency (target) -! * BuildMakefileTarget (imakefile,imakeflags) -! * MakefileTarget () -! * NormalLibraryObjectRule () -! * ProfiledLibraryObjectRule () -! * DebuggedLibraryObjectRule () -! * DebuggedAndProfiledLibraryObjectRule () -! * SharedLibraryObjectRule () -! * SharedAndDebuggedLibraryObjectRule () -! * SpecialObjectRule (objs,depends,options) -! * SpecialProfiledObjectRule (objs,depends,options) -! * SpecialDebuggedObjectRule (objs,depends,options) -! * SpecialDebuggedAndProfiledObjectRule (objs,depends,options) -! * NormalLibraryTarget (libname,objlist) -! * NormalSharedLibraryTarget (libname,rev,solist,salist) -! * NormalLibraryTarget2 (libname,objlist1,objlist2) -! * ProfiledLibraryTarget (libname,objlist) -! * DebuggedLibraryTarget (libname,objlist) -! * AliasedLibraryTarget (libname,alias) -! * NormalRelocatableTarget (objname,objlist) -! * ProfiledRelocatableTarget (objname,objlist) -! * DebuggedRelocatableTarget (objname,objlist) -! * LintLibraryTarget (libname,srclist) -! * NormalLintTarget (srclist) -! * LintTarget () -! * MakeSubincludesForBuild (step,dir,srclist) -! * NamedTargetSubdirs (name,dirs,verb,flags,subname) -! * MakeSubdirs (dirs) -! * NamedMakeSubdirs (name,dirs) -! * DependSubdirs (dirs) -! * InstallSubdirs (dirs) -! * InstallManSubdirs (dirs) -! * NamedIncludesSubdirs (name,dirs) -! * IncludesSubdirs (dirs) -! * NamedCleanSubdirs (name,dirs) -! * CleanSubdirs (dirs) -! * NamedTagSubdirs (name,dirs) -! * TagSubdirs (dirs) -! * MakeLintSubdirs (dirs,target,subtarget) -! * LintSubdirs (dirs) -! * MakeLintLibSubdirs (dirs) -! * MakeMakeSubdirs (dirs,target) -! * MakeNsubdirMakefiles () -! * MakefileSubdirs (dirs) -! * CppScriptTarget (dst,src,defs,deplist) -! * MakeScriptFromCpp (name,defs) -! * MakeDirectories (step,dirs) -! * MakeFonts () -! * InstallFonts (dest) -! * InstallFontAliases (dest) -! * FontTarget (basename) -! * CompressedFontTarget (basename) -! * AllTarget (depends) -! * DoRanlib (flags,files) -! * -! * -! * The general linking for building programs is: - * -! * program-objects programlibs syslibs EXTRA_LIBRARIES systemlibs \ -! * EXTRA_LOAD_FLAGS - * -! * where programlibs is LOCAL_LIBRARIES for ComplexProgramTarget -! * and EXTRA comes with syslibs from the LDLIBS - */ - - - - /* - * SaberProgramTarget - generate rules to make Saber-C read in sources and ---- 1,150 ---- -! XCOMM ------------------------------------------------------------------------- -! XCOMM Imake rules for building libraries, programs, scripts, and data files -! XCOMM rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $ - - /* - * MACHINE-INDEPENDENT RULES; DO NOT MODIFY - * -! * Warning, when defining rules: make sure you do not include both a trailing - * backslash and double ampersand backslash or else you will get an extra - * backslash in the Makefile. - * -! * The following macros are defined for the various templates and Imakefiles -! * (for a list of the applicable make variables, see the template files): - * -! * SaberProgramTarget (program,srclist,objlist,locallibs,syslibs) -! * RemoveTargetProgram (program) -! * MakeDir (dir) -! * BuildIncludes (srclist,dstsubdir,dstupdir) -! * NormalProgramTarget (program,objects,deplibs,locallibs,syslibs) -! * SetUIDProgramTarget (program,objects,deplibs,locallibs,syslibs) -! * SingleProgramTarget (program,objects,locallibs,syslibs) -! * SimpleProgramTarget (program) -! * ComplexProgramTarget (program) -! * ComplexProgramTarget_1 (program,locallib,syslib) -! * ComplexProgramTarget_2 (program,locallib,syslib) -! * ComplexProgramTarget_3 (program,locallib,syslib) -! * ServerTarget (server,subdirs,objects,libs,syslibs) -! * RanLibrary (args) -! * InstallLibrary (libname,dest) -! * MergeIntoInstalledLibrary (tolib,fromlib) -! * InstallLibraryAlias (libname,alias,dest) -! * InstallLintLibrary (libname,dest) -! * InstallManPageLong (file,destdir,dest) -! * InstallManPage (file,destdir) -! * InstallManPageAliases (file,destdir,aliases) -! * InstallNamedNonExec (srcname,dstname,dest) -! * InstallNonExecFile (file,dest) -! * InstallNonExec (file,dest) -! * InstallProgramWithFlags (program,dest,flags) -! * InstallProgram (program,dest) -! * InstallScript (program,dest) -! * InstallNamedProg (srcname,dstname,dest) -! * LinkFileList (step,list,dir,sub) -! * InstallMultipleDestFlags (step,list,dest,flags) -! * InstallMultipleDest (step,list,dest) -! * InstallMultiple (list,dest) -! * InstallMultipleFlags (list,dest,flags) -! * InstallMultipleMan (list,dest) -! * InstallAppDefaults (class) -! * InstallAppDefaultsLong (file,class) -! * DependDependency () -! * DependTarget () -! * DependTarget3 (srcs1,srcs2,srcs3) -! * CleanTarget () -! * TagsTarget () -! * ImakeDependency (target) -! * BuildMakefileTarget (notused,imakeflags) -! * MakefileTarget () -! * LibMkdir (dir) -! * LibCleanDir (dir) -! * ObjectCompile (options) -! * NormalLibObjCompile (options) -! * NormalSharedLibObjCompile (options) -! * LibObjCompile (dir,options) -! * DebuggedLibObjCompile (options) -! * ProfiledLibObjCompile (options) -! * SharedLibObjCompile (options) -! * NormalLibraryObjectRule () -! * NormalFortranObjectRule () -! * ObjectFromSpecialSource (dst,src,flags) -! * SpecialObjectRule (objs,depends,options) -! * NormalLibraryTarget (libname,objlist) -! * NormalLibraryTarget2 (libname,objlist1,objlist2) -! * NormalLibraryTarget3 (libname,objlist1,objlist2,objlist3) -! * NormalDepLibraryTarget (libname,deplist,objlist) -! * SubdirLibraryRule (objlist) -! * ProfiledLibraryTarget (libname,objlist) -! * DebuggedLibraryTarget (libname,objlist) -! * AliasedLibraryTarget (libname,alias) -! * NormalRelocatableTarget (objname,objlist) -! * ProfiledRelocatableTarget (objname,objlist) -! * DebuggedRelocatableTarget (objname,objlist) -! * LintLibraryTarget (libname,srclist) -! * NormalLintTarget (srclist) -! * LintTarget () -! * LinkSourceFile (src,dir) -! * LinkFile (tofile,fromfile) -! * MakeSubincludesForBuild (step,dir,srclist) -! * NamedTargetSubdirs (name,dirs,verb,flags,subname) -! * NamedMakeSubdirs (name,dirs) -! * MakeSubdirs (dirs) -! * DependSubdirs (dirs) -! * ForceSubdirs (dirs) -! * InstallSubdirs (dirs) -! * InstallManSubdirs (dirs) -! * IncludesSubdirs (dirs) -! * NamedCleanSubdirs (name,dirs) -! * CleanSubdirs (dirs) -! * NamedTagSubdirs (name,dirs) -! * TagSubdirs (dirs) -! * MakeLintSubdirs (dirs,target,subtarget) -! * LintSubdirs (dirs) -! * MakeLintLibSubdirs (dirs) -! * MakeMakeSubdirs (dirs,target) -! * MakeNsubdirMakefiles () -! * MakefileSubdirs (dirs) -! * CppScriptTarget (dst,src,defs,deplist) -! * MakeScriptFromCpp (name,defs) -! * CppFileTarget (dst,src,defs,deplist) -! * MakeDirectories (step,dirs) -! * MakeFontsDir (deplist) -! * MakeFonts () -! * InstallFontObjs (objs,dest) -! * InstallFonts (dest) -! * InstallFontAliases (dest) -! * FontSrc (basename) -! * FontBaseObj (basename) -! * InstallFontScale (dest) -! * UncompressedFontTarget (basename) -! * UncompressedFontTarget (basename) -! * CompressedFontTarget (basename) -! * FontTarget (basename) -! * FontObj (basename) -! * AllTarget (depends) -! * -! * -! * The following are in Imake.tmpl: -! * -! * Concat (a,b) -! * Concat3 (a,b,c) - * -! * -! * The following are in specific Lib.rules: - * -! * SharedLibraryTarget (libname,rev,solist,down,up) -! * SharedLibraryDataTarget (libname,rev,salist) -! * InstallSharedLibrary (libname,rev,dest) -! * InstallSharedLibraryData (libname,rev,dest) -! * - */ - -+ #define NullParameter - -+ /* if [ -d ] or [ ! -d ] causes make to fail, define this as - */ -+ #ifndef DirFailPrefix -+ #define DirFailPrefix -+ #endif - - /* - * SaberProgramTarget - generate rules to make Saber-C read in sources and diff --git a/src/config/Imake.tmpl b/src/config/Imake.tmpl deleted file mode 100644 index 0e2ef5709..000000000 --- a/src/config/Imake.tmpl +++ /dev/null @@ -1,971 +0,0 @@ -/* - * generic imake template - */ - -#ifndef XCOMM -#define XCOMM # -#endif -XCOMM ------------------------------------------------------------------------- -XCOMM Makefile generated from IMAKE_TEMPLATE and INCLUDE_IMAKEFILE -XCOMM $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $ -XCOMM -XCOMM Platform-specific parameters may be set in the appropriate .cf -XCOMM configuration files. Site-specific parameters should be set in the file -XCOMM site.def. Full rebuilds are recommended if any parameters are changed. -XCOMM -XCOMM If your C preprocessor does not define any unique symbols, you will need -XCOMM to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing -XCOMM "make World" the first time). -XCOMM - -#define YES 1 -#define NO 0 - - -/* - * To add support for another platform: - * - * 1. Identify a machine-specific cpp symbol. If your preprocessor - * does not have any built in, you will need to add the symbol to the - * cpp_argv table in config/imakemdep.h and rebuild imake with the - * BOOTSTRAPCFLAGS variable set (see the macII for an example). - * - * 2. Add all machine-specific cpp symbols (either defined by you or by - * the preprocessor or compiler) to the predefs table in - * config/imakemdep.h. - * - * 3. But a new #ifdef block below that defines MacroIncludeFile and - * MacroFile for your new platform and then #undefs the machine- - * specific preprocessor symbols (to avoid problems with file names). - * - * 4. Create a .cf file with the name given by MacroFile. - */ - -#ifdef ultrix -#define MacroIncludeFile -#define MacroFile ultrix.cf -#ifdef vax -#undef vax -#define VaxArchitecture -#endif -#ifdef mips -#undef mips -#define MipsArchitecture -#endif -#undef ultrix -#define UltrixArchitecture -#endif - -#if defined(vax) && !defined(UltrixArchitecture) -#define MacroIncludeFile -#define MacroFile vaxbsd.cf -#undef vax -#define VaxArchitecture -#endif - -#ifdef sun -#define MacroIncludeFile -#define MacroFile sun.cf -#undef sun -#define SunArchitecture -#endif /* sun */ - -#ifdef hpux -#define MacroIncludeFile -#define MacroFile hp.cf -#undef hpux -#define HPArchitecture -#endif /* hpux */ - -#ifdef att -#define MacroIncludeFile -#define MacroFile att.cf -#undef att -#define ATTArchitecture -#endif /* att */ - -#ifdef apollo -#define MacroIncludeFile -#define MacroFile apollo.cf -#undef apollo -#define ApolloArchitecture -#endif /* apollo */ - -#ifdef sony -#define MacroIncludeFile -#define MacroFile sony.cf -#undef sony -#undef sony_news -#define SonyArchitecture -#ifdef mc68020 -#undef mc68020 -#undef mc68030 -#define Mc68020Architecture -#endif -#ifdef mips -#undef mips -#define MipsArchitecture -#endif -#if !defined(bsd43) || defined(SYSTYPE_SYSV) -#define SonySysvArchitecture -#else -#define SonyBsdArchitecture -#endif -#endif /* sony */ - -#ifdef M4310 -#define MacroIncludeFile -#define MacroFile pegasus.cf -#undef M4310 -#define PegasusArchitecture -#endif /* M4310 */ - -#ifdef M4330 -#define MacroIncludeFile -#define MacroFile m4330.cf -#undef M4330 -#define M4330Architecture -#endif /* M4330 */ - -#ifdef macII -/* A/UX cpp has no unique symbol: build imake with BOOTSTRAPCFLAGS=-DmacII */ -#define MacroIncludeFile -#define MacroFile macII.cf -#undef macII -#define MacIIArchitecture -#endif /* macII */ - -#ifdef CRAY -#define MacroIncludeFile -#define MacroFile cray.cf -#undef cray -#define CrayArchitecture -#endif /* CRAY */ - -#ifdef sgi -#define MacroIncludeFile -#define MacroFile sgi.cf -#undef sgi -#define SGIArchitecture -#undef mips -#define MipsArchitecture -#endif - -#ifdef stellar -#define MacroIncludeFile -#define MacroFile stellar.cf -#undef stellar -#define StellarArchitecture -#endif - -#ifdef linux -#define MacroIncludeFile -#define MacroFile linux.cf -#undef linux -#define LinuxArchitecture -#endif - -#if defined(ibm) || defined(_IBMR2) || defined(ibm032) || defined(aix) -#define MacroIncludeFile -#define MacroFile ibm.cf -#ifdef ibm -#undef ibm -#endif -#define IBMArchitecture -#ifdef i386 -#undef i386 -#define PS2Architecture -#endif -#ifdef ibm032 -#undef ibm032 -#define RtArchitecture -#endif -#ifdef aix -#undef aix -#define AIXArchitecture -#endif -#ifdef _IBMR2 -#undef _IBMR2 -#define RsArchitecture -#endif -#endif /* ibm */ - -#ifdef luna -#undef luna -#define MacroIncludeFile -#define MacroFile luna.cf -#ifdef mc68000 -#undef mc68000 -#define Mc68000Architecture -#else -#undef mc88000 -#define Mc88000Architecture -#endif -#endif - -#ifdef Mips -# define MacroIncludeFile "Mips.cf" -# define MacroFile Mips.cf -# undef Mips -# if defined(SYSTYPE_BSD43) || defined(BSD) || defined(BSD43) -# define MipsBsdArchitecture -# else /* BSD */ -# define MipsSysvArchitecture -# endif /* BSD */ -#endif /* Mips */ - -#ifdef MOTOROLA -# define MacroIncludeFile -# define MacroFile moto.cf -# undef MOTOROLA -# ifdef SYSV -# define MotoR3Architecture -# endif -# ifdef SVR4 -# define MotoR4Architecture -# endif -#endif /* MOTOROLA */ - -#ifdef SYSV386 -# define MacroIncludeFile -# define MacroFile x386.cf -# ifdef SVR4 -# define i386SVR4Architecture -# else -# define i386SVR3Architecture -# endif -#endif /* SYSV386 */ - -#ifdef DGUX -#define MacroIncludeFile -#define MacroFile DGUX.cf -#undef DGUX -#define DguxArchitecture -#endif - -#ifdef __convex__ -# define MacroIncludeFile -# define MacroFile convex.cf -# ifdef convex -# undef convex -# endif -# define ConvexArchitecture -#endif - -#ifdef NeXT -#define MacroIncludeFile -#define MacroFile next.cf -#undef NeXT -#define NeXTArchitecture -#endif - -#ifndef MacroIncludeFile -XCOMM WARNING: Imake.tmpl not configured; guessing at definitions!!! -XCOMM This might mean that BOOTSTRAPCFLAGS was not set when building imake. -#define MacroIncludeFile -#define MacroFile generic.cf -#endif - -/***************************************************************************** - * * - * DO NOT MODIFY BELOW THIS LINE * - * * - *****************************************************************************/ - - -XCOMM ------------------------------------------------------------------------- -XCOMM site-specific configuration parameters that need to come before -XCOMM the platform-specific parameters - edit site.def to change -#define BeforeVendorCF -#include -#undef BeforeVendorCF - -XCOMM ------------------------------------------------------------------------- -XCOMM platform-specific configuration parameters - edit MacroFile to change -#include MacroIncludeFile - -/* It is a kludge to put these two macros here, - * but Project.tmpl needs them and it is not clear there is a better place. - */ - -/* - * Concat - concatenates two strings. - */ -#ifndef Concat -#if __STDC__ && !defined(UnixCpp) && !defined(LinuxArchitecture) -#define ConcatX(a,b)a##b -#define Concat(a,b) ConcatX(a,b) -#else -#define Concat(a,b)a/**/b -#endif -#endif - -/* - * Concat3 - concatenates three strings. - */ -#ifndef Concat3 -#if __STDC__ && !defined(UnixCpp) -#define Concat3X(a,b,c)a##b##c -#define Concat3(a,b,c) Concat3X(a,b,c) -#else -#define Concat3(a,b,c)a/**/b/**/c -#endif -#endif - -/* - * Concat4 - concatenates four strings. - */ -#ifndef Concat4 -#if __STDC__ && !defined(UnixCpp) -#define Concat4X(a,b,c,d)a##b##c##d -#define Concat4(a,b,c,d) Concat4X(a,b,c,d) -#else -#define Concat4(a,b,c,d)a/**/b/**/c/**/d -#endif -#endif - -XCOMM ------------------------------------------------------------------------- -XCOMM site-specific configuration parameters that go after -XCOMM the platform-specific parameters - edit site.def to change -#define AfterVendorCF -#include -#undef AfterVendorCF - -/* - * defaults for various generic parameters; set in site.def if needed - */ - -#ifndef HasSharedLibraries -#define HasSharedLibraries NO -#endif -#ifndef SystemV -#define SystemV NO /* SYSV (R3) */ -#endif -#ifndef SystemV4 -#define SystemV4 NO /* SVR4 */ -#endif -#ifndef OSMajorVersion -#define OSMajorVersion 0 -#endif -#ifndef OSMinorVersion -#define OSMinorVersion 0 -#endif -#ifndef UnalignedReferencesAllowed -#define UnalignedReferencesAllowed NO /* if arbitrary deref is okay */ -#endif -#ifndef ExecableScripts -#if SystemV -#define ExecableScripts NO -#else -#define ExecableScripts YES /* kernel exec() can handle #! */ -#endif -#endif - -#ifndef BourneShell /* to force shell in makefile */ -#define BourneShell /bin/sh -#endif -#ifndef ConstructMFLAGS -#if SystemV -#define ConstructMFLAGS YES /* build MFLAGS from MAKEFLAGS */ -#else -#define ConstructMFLAGS NO /* build MFLAGS from MAKEFLAGS */ -#endif -#endif - -#ifndef HasLargeTmp -#define HasLargeTmp NO /* be paranoid */ -#endif -#ifndef HasSockets -#if SystemV || SystemV4 -#define HasSockets NO /* do not assume it has them */ -#else -#define HasSockets YES /* bsd does have them */ -#endif -#endif -#ifndef HasVFork -#if SystemV -#define HasVFork NO /* not yet... */ -#else -#define HasVFork YES -#endif -#endif -#ifndef HasPutenv -#define HasPutenv NO /* assume not */ -#endif -#ifndef HasVoidSignalReturn -#define HasVoidSignalReturn YES /* assume yes */ -#endif -#ifndef HasBsearch -#define HasBsearch YES /* assume yes */ -#endif -#ifndef HasSaberC -#define HasSaberC NO /* for people unclear on the concept */ -#endif -#ifndef HasFortran -#define HasFortran NO -#endif -#ifndef HasNdbm -#define HasNdbm NO -#endif -#ifndef HasSecureRPC -#define HasSecureRPC NO /* if you have Secure RPC */ -#endif -#ifndef HasShm -#if SystemV || SystemV4 -#define HasShm YES -#else -#define HasShm NO -#endif -#endif -#ifndef NeedConstPrototypes -#define NeedConstPrototypes NO -#endif -#ifndef NeedVarargsPrototypes -#define NeedVarargsPrototypes NO -#endif -#ifndef NeedNestedPrototypes -#define NeedNestedPrototypes NO -#endif -#ifndef NeedFunctionPrototypes -#define NeedFunctionPrototypes (NeedVarargsPrototypes || NeedNestedPrototypes) -#endif -#ifndef NeedWidePrototypes -#define NeedWidePrototypes YES /* mix and match ANSI-C, non-ANSI */ -#endif - -#ifndef StripInstalledPrograms -#define StripInstalledPrograms NO /* leave symbol table just in case */ -#endif - -#ifndef UsrLibDir -#ifdef ProjectRoot -#define UsrLibDir Concat(ProjectRoot,/lib) -#ifndef AlternateUsrLibDir -#define AlternateUsrLibDir YES -#endif -#else -#define UsrLibDir /usr/lib -#ifndef AlternateUsrLibDir -#define AlternateUsrLibDir NO -#endif -#endif -#else -#ifndef AlternateUsrLibDir -#define AlternateUsrLibDir YES -#endif -#endif -#ifndef IncRoot -#ifdef ProjectRoot -#define IncRoot Concat(ProjectRoot,/include) -#ifndef AlternateIncRoot -#define AlternateIncRoot YES -#endif -#else -#define IncRoot /usr/include -#ifndef AlternateIncRoot -#define AlternateIncRoot NO -#endif -#endif -#else -#ifndef AlternateIncRoot -#define AlternateIncRoot YES -#endif -#endif -#ifndef UNCOMPRESSPATH -#define UNCOMPRESSPATH /usr/ucb/uncompress -#endif -#ifndef OptimizedCDebugFlags -#define OptimizedCDebugFlags -O -#endif -#ifndef DebuggableCDebugFlags -#define DebuggableCDebugFlags -g -#endif -#ifndef NoOpCDebugFlags -#define NoOpCDebugFlags /* as nothing */ -#endif -#ifndef DefaultCDebugFlags -#define DefaultCDebugFlags OptimizedCDebugFlags -#endif -#ifndef DefaultCCOptions -#define DefaultCCOptions /* as nothing: this is for floating point, etc. */ -#endif -#ifndef InstPgmFlags -#define InstPgmFlags -s -#endif -#ifndef InstBinFlags -#define InstBinFlags -m 0755 -#endif -#ifndef InstUidFlags -#define InstUidFlags -m 4755 -#endif -#ifndef InstLibFlags -#define InstLibFlags -m 0644 -#endif -#ifndef InstIncFlags -#define InstIncFlags -m 0444 -#endif -#ifndef InstManFlags -#define InstManFlags -m 0444 -#endif -#ifndef InstDatFlags -#define InstDatFlags -m 0444 -#endif -#ifndef InstKmemFlags -#define InstKmemFlags InstUidFlags /* put -g kmem -m 2755 in site.def... */ -#endif -#ifndef ArCmd -#if HasLargeTmp | SystemV4 -#define ArCmd ar cq /* do nothing special */ -#else -#define ArCmd ar clq /* use local dir for temp files */ -#endif -#endif -#ifndef BootstrapCFlags -#define BootstrapCFlags /**/ -#endif -#ifndef HasGcc -#define HasGcc NO -#endif -#if DbmGccCompiled -#define GccStructFlags -#else -#define GccStructFlags -fpcc-struct-return -#endif -#ifndef CcCmd -#if HasGcc2 -#define CcCmd gcc GccStructFlags -#else -#if HasGcc -#define CcCmd gcc -fstrength-reduce GccStructFlags -#else -#define CcCmd cc -#endif -#endif -#endif -#if HasFortran -#ifndef FortranCmd -#define FortranCmd f77 -#endif -#ifndef FortranFlags -#define FortranFlags /**/ -#endif -#ifndef FortranDebugFlags -#define FortranDebugFlags /**/ /* for -O or -g */ -#endif -#endif -#ifndef AsCmd -#define AsCmd as -#endif -#ifndef CompressCmd -#define CompressCmd compress -#endif -#ifndef CppCmd -#define CppCmd /lib/cpp -#endif -#ifndef PreProcessCmd -#define PreProcessCmd CcCmd -E -#endif -#ifndef InstallCmd -#if SystemV | SystemV4 -#ifdef UseInstalled -#define InstallCmd $(BINDIR)/bsdinst /* hack should be in project */ -#else -#define InstallCmd $(SCRIPTSRC)/bsdinst.sh /* hack should be in project */ -#endif -#else -#define InstallCmd install -#endif -#endif -#ifndef LdCmd -#define LdCmd ld -#endif -#ifndef LintCmd -#define LintCmd lint -#endif -#ifndef LintLibFlag -#if SystemV || SystemV4 -#define LintLibFlag -o -#else -#define LintLibFlag -C -#endif -#endif -#ifndef LintOpts -#if SystemV || SystemV4 -#define LintOpts -ax -#else -#define LintOpts -axz -#endif -#endif -#ifndef CpCmd -#define CpCmd cp -#endif -#ifndef LnCmd -#if SystemV -#define LnCmd ln /* or even cp */ -#else -#define LnCmd ln -sf -#endif -#endif -#ifndef MakeCmd -#define MakeCmd make -#endif -#ifndef MvCmd -#define MvCmd mv -#endif -#ifndef DoRanlibCmd -#if SystemV || SystemV4 -#define DoRanlibCmd 0 -#else -#define DoRanlibCmd 1 -#endif -#endif -#ifndef RanlibCmd -#define RanlibCmd ranlib -#endif -#ifndef RanlibInstFlags -#define RanlibInstFlags /**/ -#endif -#ifndef RmCmd -#define RmCmd rm -f -#endif -#ifndef AwkCmd -#define AwkCmd awk -#endif -#ifndef StandardIncludes -#define StandardIncludes /**/ /* for platform-specifics */ -#endif -#ifndef StandardDefines -#if SystemV -#define StandardDefines -DSYSV -#else -#if SystemV4 -#define StandardDefines -DSVR4 -#else -#define StandardDefines /**/ -#endif -#endif -#endif -#ifndef StandardCppDefines -#define StandardCppDefines StandardDefines -#endif -#ifndef Malloc0ReturnsNull -#define Malloc0ReturnsNull NO -#endif -#ifndef NdbmDefines -#if HasNdbm -#define NdbmDefines -DNDBM -#else -#define NdbmDefines /**/ -#endif -#endif -#ifndef ExtraLibraries -#if SystemV4 -#if HasSockets -#define ExtraLibraries -lsocket -lnsl -#else -#define ExtraLibraries -lnsl -#endif -#else -#define ExtraLibraries /**/ -#endif -#endif -#ifndef ExtraLoadFlags -#define ExtraLoadFlags /**/ -#endif -#ifndef Osuf -#define Osuf o -#endif -#ifndef LdCombineFlags -#if SystemV4 -#define LdCombineFlags -r -#else -#define LdCombineFlags -X -r -#endif -#endif -#ifndef TagsCmd -#define TagsCmd ctags -#endif -#ifndef LoaderLibPrefix -#define LoaderLibPrefix /**/ /* cray does -l libX11.a */ -#endif -#ifndef DependFlags -#define DependFlags /**/ -#endif -#ifndef TroffCmd -#define TroffCmd psroff -#endif -#ifndef MsMacros -#define MsMacros -ms -#endif -#ifndef TblCmd -#define TblCmd tbl -#endif -#ifndef EqnCmd -#define EqnCmd eqn -#endif -#ifndef ExpandManNames -#if SystemV -#define ExpandManNames NO -#else -#define ExpandManNames YES -#endif -#endif -#ifndef TOPDIR -#define TOPDIR . -#endif -#ifndef CURDIR -#define CURDIR . -#endif -#ifndef ExtraFilesToClean -#define ExtraFilesToClean /**/ -#endif -#ifndef FilesToClean -#define FilesToClean *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut -#endif -#ifndef STDCTopIncludes -#define STDCTopIncludes /**/ -#endif - -#ifdef SourceTop - SRCDIR = Concat4(SourceTop,/,CURDIR,/) -#ifdef Use_VPATH - VPATH = Concat3(SourceTop,/,CURDIR) -#endif - SRCTOP = SourceTop - SRCINCLUDE = Concat4(-I,$(SRCTOP),/,CURDIR) -#endif - SHELL = BourneShell - - TOP = TOPDIR - CURRENT_DIR = CURDIR - - AR = ArCmd - BOOTSTRAPCFLAGS = BootstrapCFlags /* set if cpp does not have uniq sym */ - CC = CcCmd - AS = AsCmd -#if HasFortran - FC = FortranCmd - FDEBUGFLAGS = FortranDebugFlags - FCFLAGS = FortranFlags $(FDEBUGFLAGS) -#endif - COMPRESS = CompressCmd - CPP = CppCmd $(STD_CPP_DEFINES) /* simple filters */ - PREPROCESSCMD = PreProcessCmd $(STD_CPP_DEFINES) /* prefered; mdep */ - INSTALL = InstallCmd - LD = LdCmd - LINT = LintCmd - LINTLIBFLAG = LintLibFlag - LINTOPTS = LintOpts - LN = LnCmd -#ifdef LdLibLocations - LDLOCATIONS = LdLibLocations -#endif - MAKE = MakeCmd - MV = MvCmd - CP = CpCmd - AWK = AwkCmd -#if DoRanlibCmd - RANLIB = RanlibCmd - RANLIBINSTFLAGS = RanlibInstFlags -#endif - RM = RmCmd - TROFF = TroffCmd - MSMACROS = MsMacros - TBL = TblCmd - EQN = EqnCmd - STD_INCLUDES = StandardIncludes - STD_CPP_DEFINES = StandardCppDefines - STD_DEFINES = StandardDefines - SABER_DEFINES = SaberDefines - EXTRA_LOAD_FLAGS = ExtraLoadFlags - EXTRA_LIBRARIES = ExtraLibraries - TAGS = TagsCmd - ETAGS = EtagsCmd -STDC_TOP_INCLUDES = STDCTopIncludes - -#if ConstructMFLAGS - MFLAGS = -$(MAKEFLAGS) -#endif -#if HasSharedLibraries - SHAREDCODEDEF = SharedCodeDef - SHLIBDEF = SharedLibraryDef -#endif -#if !HasVoidSignalReturn - SIGNAL_DEFINES = -DSIGNALRETURNSINT -#endif -/* - * The following supports forcing of function prototypes - */ -#if NeedFunctionPrototypes && NeedVarargsPrototypes && NeedConstPrototypes && NeedNestedPrototypes -#define _funcprotodef -DFUNCPROTO=15 -#else -#if NeedFunctionPrototypes && NeedVarargsPrototypes && NeedNestedPrototypes -#define _funcprotodef -DFUNCPROTO=11 -#else -#if NeedFunctionPrototypes && NeedNestedPrototypes -#define _funcprotodef -DFUNCPROTO=9 -#else -#if NeedFunctionPrototypes && NeedVarargsPrototypes && NeedConstPrototypes -#define _funcprotodef -DFUNCPROTO=7 -#else -#if NeedFunctionPrototypes && NeedConstPrototypes -#define _funcprotodef -DFUNCPROTO=5 -#else -#if NeedFunctionPrototypes && NeedVarargsPrototypes -#define _funcprotodef -DFUNCPROTO=3 -#else -#if NeedFunctionPrototypes -#define _funcprotodef -DFUNCPROTO -#else -#define _funcprotodef /**/ -#endif -#endif -#endif -#endif -#endif -#endif -#endif -#if NeedWidePrototypes -#define _wideprotodef /**/ -#else -#define _wideprotodef -DNARROWPROTO -#endif - PROTO_DEFINES = _funcprotodef _wideprotodef -#undef _funcprotodef -#undef _wideprotodef - -#if StripInstalledPrograms - INSTPGMFLAGS = InstPgmFlags /* install flags for stripping */ -#else - INSTPGMFLAGS = -#endif - INSTBINFLAGS = InstBinFlags /* install flags for programs */ - INSTUIDFLAGS = InstUidFlags /* install flags for setuid programs */ - INSTLIBFLAGS = InstLibFlags /* install flags for libraries */ - INSTINCFLAGS = InstIncFlags /* install flags for headers */ - INSTMANFLAGS = InstManFlags /* install flags for man pages */ - INSTDATFLAGS = InstDatFlags /* install flags for data files */ - INSTKMEMFLAGS = InstKmemFlags /* install flags for /dev/kmem progs */ - -#ifdef ProjectRoot - PROJECTROOT = ProjectRoot -#endif -#ifdef UseInstalled -#if AlternateIncRoot - TOP_INCLUDES = -I$(INCROOT) /* def: for alternative /usr/include */ -#endif -#else - TOP_INCLUDES = -I$(TOP) /* def: for builds within tree */ -#endif - CDEBUGFLAGS = DefaultCDebugFlags - CCOPTIONS = DefaultCCOptions /* to distinguish from param flags */ -/* - * STD_INCLUDES contains system-specific includes - * TOP_INCLUDES specifies how to get to /usr/include or its build substitute - * EXTRA_INCLUDES contains project-specific includes set in project incfiles - * INCLUDES contains client-specific includes set in Imakefile - * LOCAL_LDFLAGS contains client-specific ld flags flags set in Imakefile - */ - ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES) - ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES) - CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) - LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) -#if AlternateUsrLibDir && !defined(UseInstalled) - LDLIBS = -L$(USRLIBDIR) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) -#else - LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) -#endif -#if AlternateUsrLibDir && defined(UseInstalled) - LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) \ - $(LDLOCATIONS) -L$(USRLIBDIR) -#else - LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) $(LDLOCATIONS) -#endif - LDCOMBINEFLAGS = LdCombineFlags - DEPENDFLAGS = DependFlags - - MACROFILE = MacroFile - RM_CMD = $(RM) FilesToClean ExtraFilesToClean - - IMAKE_DEFINES = /* leave blank, for command line use only */ -#ifdef UseImakeInstalled - IRULESRC = $(CONFIGSRC) /* used in rules file */ - IMAKE_CMD = $(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES) -#else - IRULESRC = $(CONFIGSRC) - IMAKE_CMD = $(NEWTOP)$(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES) -#endif - ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \ - $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \ - $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES) - -/* - * get project-specific configuration and rules - */ - -#include - -#include - -XCOMM ------------------------------------------------------------------------- -XCOMM start of Imakefile -#include INCLUDE_IMAKEFILE - -XCOMM ------------------------------------------------------------------------- -XCOMM common rules for all Makefiles - do not edit -/* - * These need to be here so that rules in Imakefile occur first; the blank - * all is to make sure that an empty Imakefile does not default to make clean. - */ -emptyrule:: - -CleanTarget() - -#ifndef IHaveSpecialMakefileTarget -MakefileTarget() -#endif - -TagsTarget() -#ifdef MakefileAdditions -MakefileAdditions() -#endif - -#if HasSaberC -saber: - XCOMM load $(ALLDEFINES) $(SRCS) - -osaber: - XCOMM load $(ALLDEFINES) $(OBJS) -#endif - - -#ifdef IHaveSubdirs -XCOMM ------------------------------------------------------------------------- -XCOMM rules for building in SUBDIRS - do not edit - -InstallSubdirs($(SUBDIRS)) -InstallManSubdirs($(SUBDIRS)) -CleanSubdirs($(SUBDIRS)) -TagSubdirs($(SUBDIRS)) -MakefileSubdirs($(SUBDIRS)) -IncludesSubdirs($(SUBDIRS)) -DependSubdirs($(SUBDIRS)) - -#else -XCOMM ------------------------------------------------------------------------- -XCOMM empty rules for directories that do not have SUBDIRS - do not edit - -install:: - @echo "install in $(CURRENT_DIR) done" - -install.man:: - @echo "install.man in $(CURRENT_DIR) done" - -Makefiles:: - -includes:: - -#endif /* if subdirectory rules are needed */ - -XCOMM ------------------------------------------------------------------------- -XCOMM dependencies generated by makedepend diff --git a/src/config/Imake.tmpl-xcomp b/src/config/Imake.tmpl-xcomp deleted file mode 100644 index 807bb1c19..000000000 --- a/src/config/Imake.tmpl-xcomp +++ /dev/null @@ -1,625 +0,0 @@ -/* - * generic imake template - */ - -/**/# $Source$ -/**/# $Author$ -/**/# $Id$ -/**/# - -/**/########################################################################### -/**/# Makefile generated from IMAKE_TEMPLATE and INCLUDE_IMAKEFILE -/**/# $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $ -/**/# -/**/# Platform-specific parameters may be set in the appropriate .cf -/**/# configuration files. Site-wide parameters may be set in the file -/**/# site.def. Full rebuilds are recommended if any parameters are changed. -/**/# -/**/# If your C preprocessor doesn't define any unique symbols, you'll need -/**/# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing -/**/# "make Makefile", "make Makefiles", or "make World"). -/**/# -/**/# If you absolutely can't get imake to work, you'll need to set the -/**/# variables at the top of each Makefile as well as the dependencies at the -/**/# bottom (makedepend will do this automatically). -/**/# - - -#define YES 1 -#define NO 0 - - -/* - * To add support for another platform: - * - * 1. Identify a machine-specific cpp symbol. If your preprocessor - * doesn't have any built in, you'll need to add the symbol to the - * cpp_argv table in config/imake.c and rebuild imake with the - * BOOTSTRAPCFLAGS variable set (see the macII for an example). - * - * [ignore this for now...no makedepend with Kerberos V5 (yet...)] - * 2. Add all machine-specific cpp symbols (either defined by you or by - * the preprocessor or compiler) to the predefs table in - * config/makedepend/main.c. - * - * 3. But a new #ifdef block below that defines MacroIncludeFile and - * MacroFile for your new platform and then #undefs the machine- - * specific preprocessor symbols (to avoid problems with file names). - * - * 4. Create a .cf file with the name given by MacroFile. See - * existing .cf files for examples of what to put there. - */ - -#define MacroIncludeFile -#define MacroFile vaxbsd.cf -#undef vax -#define VaxArchitecture - - -#ifndef MacroIncludeFile -/**/# WARNING: Imake.tmpl not configured; guessing at definitions!!! -/**/# This might mean that BOOTSTRAPCFLAGS wasn't set when building imake. -#define MacroIncludeFile -#define MacroFile generic.cf -#endif - -/***************************************************************************** - * * - * DO NOT MODIFY BELOW THIS LINE * - * * - *****************************************************************************/ - - -/**/########################################################################### -/**/# platform-specific configuration parameters - edit MacroFile to change -#include MacroIncludeFile - -/**/########################################################################### -/**/# site-specific configuration parameters - edit site.def to change -#include - -/* - * defaults for various generic parameters; set in site.def if needed - */ - -#ifndef SystemV -#ifdef SYSV -#define SystemV YES /* need system 5 style */ -#else -#define SystemV NO /* bsd */ -#endif -#endif -#ifndef OSMajorVersion -#define OSMajorVersion 0 -#endif -#ifndef OSMinorVersion -#define OSMinorVersion 0 -#endif -#ifndef UnalignedReferencesAllowed -#define UnalignedReferencesAllowed NO /* if arbitrary deref is okay */ -#endif -#ifndef ExecableScripts -#ifdef SYSV -#define ExecableScripts NO -#else -#define ExecableScripts YES /* kernel exec() can handle #! */ -#endif -#endif - -#ifndef BourneShell /* to force shell in makefile */ -#define BourneShell /bin/sh -#endif -#ifndef ConstructMFLAGS -#if SystemV -#define ConstructMFLAGS YES /* build MFLAGS from MAKEFLAGS */ -#else -#define ConstructMFLAGS NO /* build MFLAGS from MAKEFLAGS */ -#endif -#endif - -#ifndef HasLargeTmp -#define HasLargeTmp NO /* be paranoid */ -#endif -#ifndef HasSockets -#if SystemV -#define HasSockets NO /* not yet... */ -#else -#define HasSockets YES /* bsd does have them */ -#endif -#endif -#ifndef HasVFork -#if SystemV -#define HasVFork NO /* not yet... */ -#else -#define HasVFork YES -#endif -#endif -#ifndef HasPutenv -#define HasPutenv NO /* assume not */ -#endif -#ifndef HasVoidSignalReturn -#if SystemV -#define HasVoidSignalReturn YES -#else -#define HasVoidSignalReturn NO /* may or may not be true */ -#endif -#endif -#ifndef HasBsearch -#if SystemV -#define HasBsearch YES -#else -#define HasBsearch NO /* stupid systems */ -#endif -#endif -#ifndef HasSaberC -#define HasSaberC NO /* for people unclear on the concept */ -#endif -#ifndef HasFortran -#define HasFortran NO -#endif -#ifndef HasNdbm -#define HasNdbm NO -#endif -#ifndef HasDESLibrary -#define HasDESLibrary NO /* if you have any DES library */ -#endif -#ifndef NeedFunctionPrototypes -#define NeedFunctionPrototypes NO -#endif -#ifndef NeedWidePrototypes -#define NeedWidePrototypes YES /* mix and match ANSI-C, non-ANSI */ -#endif - -#ifndef HasSunOSSharedLibraries -#define HasSunOSSharedLibraries NO -#endif - -#ifndef SharedCodeDef -#if HasSunOSSharedLibraries -#define SharedCodeDef -DSHAREDCODE -#else -#define SharedCodeDef /**/ -#endif -#endif -#ifndef SharedLibraryDef -#if HasSunOSSharedLibraries -#define SharedLibraryDef -DSUNSHLIB /* eventually will be SVR4SHLIB... */ -#ifndef HasSharedLibraries -#define HasSharedLibraries YES -#endif -#else -#define SharedLibraryDef /**/ -#ifndef HasSharedLibraries -#define HasSharedLibraries NO -#endif -#endif -#else -#ifndef HasSharedLibraries -#define HasSharedLibraries NO -#endif -#endif - -#ifndef StripInstalledPrograms -#define StripInstalledPrograms NO /* leave symbol table just in case */ -#endif - -#ifndef DestDir -#define DestDir /* as nothing */ -#endif -#ifndef UsrLibDir /* if changed under SunOS with shared */ -#define UsrLibDir $(DESTDIR)/usr/lib /* libs, then need to run ldconfig */ -#endif /* as root */ -#ifndef IncRoot -#define IncRoot $(DESTDIR)/usr/include -#endif -#ifndef UNCOMPRESSPATH -#define UNCOMPRESSPATH /usr/ucb/uncompress -#endif -#ifndef OptimizedCDebugFlags -#define OptimizedCDebugFlags -O -#endif -#ifndef DebuggableCDebugFlags -#define DebuggableCDebugFlags -g -#endif -#ifndef NoOpCDebugFlags -#define NoOpCDebugFlags /* as nothing */ -#endif -#ifndef DefaultCDebugFlags -#define DefaultCDebugFlags OptimizedCDebugFlags -#endif -#ifndef LibraryCDebugFlags -#define LibraryCDebugFlags OptimizedCDebugFlags -#endif -#ifndef DefaultCCOptions -#define DefaultCCOptions /* as nothing: this is for floating point, etc. */ -#endif -#ifndef LibraryCCOptions -#define LibraryCCOptions DefaultCCOptions -#endif -#ifndef ServerCCOptions -#define ServerCCOptions DefaultCCOptions -#endif -#ifndef PexCDebugFlags -#define PexCDebugFlags -g -#endif -#ifndef InstPgmFlags -#define InstPgmFlags -#endif -#ifndef InstScrFlags -#define InstScrFlags -#endif -#ifndef InstBinFlags -#define InstBinFlags -m 0755 -#endif -#ifndef InstUidFlags -#define InstUidFlags -m 4755 -#endif -#ifndef InstLibFlags -#define InstLibFlags -m 0664 -#endif -#ifndef InstIncFlags -#define InstIncFlags -m 0444 -#endif -#ifndef InstManFlags -#define InstManFlags -m 0444 -#endif -#ifndef InstDatFlags -#define InstDatFlags -m 0444 -#endif -#ifndef InstKmemFlags -#define InstKmemFlags InstUidFlags /* put -g kmem -m 2755 in site.def... */ -#endif -#ifndef ArCmd -#if HasLargeTmp -#define ArCmd ar cq /* use /tmp for temp files */ -#else -#define ArCmd ar clq /* use local dir for temp files */ -#endif -#endif -#ifndef BootstrapCFlags -#define BootstrapCFlags /**/ -#endif -#ifndef CcCmd -#define CcCmd cc -#endif -#ifndef HasGcc -#define HasGcc NO -#endif -#ifndef ServerCcCmd -#define ServerCcCmd CcCmd -#endif -#ifndef LibraryCcCmd -#define LibraryCcCmd CcCmd -#endif -#if HasFortran -#ifndef FortranCmd /* for xgks */ -#define FortranCmd f77 -#endif -#ifndef FortranFlags -#define FortranFlags /**/ -#endif -#ifndef FortranDebugFlags -#define FortranDebugFlags /**/ /* for -O or -g */ -#endif -#endif -#ifndef AsCmd -#define AsCmd as -#endif -#ifndef CompressCmd -#define CompressCmd compress -#endif -#ifndef CppCmd -#define CppCmd /lib/cpp -#endif -#ifndef PreProcessCmd -#define PreProcessCmd CcCmd -E -#endif -#ifndef InstallCmd -#if SystemV -#define InstallCmd $(SCRIPTSRC)/bsdinst.sh /* hack should be in project */ -#else -#define InstallCmd install -#endif -#endif -#ifndef LdCmd -#define LdCmd ld -#endif -#ifndef LintCmd -#define LintCmd lint -#endif -#ifndef LintLibFlag -#if SystemV -#define LintLibFlag -o -#else -#define LintLibFlag -C -#endif -#endif -#ifndef LintOpts -#if SystemV -#define LintOpts -ax -#else -#define LintOpts -axz -#endif -#endif -#ifndef CpCmd -#define CpCmd cp -p -#endif -#ifndef LnCmd -#if SystemV -#define LnCmd ln /* or even cp */ -#else -#define LnCmd ln -s -#endif -#endif -#ifndef MakeCmd -#define MakeCmd make -#endif -#ifndef MvCmd -#define MvCmd mv -#endif -#if !defined(RanlibCmd) && !SystemV -#define RanlibCmd ranlib -#endif -#ifndef RanlibInstFlags -#define RanlibInstFlags /**/ -#endif -#ifndef RmCmd -#define RmCmd rm -f -#endif -#ifndef StandardCppDefines -#if SystemV -#define StandardCppDefines -DSYSV -#else -#define StandardCppDefines /**/ -#endif -#endif -#ifndef StandardIncludes -#define StandardIncludes /**/ /* for platform-specifics */ -#endif -#ifndef StandardDefines -#if SystemV -#define StandardDefines -DSYSV -#else -#define StandardDefines /**/ -#endif -#endif -#ifndef SaberDefines -#define SaberDefines /**/ -#endif -#ifndef NdbmDefines -#if HasNdbm -#define NdbmDefines -DNDBM -#else -#define NdbmDefines /**/ -#endif -#endif -#ifndef ExtraLibraries -#define ExtraLibraries /**/ -#endif -#ifndef ExtraLoadFlags -#define ExtraLoadFlags /**/ -#endif -#ifndef LdCombineFlags -#define LdCombineFlags -X -r -#endif -#ifndef LdLibLocations -#define LdLibLocations /**/ -#endif -#ifndef CompatibilityFlags -#define CompatibilityFlags /**/ -#endif -#ifndef TagsCmd -#define TagsCmd ctags -#endif -#ifndef EtagsCmd -#define EtagsCmd etags -#endif -#ifndef LoaderLibPrefix -#define LoaderLibPrefix /**/ /* cray does -l libX11.a */ -#endif -#ifndef TOPDIR -#define TOPDIR . -#endif -#ifndef CURDIR -#define CURDIR . -#endif -#ifndef FilesToClean -#define FilesToClean *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut -#endif -#ifndef STDCTopIncludes -#define STDCTopIncludes /**/ -#endif -#ifndef MakeDependFlags -#define MakeDependFlags /**/ -#endif - -#ifdef SourceTop - SRCDIR = SourceTop/CURDIR/ - VPATH = SourceTop/CURDIR - SRCTOP = SourceTop - SRCINCLUDE = -I/**/SourceTop/CURDIR -#endif - SHELL = BourneShell - - TOP = TOPDIR - CURRENT_DIR = CURDIR - - AR = ArCmd - BOOTSTRAPCFLAGS = BootstrapCFlags /* set if cpp doesn't have uniq sym */ - CC = CcCmd -#if HasFortran - FC = FortranCmd - FDEBUGFLAGS = FortranDebugFlags - FCFLAGS = FortranFlags $(FDEBUGFLAGS) -#endif - COMPRESS = CompressCmd - CPP = CppCmd $(STD_CPP_DEFINES) /* simple filters */ - PREPROCESSCMD = PreProcessCmd $(STD_CPP_DEFINES) /* prefered; mdep */ - INSTALL = InstallCmd - LD = LdCmd - LDLOCATIONS = LdLibLocations - LINT = LintCmd - LINTLIBFLAG = LintLibFlag - LINTOPTS = LintOpts - LN = LnCmd - MAKE = MakeCmd - MV = MvCmd - CP = CpCmd -#ifdef RanlibCmd - RANLIB = RanlibCmd -#else - RANLIB = \: -#endif - RANLIBINSTFLAGS = RanlibInstFlags - RM = RmCmd - STD_INCLUDES = StandardIncludes - STD_CPP_DEFINES = StandardCppDefines - STD_DEFINES = StandardDefines - SABER_DEFINES = SaberDefines - EXTRA_LOAD_FLAGS = ExtraLoadFlags - EXTRA_LIBRARIES = ExtraLibraries - TAGS = TagsCmd - ETAGS = EtagsCmd -STDC_TOP_INCLUDES = STDCTopIncludes - -#if ConstructMFLAGS - MFLAGS = -$(MAKEFLAGS) -#endif -#if HasSharedLibraries - SHAREDCODEDEF = SharedCodeDef - SHLIBDEF = SharedLibraryDef -#endif -#if !HasVoidSignalReturn - SIGNAL_DEFINES = -DSIGNALRETURNSINT -#endif -#if StripInstalledPrograms - INSTPGMFLAGS = InstPgmFlags -s /* install flags for stripping */ -#else - INSTPGMFLAGS = InstPgmFlags /* install flags without stripping */ -#endif - INSTSCRFLAGS = InstScrFlags /* install flags without stripping */ - INSTBINFLAGS = InstBinFlags /* install flags for programs */ - INSTUIDFLAGS = InstUidFlags /* install flags for setuid programs */ - INSTLIBFLAGS = InstLibFlags /* install flags for libraries */ - INSTINCFLAGS = InstIncFlags /* install flags for headers */ - INSTMANFLAGS = InstManFlags /* install flags for man pages */ - INSTDATFLAGS = InstDatFlags /* install flags for data files */ - INSTKMEMFLAGS = InstKmemFlags /* install flags for /dev/kmem progs */ - - DESTDIR = DestDir /* root of install */ -#ifdef UseInstalled - TOP_INCLUDES = -I$(INCROOT) /* def: for alternative /usr/include */ -#else - TOP_INCLUDES = -I$(TOP) /* def: for builds within tree */ -#endif - CDEBUGFLAGS = DefaultCDebugFlags - CCOPTIONS = DefaultCCOptions /* to distinguish from param flags */ - COMPATFLAGS = CompatibilityFlags -/* - * STD_INCLUDES contains system-specific includes - * TOP_INCLUDES specifies how to get to /usr/include or its build substitute - * EXTRA_INCLUDES contains project-specific includes set in project incfiles - * INCLUDES contains client-specific includes set in Imakefile - */ - ALLINCLUDES = $(INCLUDES) $(STD_INCLUDES) $(TOP_INCLUDES) $(EXTRA_INCLUDES) - ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS) - CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) - LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) - LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) - LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LDLOCATIONS) - LDCOMBINEFLAGS = LdCombineFlags - MDFLAGS = MakeDependFlags - - MACROFILE = MacroFile - RM_CMD = $(RM) FilesToClean - - IMAKE_DEFINES = /* leave blank, for command line use only */ -#ifdef UseInstalled - IRULESRC = $(CONFIGDIR) /* used in rules file */ - IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) -#else - IRULESRC = $(CONFIGSRC) -#ifdef UseImakeInstalled - IMAKE_CMD = $(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES) -#else - IMAKE_CMD = $(NEWTOP)$(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES) -#endif -#endif - ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \ - $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \ - $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES) - - -/* - * get project-specific configuration and rules - */ - -#include - - - -#include - -/**/########################################################################### -/**/# start of Imakefile -#include INCLUDE_IMAKEFILE - -/**/########################################################################### -/**/# common rules for all Makefiles - do not edit -/* - * These need to be here so that rules in Imakefile occur first; the blank - * all is to make sure that an empty Imakefile doesn't default to make clean. - */ -emptyrule:: - -CleanTarget() - -#ifndef IHaveSpecialMakefileTarget -MakefileTarget() -#endif - -TagsTarget() -#ifdef MakefileAdditions -MakefileAdditions() -#endif - -#if HasSaberC -saber: - /**/#load $(ALLDEFINES) $(SABER_DEFINES) $(SRCS) - /**/#setopt load_flags $(ALLDEFINES) $(SABER_DEFINES) - -osaber: - /**/#load $(ALLDEFINES) $(OBJS) -#endif - - -#ifdef IHaveSubdirs -/**/########################################################################### -/**/# rules for building in SUBDIRS - do not edit - -InstallSubdirs($(SUBDIRS)) -InstallManSubdirs($(SUBDIRS)) -CleanSubdirs($(SUBDIRS)) -TagSubdirs($(SUBDIRS)) -MakefileSubdirs($(SUBDIRS)) -IncludesSubdirs($(SUBDIRS)) -DependSubdirs($(SUBDIRS)) - -#else -/**/########################################################################### -/**/# empty rules for directories that do not have SUBDIRS - do not edit - -install:: - @echo "install in $(CURRENT_DIR) done" - -install.man:: - @echo "install.man in $(CURRENT_DIR) done" - -Makefiles:: - -includes:: - -#endif /* if subdirectory rules are needed */ - -/**/########################################################################### -/**/# dependencies generated by makedepend diff --git a/src/config/Imakefile b/src/config/Imakefile deleted file mode 100644 index 84f6dba85..000000000 --- a/src/config/Imakefile +++ /dev/null @@ -1,21 +0,0 @@ -/* - * $XConsortium: Imakefile,v 1.7 89/12/12 12:37:28 jim Exp $ - * - * This is used to recreate imake. Makefile.ini is used to generate imake - * the first time. - */ - -includes:: all ccimake - -DEFINES= `./ccimake` - -#undef ImakeDependency -#define ImakeDependency(dummy) @@\ -Makefile:: imake - -SimpleProgramTarget(imake) - -depend:: - -clean:: - $(RM) ccimake diff --git a/src/include/Imakefile b/src/include/Imakefile deleted file mode 100644 index 773c38223..000000000 --- a/src/include/Imakefile +++ /dev/null @@ -1,36 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS=krb5 kerberosIV - -MakeSubdirs($(SUBDIRS)) - -#ifdef IsodeIncls -includes:: isode - -LinkFile(isode, IsodeIncls) -#endif diff --git a/src/include/krb5/Imakefile b/src/include/krb5/Imakefile deleted file mode 100644 index 0e8620daa..000000000 --- a/src/include/krb5/Imakefile +++ /dev/null @@ -1,46 +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. -# -# - -KRB5_HEADERS = asn1.h base-defs.h ccache.h crc-32.h encryption.h \ - error_def.h errors.h ext-proto.h fieldbits.h \ - free.h func-proto.h hostaddr.h kdb.h kdb_dbm.h \ - keytab.h krb5.h libos.h los-proto.h macros.h mit-des.h \ - narrow.h proto.h rcache.h rsa-md4.h safepriv.h \ - sysincl.h widen.h wordsize.h - -AllTarget(config.h osconf.h) - -includes:: config.h osconf.h - -ProcessStockHeader($(SRCDIR)stock/config.h,config.h) -ProcessStockHeader($(SRCDIR)stock/osconf.h,osconf.h) - -clean:: - $(RM) config.h osconf.h - -depend:: - -Krb5InstallHeaders($(KRB5_HEADERS) config.h osconf.h,$(KRB5_INCDIR)/krb5) - diff --git a/src/kadmin/Imakefile b/src/kadmin/Imakefile deleted file mode 100644 index e2684a9e8..000000000 --- a/src/kadmin/Imakefile +++ /dev/null @@ -1,29 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS=server client kpasswd v4server -MakeSubdirs($(SUBDIRS)) diff --git a/src/lib/Imakefile b/src/lib/Imakefile deleted file mode 100644 index 24660fdb3..000000000 --- a/src/lib/Imakefile +++ /dev/null @@ -1,44 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS = krb5 kdb des425 krb425 crypto gssapi - -MakeSubdirs($(SUBDIRS)) - -all:: libkrb5.a libcrypto.a - - -LinkFile(libkrb5.a, krb5/libkrb5.a) -LinkFile(libcrypto.a, crypto/libcrypto.a) - -#if BuildGssapi -all:: libgssapi_krb5.a -LinkFile(libgssapi_krb5.a, gssapi/libgssapi_krb5.a) -#endif - -Krb5InstallLibrary(krb425,$(KRB5_LIBDIR)) -Krb5InstallLibrary(des425,$(KRB5_LIBDIR)) diff --git a/src/lib/crypto/Imakefile b/src/lib/crypto/Imakefile deleted file mode 100644 index c171d925e..000000000 --- a/src/lib/crypto/Imakefile +++ /dev/null @@ -1,51 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS = des crc32 md4 md5 os - -MakeSubdirs($(SUBDIRS)) - -NormalLibraryObjectRule() - -OBJS= cryptoconf.o -SRCS= cryptoconf.c - -libcrypto.a: des/DONE md4/DONE md5/DONE crc32/DONE os/DONE $(OBJS) - (cd des; $(ARADD) ../$@ `cat DONE`) - (cd crc32; $(ARADD) ../$@ `cat DONE`) - (cd md4; $(ARADD) ../$@ `cat DONE`) - (cd md5; $(ARADD) ../$@ `cat DONE`) - (cd os; $(ARADD) ../$@ `cat DONE`) - $(ARADD) $@ $(OBJS) - RanLibrary($@) - -all:: libcrypto.a - -Krb5InstallLibrary($(DESLIB),$(KRB5_LIBDIR)) - -clean:: - $(RM) libcrypto.a diff --git a/src/lib/crypto/des/Imakefile b/src/lib/crypto/des/Imakefile deleted file mode 100644 index c7303d89a..000000000 --- a/src/lib/crypto/des/Imakefile +++ /dev/null @@ -1,135 +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. -# -# -NormalLibraryObjectRule() - -OBJS= cksum.o \ - des.o \ - cbc_cksum.o \ - cs_entry.o \ - enc_dec.o \ - krb_glue.o \ - finish_key.o \ - fin_rndkey.o \ - init_rkey.o \ - process_ky.o \ - random_key.o \ - string2key.o \ - key_parity.o \ - key_sched.o \ - new_rn_key.o \ - weak_key.o - -SRCS= $(SRCDIR)cksum.c \ - $(SRCDIR)des.c \ - $(SRCDIR)cs_entry.c \ - $(SRCDIR)cbc_cksum.c \ - $(SRCDIR)enc_dec.c \ - $(SRCDIR)krb_glue.c \ - $(SRCDIR)finish_key.c \ - $(SRCDIR)fin_rndkey.c \ - $(SRCDIR)init_rkey.c \ - $(SRCDIR)process_ky.c \ - $(SRCDIR)random_key.c \ - $(SRCDIR)string2key.c \ - $(SRCDIR)key_parity.c \ - $(SRCDIR)key_sched.c \ - $(SRCDIR)new_rn_key.c \ - $(SRCDIR)weak_key.c - -DEFINES = $(DESDEFINES) - -INCLUDES = -I. - -VERIFYOBJ = verify.o - -DESTESTOBJ = destest.o - -includes:: - -all:: -includes:: key_perm.h odd.h p_table.h s_table.h -depend:: fp.c ip.c p.c -depend:: des.c $(SRCS) - -SubdirLibraryRule($(OBJS)) - -DependTarget() - -$(OBJS): fp.c ip.c key_perm.h odd.h p.c p_table.h s_table.h - -clean:: - $(RM) fp.c ip.c key_perm.h odd.h p.c p_table.h s_table.h - -EXT_LIB = $(TOP)/lib/krb5/error_tables/krb5_err.o \ - $(TOP)/lib/krb5/error_tables/isode_err.o \ - $(TOP)/lib/crypto/cryptoconf.o \ - $(TOP)/lib/crypto/crc-32/libcrc32.a \ - libdes.a $(OSLIB) $(COMERRLIB) - -NormalProgramTarget(verify,$(VERIFYOBJ),libdes.a,$(EXT_LIB),) - -NormalProgramTarget(destest,$(DESTESTOBJ),libdes.a,$(EXT_LIB),) - -NormalProgramTarget(make_e,make_e.o,misc.o,misc.o,) - -NormalProgramTarget(make_fp,make_fp.o,misc.o,misc.o,) - -fp.c: make_fp - ./make_fp fp.c - -NormalProgramTarget(make_ip,make_ip.o,misc.o,misc.o,) - -ip.c: make_ip - ./make_ip ip.c - -NormalProgramTarget(make_kp,make_kp.o,misc.o,misc.o,) - -key_perm.h: make_kp - ./make_kp key_perm.h - -NormalProgramTarget(make_odd,make_odd.o,misc.o,misc.o,) - -odd.h: make_odd - ./make_odd odd.h - -NormalProgramTarget(make_p,make_p.o,misc.o,misc.o,) - -p.c: make_p - ./make_p p.c - -NormalProgramTarget(make_pt,make_pt.o,misc.o,misc.o,) - -p_table.h: make_pt - ./make_pt p_table.h - -NormalProgramTarget(make_s,make_s.o,misc.o,misc.o,) - -NormalProgramTarget(make_st,make_st.o,misc.o,misc.o,) - -s_table.h: make_st - ./make_st s_table.h - -NormalLintTarget($(SRCS)) - diff --git a/src/lib/gssapi/Imakefile b/src/lib/gssapi/Imakefile deleted file mode 100644 index 78b4c14e6..000000000 --- a/src/lib/gssapi/Imakefile +++ /dev/null @@ -1,39 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS = generic krb5 - -MakeSubdirs($(SUBDIRS)) - -libgssapi_krb5.a: generic/DONE krb5/DONE - (cd generic; $(ARADD) ../$@ `cat DONE`) - (cd krb5; $(ARADD) ../$@ `cat DONE`) - RanLibrary($@) - -all:: libgssapi_krb5.a - -Krb5InstallLibrary(gssapi_krb5,$(KRB5_LIBDIR)) diff --git a/src/lib/krb5/Imakefile b/src/lib/krb5/Imakefile deleted file mode 100644 index 2f030bdbd..000000000 --- a/src/lib/krb5/Imakefile +++ /dev/null @@ -1,104 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS1 = error_tables -SUBDIRS2 = ccache keytab krb rcache free os posix -SUBDIRS = $(SUBDIRS1) asn.1 $(SUBDIRS2) - -MakeSubdirs($(SUBDIRS)) - -#ifdef UseSedHack - -/* Imake using System V derived cpp generates a bad Makefile. */ - -/* This target will make all Makefiles except asn.1/Makefile. */ -#undef MakefileSubdirs -#define MakefileSubdirs(dirs) @@\ -MakeMakeSubdirs($(SUBDIRS1) $(SUBDIRS2), Makefiles) @@\ - @@\ -MakeNsubdirMakefiles() - -#ifdef SourceTop - IMAKEARG = -f/**/SourceTop/CURDIR/asn.1/Imakefile -#endif - -Makefiles:: asn.1/Makefile - -asn.1/Makefile:: - @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ - case '${MFLAGS}' in *n*) executeit="no";; esac; \ - case $(TOP) in \ - /?*) imaketop=$(TOP) ; top=$(TOP) ;; \ - *) imaketop=../ ; top=../$(TOP) ;; \ - esac; \ - echo "making asn.1/Makefile..."; \ - i=asn.1 ; \ - cd $$i; \ - $(RM) Makefile.bak; \ - if [ -f Makefile ]; then \ - echo " $(MV) Makefile Makefile.bak"; \ - if [ "$$executeit" != "no" ]; then \ - $(MV) Makefile Makefile.bak; \ - fi; \ - fi; \ - if [ "$$executeit" != "no" ]; then \ - curdir=$(CURRENT_DIR)/; \ - $(IMAKE_CMD) -DTOPDIR=$$top -DCURDIR=CURDIR/$$i -f$(SRCSUBDIR)Imakefile -s Makefile.new; \ - sed 's/^@/ @/' Makefile.new > Makefile.newer && $(MV) Makefile.newer Makefile.new ; \ - $(MAKE) -f Makefile.new noop; \ - if [ -f Makefile ]; then \ - $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \ - fi ; \ - $(MV) Makefile.new Makefile; \ - $(RM) Makefile.new Makefile.newer; \ - fi - -#endif /* UseSedHack */ - -libkrb5.a: error_tables/DONE asn.1/DONE ccache/DONE ccache/stdio/DONE \ - ccache/file/DONE keytab/DONE keytab/file/DONE krb/DONE \ - rcache/DONE free/DONE os/DONE posix/DONE - (cd error_tables; $(ARADD) ../$@ `cat DONE`) - (cd asn.1; $(ARADD) ../$@ `cat DONE`) - (cd ccache; $(ARADD) ../$@ `cat DONE`) - (cd ccache/stdio; $(ARADD) ../../$@ `cat DONE`) - (cd ccache/file; $(ARADD) ../../$@ `cat DONE`) - (cd keytab; $(ARADD) ../$@ `cat DONE`) - (cd keytab/file; $(ARADD) ../../$@ `cat DONE`) - (cd krb; $(ARADD) ../$@ `cat DONE`) - (cd rcache; $(ARADD) ../$@ `cat DONE`) - (cd free; $(ARADD) ../$@ `cat DONE`) - (cd os; $(ARADD) ../$@ `cat DONE`) - (cd posix; $(ARADD) ../$@ `cat DONE`) - RanLibrary($@) - -all:: libkrb5.a - -Krb5InstallLibrary(krb5,$(KRB5_LIBDIR)) - -# SharedLibraryTarget(kdb5,-L$(KRB5_LIBDIR) -Lshared $(LDLOCATIONS) -lkrb5 -l$(DESLIB) $(ISODELIB) -lcom_err) -/* SharedLibraryTarget(des425,-L$(KRB5_LIBDIR) -Lshared $(LDLOCATIONS) -l$(DESLIB)) */ diff --git a/src/lib/krb5/ccache/Imakefile b/src/lib/krb5/ccache/Imakefile deleted file mode 100644 index 77b0a2d64..000000000 --- a/src/lib/krb5/ccache/Imakefile +++ /dev/null @@ -1,42 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - - SUBDIRS = file stdio - -MakeSubdirs($(SUBDIRS)) - -NormalLibraryObjectRule() - -OBJS= ccbase.o \ - ccdefault.o \ - ccdefops.o - -SRCS= $(SRCDIR)ccbase.c \ - $(SRCDIR)ccdefault.c \ - $(SRCDIR)ccdefops.c - -SubdirLibraryRule($(OBJS)) diff --git a/src/lib/krb5/keytab/Imakefile b/src/lib/krb5/keytab/Imakefile deleted file mode 100644 index 91793e0cd..000000000 --- a/src/lib/krb5/keytab/Imakefile +++ /dev/null @@ -1,51 +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. -# -# -#define IHaveSubdirs -#define PassCDebugFlags - - SUBDIRS = file - -MakeSubdirs($(SUBDIRS)) -NormalLibraryObjectRule() - -OBJS= \ - ktadd.o \ - ktbase.o \ - ktdefault.o \ - ktfr_entry.o \ - ktremove.o \ - read_servi.o - -SRCS= \ - $(SRCDIR)ktadd.c \ - $(SRCDIR)ktbase.c \ - $(SRCDIR)ktdefault.c \ - $(SRCDIR)ktfr_entry.c \ - $(SRCDIR)ktremove.c \ - $(SRCDIR)read_servi.c - -SubdirLibraryRule($(OBJS)) - -DependTarget()